diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-07-29 14:02:55 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-07-29 14:02:55 +0000 |
commit | 933f40e758b99760e0e3d8e556789fc6393d437a (patch) | |
tree | 08a0d5e531245880d81a5d4cff5a45f2c41b036d /ld | |
parent | 0deb7ac528443b38d232fa55f4aec3c09f7ef390 (diff) | |
download | gdb-933f40e758b99760e0e3d8e556789fc6393d437a.zip gdb-933f40e758b99760e0e3d8e556789fc6393d437a.tar.gz gdb-933f40e758b99760e0e3d8e556789fc6393d437a.tar.bz2 |
* 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
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/elf-offset.ld | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 4fd04d7..1a77c94 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-07-29 Jakub Jelinek <jakub@redhat.com> + + * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc + sections. + 2003-07-29 Alan Modra <amodra@bigpond.net.au> * ld-powerpc/tlsso.r: Update. diff --git a/ld/testsuite/ld-elfvsb/elf-offset.ld b/ld/testsuite/ld-elfvsb/elf-offset.ld index 5e6611a..7c64824 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 |