aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2004-02-14 11:45:25 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2004-02-14 11:45:25 +0000
commit9bf78c997eed8b851e6d6d8b72fc0b3e4cebb1b8 (patch)
tree694a8270f4b0a8df48926d8691792009e8b7c4f6 /ld/emulparams
parentc4c5b7baca1810ae720b89e46416b6c24f14c730 (diff)
downloadgdb-9bf78c997eed8b851e6d6d8b72fc0b3e4cebb1b8.zip
gdb-9bf78c997eed8b851e6d6d8b72fc0b3e4cebb1b8.tar.gz
gdb-9bf78c997eed8b851e6d6d8b72fc0b3e4cebb1b8.tar.bz2
* emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
.MIPS.content* and .MIPS.events* sections.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf32bmipn32-defs.sh28
1 files changed, 3 insertions, 25 deletions
diff --git a/ld/emulparams/elf32bmipn32-defs.sh b/ld/emulparams/elf32bmipn32-defs.sh
index ae64e22..f7b0d08 100644
--- a/ld/emulparams/elf32bmipn32-defs.sh
+++ b/ld/emulparams/elf32bmipn32-defs.sh
@@ -51,30 +51,8 @@ DATA_START_SYMBOLS='_fdata = . ;'
OTHER_BSS_SYMBOLS='_fbss = .;'
INITIAL_READONLY_SECTIONS=".MIPS.options : { *(.MIPS.options) }"
-OTHER_SECTIONS="
- .MIPS.events.text ${RELOCATING-0} :
- {
- *(.MIPS.events.text${RELOCATING+ .MIPS.events.gnu.linkonce.t*})
- }
- .MIPS.content.text ${RELOCATING-0} :
- {
- *(.MIPS.content.text${RELOCATING+ .MIPS.content.gnu.linkonce.t*})
- }
- .MIPS.events.data ${RELOCATING-0} :
- {
- *(.MIPS.events.data${RELOCATING+ .MIPS.events.gnu.linkonce.d*})
- }
- .MIPS.content.data ${RELOCATING-0} :
- {
- *(.MIPS.content.data${RELOCATING+ .MIPS.content.gnu.linkonce.d*})
- }
- .MIPS.events.rodata ${RELOCATING-0} :
- {
- *(.MIPS.events.rodata${RELOCATING+ .MIPS.events.gnu.linkonce.r*})
- }
- .MIPS.content.rodata ${RELOCATING-0} :
- {
- *(.MIPS.content.rodata${RELOCATING+ .MIPS.content.gnu.linkonce.r*})
- }"
+# Discard any .MIPS.content* or .MIPS.events* sections. The linker
+# doesn't know how to adjust them.
+OTHER_SECTIONS="/DISCARD/ : { *(.MIPS.content*) *(.MIPS.events*) }"
TEXT_DYNAMIC=