[patch] More m68k linker script fixes

Paul Brook paul@codesourcery.com
Mon Dec 26 16:10:00 GMT 2005

The attached patch adds the .got and .got.plt sections to the m68k linker 
scripts in libgloss.  These are greated by the linker when code compiled with 
-fPIC is linked. Without this patch end up as orphaned sections, and 
_GLOBAL_OFFSET_TABLE_ has the wrong value.



2005-12-20  Paul Brook  <paul@codesourcery.com>

	* m68k/bcc.ld: Add .got.plt and .got
	* m68k/idp.ld: Ditto.
	* m68k/idpgdb: Ditto.
	* m68k/mvme135.ld: Ditto.
	* m68k/sbc5204.ld: Ditto.
	* m68k/sbc5206.ld: Ditto.
	* m68k/sim.ld: Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.m68k_ld_got
Type: text/x-diff
Size: 3575 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20051226/e2b6aa98/attachment.bin>

More information about the Newlib mailing list