github mirror github
github synced commits to development at github/amiga-clib2 from mirror 2023-09-11 16:11:43 +00:00
f5631d8bda The inner loop of the read operation already fills the buffer as far as it can go. No need to drop into "continue;".
github synced commits to development at github/amiga-clib2 from mirror 2023-09-10 15:41:44 +00:00
9a9ae7d6fd The SIGABRT handler can no longer invoke abort() recursively.
64ab8643b5 The size of a slab entry is now calculated inside a single local function, rather than calculated differently in different parts of stdlib_slab.c. This change made it easier to simplify the implementation.
f7fd63acb4 Indentation fix.
8bd7403ae3 The 'struct MemoryNode' is now so larger than the smallest usable allocation size is now 16 bytes.
5efacb1a2b Fix for unnecessary compiler warnings.
Compare 5 commits »
github synced commits to development at github/amiga-clib2 from mirror 2023-09-09 23:21:44 +00:00
7207c96a6f Made the slab allocator work with libunix.a again.
21bc996705 Fixed to make use of the aligned slab address when verifying that the slab node is present in the slab. The requested slab size is now properly rounded up to a power of 2 and will always be limited to a valid range.
438fd5bbd2 Fixed the MemoryNode padding, which was short of a 32 bit word.
101846e423 If the memory management system constructor fails, it now prints some diagnostic debug output.
Compare 4 commits »
github synced commits to development at github/amiga-clib2 from mirror 2023-09-09 15:11:45 +00:00
fba7f7da9b Small type corrections.
115099698a Added an assertion to verify that the first free chunk on the slab's list is really always available.
4f3d0c981c If the memory debug option is active, realloc() can no longer damage the trailing guard area.
Compare 3 commits »
github synced commits to development at github/amiga-clib2 from mirror 2023-09-08 14:41:45 +00:00
71708e84ce The memory debugging code now places the the damage detection areas which bracket the allocation area so that the originally requested allocation size is used, not the rounded-up size. Debug output in memory node checking no longer counts the non-breaking space character as unprintable.
3d70b18c23 Simplified how the slab allocator, the memory pool or AllocMem() are being used. Added robust integer overflow detection. Allocation sizes are now padded to a multiple of MEM_BLOCKSIZE. Repaired how the plain AllocMem() allocations are managed. alloca() cleanup is disabled during the stdlib_memory_exit destructor's work. The stdlib_memory_init constructor is more robust and now insists that exec.library V39+ uses memory pools.
842acf2eaa Updated to properly use the MemoryNode changes.
b9463f442b Added notes on calloc() being safe to use under certain circumstances if the number of elements or the element size happens to be 0. In effect, malloc() will decide what is going to happen.
7ceeb4f8ed If alloca() would end up returning a NULL pointer, it now invokes the default alloca trap function, which calls abort(). You can override this, if you need to.
Compare 10 commits »
github synced commits to development at github/amiga-clib2 from mirror 2023-09-06 13:41:48 +00:00
6197531c90 Added integer overflow checking for the element_size and count parameters.
b94937ff38 Fixed the bug which broke both fgets() and gets(): copying data from the FILE buffer failed to bump the destination string pointer. Also added an abort check in order to avoid turning the memcpy() operation into an uninterruptable sequence.
2cb54d48a9 Added the common function which both fputs() and puts() share now.
a7389454bb fputs() and puts() now share the same common code. Added abort checks in order to avoid turning the memcpy() operations into an uninterruptable sequence.
45d118101a Added assertion test for the buffer alignment padding size.
Compare 7 commits »
github synced commits to master at github/amiga-gcc from mirror 2023-08-30 18:41:46 +00:00
606a65db79 Merge pull request #353 from BSzili/master
c4fab264b2 add doomsound.library sdk
Compare 2 commits »
github synced commits to devel1 at github/amiga-gcc from mirror 2023-08-30 18:41:46 +00:00
606a65db79 Merge pull request #353 from BSzili/master
c4fab264b2 add doomsound.library sdk
Compare 2 commits »
github synced commits to master at github/docker-amiga-gcc from mirror 2023-08-03 14:31:42 +00:00
60f532fe14 Update toolchain files
24d0285808 Fix line endings in scripts
Compare 2 commits »
github synced commits to master at github/amiga-gcc from mirror 2023-06-03 15:03:33 +00:00
bc30b937cd Merge pull request #352 from TheFakeMontyOnTheRun/TheFakeMontyOnTheRun-patch-1
c97330e108 Update README.md to include warning about Make version on MacOS
Compare 2 commits »
github synced commits to devel1 at github/amiga-gcc from mirror 2023-06-03 15:03:32 +00:00
bc30b937cd Merge pull request #352 from TheFakeMontyOnTheRun/TheFakeMontyOnTheRun-patch-1
c97330e108 Update README.md to include warning about Make version on MacOS
Compare 2 commits »
github synced commits to master at github/amiga-gcc from mirror 2023-05-24 18:13:39 +00:00
f10c22508f Merge pull request #344 from BSzili/master
0911c28b72 generate vbcc inline headers
Compare 2 commits »
github synced commits to devel1 at github/amiga-gcc from mirror 2023-05-24 18:13:37 +00:00
f10c22508f Merge pull request #344 from BSzili/master
0911c28b72 generate vbcc inline headers
Compare 2 commits »
github synced commits to master at github/docker-amiga-gcc from mirror 2023-05-12 12:13:45 +00:00
05df2c9733 Fix prefix path for alt images
github synced commits to master at github/docker-amiga-gcc from mirror 2023-04-30 23:58:29 +00:00
6a6b06c29a Merge branch 'master' of github.com:AmigaPorts/docker-amiga-gcc
e9ba17e617 Fix gcc10 build
064ce49fae Merge pull request #11 from AmigaPorts/MBeijer-patch-1
3e8bec4dd4 Update LICENSE
Compare 4 commits »
github synced and deleted reference MBeijer-patch-1 at github/docker-amiga-gcc from mirror 2023-04-30 23:58:27 +00:00
github synced commits to master at github/docker-amiga-gcc from mirror 2023-04-30 15:48:27 +00:00
6dde4dbf45 Update toolchains in docker
github synced commits to master at github/amiga-gcc from mirror 2023-04-27 17:28:28 +00:00
88d4157015 Merge pull request #334 from blackborn66/master
a4f5acf8a7 remove mui patch since sfdc got a fix
603ee94f78 Merge pull request #339 from BSzili/master
c2d966664f fix mui asm clobber
884e9c16d8 fixed the NDK 3.9 URL
Compare 6 commits »
github synced commits to devel1 at github/amiga-gcc from mirror 2023-04-27 17:28:26 +00:00
88d4157015 Merge pull request #334 from blackborn66/master
a4f5acf8a7 remove mui patch since sfdc got a fix
603ee94f78 Merge pull request #339 from BSzili/master
c2d966664f fix mui asm clobber
4e2724e38e fix dependency for libamiga
Compare 8 commits »
github synced commits to master at github/docker-amiga-gcc from mirror 2023-04-27 14:28:23 +00:00
215df63020 Update prep.sh for gcc13.1 builds