#2528: Update https://devel.rtems.org/wiki/TBR/Delete/NewlibMemoryAllocation --------------------------+--------------------------- Reporter: nick.withers | Owner: nick.withers Type: defect | Status: accepted Priority: normal | Milestone: 4.11.1 Component: Newlib | Version: 4.11 Severity: normal | Resolution: Keywords: | --------------------------+---------------------------
Comment (by sebastian.huber): One approach would be to use the linker to resolve the dependencies. For example build a BSP with --enable-tests and use a test without references to malloc() etc. sparc-rtems4.12-gcc -B../../../../../sis/lib/ -specs bsp_specs -qrtems -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing- prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested- externs -Wl,-Map,map.txt -Wl,--gc-sections -mcpu=cypress -o spinternalerror01.exe init.o -Wl,-u,strftime nm *.exe | grep '\<malloc\>\|\<calloc\>\|\<realloc\>' 0200b394 T malloc 0200b774 T realloc -- Ticket URL: <http://devel.rtems.org/ticket/2528#comment:15> RTEMS Project <http://www.rtems.org/> RTEMS Project _______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
