kevinkofler
|
55ba42a9c3
Fix "relative reloc at `0xnnn' to `foo' in different section" errors when using --remove-unused with debugging information and KERNEL_FORMAT_ROM_CALLS (or other relocated ROM_CALLs, RAM_CALLs or library calls): Remove all ROM_CALLs, RAM_CALLs and library calls from the deleted section. GDB can't handle them anyway and they cause invalid entries in the relocation table.
|
16 年之前 |
kevinkofler
|
06b5e61e83
Implement --remove-unused in the presence of debugging information.
|
19 年之前 |
kevinkofler
|
7c1296d161
Add missing string.h include (fixes implicit declaration of strcmp).
|
19 年之前 |
kevinkofler
|
3b762c4946
Early RemoveUnusedSections pass for external data variables, in order to get rid of unused data sections.
|
19 年之前 |
kevinkofler
|
92f00a0d0f
Implement MarkSection.
|
19 年之前 |
kevinkofler
|
64b0767e96
Make RemoveSectionIfUnused a void function. Add MarkSection (still empty) and use it in RemoveUnusedSections to mark essential sections.
|
19 年之前 |
kevinkofler
|
a4631dbaf5
Break up unused section removal into its own module (gcunused.c, gcunused.h) out of manip.c, manip.h.
|
19 年之前 |