[PATCH] Fix ld/ld-elfvsb testsuite
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Sun Aug 1 20:01:00 GMT 2004
More information about the Binutils mailing list
Sun Aug 1 20:01:00 GMT 2004
- Previous message (by thread): [PATCH]: Fix linker on 68HC11/68HC12
- Next message (by thread): [PATCH] Fix ld/ld-elfvsb testsuite
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello All, the ld/ld-elfvsb testsuite fails for mips-linux in some cases because the linker fails now with an error if PT_DYNAMIC doesn't start with the .dynamic section. http://sources.redhat.com/ml/binutils/2004-07/msg00115.html http://sources.redhat.com/ml/binutils/2004-06/msg00444.html Is it ok to just move .dynamic upwards in the linker script? Thiemo 2004-08-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> /ld/testsuite/ChangeLog * ld-elfvsb/elf-offset.ld: Move .dynamic in front of all other PT_DYNAMIC sections. Index: ld/testsuite/ld-elfvsb/elf-offset.ld =================================================================== RCS file: /cvs/src/src/ld/testsuite/ld-elfvsb/elf-offset.ld,v retrieving revision 1.3 diff -u -p -r1.3 elf-offset.ld --- ld/testsuite/ld-elfvsb/elf-offset.ld 29 Jul 2003 14:02:55 -0000 1.3 +++ ld/testsuite/ld-elfvsb/elf-offset.ld 1 Aug 2004 19:30:02 -0000 @@ -2,6 +2,7 @@ SECTIONS { /* Read-only sections, merged into text segment: */ . = 0x100000; + .dynamic : { *(.dynamic) } .hash : { *(.hash) } .dynsym : { *(.dynsym) } .dynstr : { *(.dynstr) } @@ -114,7 +115,6 @@ SECTIONS } .got : { *(.got.plt) *(.got) } .toc : { *(.toc) } - .dynamic : { *(.dynamic) } /* We want the small data sections together, so single-instruction offsets can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */
- Previous message (by thread): [PATCH]: Fix linker on 68HC11/68HC12
- Next message (by thread): [PATCH] Fix ld/ld-elfvsb testsuite
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list