From: Jakub Jelinek Date: Tue, 29 Jul 2003 14:02:55 +0000 (+0000) Subject: * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=933f40e758b99760e0e3d8e556789fc6393d437a;p=binutils-gdb.git * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc sections. --- ld/testsuite/ld-elfvsb/elf-offset.ld.jj 2003-05-19 17:12:47.000000000 -0400 +++ ld/testsuite/ld-elfvsb/elf-offset.ld 2003-07-29 05:39:34.000000000 -0400 @@ -46,6 +46,8 @@ SECTIONS } .rel.got : { *(.rel.got) } .rela.got : { *(.rela.got) } + .rel.toc : { *(.rel.toc) } + .rela.toc : { *(.rela.toc) } .rel.ctors : { *(.rel.ctors) } .rela.ctors : { *(.rela.ctors) } .rel.dtors : { *(.rel.dtors) } @@ -111,6 +113,7 @@ SECTIONS KEEP (*(.dtors)) } .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 --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 4fd04d7104f..1a77c9484bd 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-07-29 Jakub Jelinek + + * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc + sections. + 2003-07-29 Alan Modra * ld-powerpc/tlsso.r: Update. diff --git a/ld/testsuite/ld-elfvsb/elf-offset.ld b/ld/testsuite/ld-elfvsb/elf-offset.ld index 5e6611a234a..7c648247e7d 100644 --- a/ld/testsuite/ld-elfvsb/elf-offset.ld +++ b/ld/testsuite/ld-elfvsb/elf-offset.ld @@ -46,6 +46,8 @@ SECTIONS } .rel.got : { *(.rel.got) } .rela.got : { *(.rela.got) } + .rel.toc : { *(.rel.toc) } + .rela.toc : { *(.rela.toc) } .rel.ctors : { *(.rel.ctors) } .rela.ctors : { *(.rela.ctors) } .rel.dtors : { *(.rel.dtors) } @@ -111,6 +113,7 @@ SECTIONS KEEP (*(.dtors)) } .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