How to relocate GLOBAL_OFFSET_TABLE from RAM into ROM

Игорь publicjoke at mail.ru
Sat Feb 10 14:16:57 UTC 2007


I use MCF5213 with 32Kb of SRAM and i was very surprised that function addresses table linked into SRAM. If i understand correctly, this behaviour may be changed by modifying the linker script, i.e. by move the string "*(.got.plt) *(.got)" from .data into .text. But when i do it, i have many overlap errors. Can someone provide any suggestions?



More information about the coldfire-gnu-discuss mailing list