* emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".

* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
This commit is contained in:
Richard Sandiford 2005-01-22 18:13:16 +00:00
parent ab730cc79f
commit 4e25343c6e
3 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-01-22 Richard Sandiford <rsandifo@redhat.com>
* emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
2005-01-21 Jakub Jelinek <jakub@redhat.com>
* ldgram.y (AS_NEEDED): New token.

View file

@ -16,7 +16,12 @@ INITIAL_READONLY_SECTIONS="
.reginfo ${RELOCATING-0} : { *(.reginfo) }
"
OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
# If the output has a GOT section, there must be exactly 0x7ff0 bytes
# between .got and _gp. The ". = ." below stops the orphan code from
# inserting other sections between the assignment to _gp and the start
# of .got.
OTHER_GOT_SYMBOLS='
. = .;
_gp = ALIGN(16) + 0x7ff0;
'
OTHER_SDATA_SECTIONS="

View file

@ -36,7 +36,12 @@ MAXPAGESIZE=0x100000
ENTRY=__start
# GOT-related settings.
# If the output has a GOT section, there must be exactly 0x7ff0 bytes
# between .got and _gp. The ". = ." below stops the orphan code from
# inserting other sections between the assignment to _gp and the start
# of .got.
OTHER_GOT_SYMBOLS='
. = .;
_gp = ALIGN(16) + 0x7ff0;
'
OTHER_SDATA_SECTIONS="