mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
umm: restore -fno-common to avoid overlap between ummHeapInfo and umm_heap, see also 3a39a9b64e
This commit is contained in:
parent
f0d779a7ca
commit
d97e14f5c9
2 changed files with 3 additions and 2 deletions
|
@ -20,7 +20,7 @@ endif
|
|||
#in the next section to remove that particular feature from compilation.
|
||||
# NO space,TABs after the "\" sign.
|
||||
APP_CFLAGS = $(PLATFORM_DEFS) \
|
||||
-ffunction-sections -fdata-sections
|
||||
-ffunction-sections -fdata-sections -fno-common
|
||||
|
||||
SRC_LF = lfops.c lfsampling.c pcf7931.c lfdemod.c lfadc.c
|
||||
SRC_ISO15693 = iso15693.c iso15693tools.c
|
||||
|
|
|
@ -83,8 +83,9 @@ static void umm_test(void) {
|
|||
umm_info(NULL, true);
|
||||
uint8_t* dest = (uint8_t*)umm_malloc(2000);
|
||||
umm_free(dest);
|
||||
umm_info(NULL, true);
|
||||
dest = (uint8_t*)umm_malloc(12000);
|
||||
umm_info(dest, true);
|
||||
umm_info(NULL, true);
|
||||
umm_free(dest);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue