1 Upstream-Status: Backport
3 From 80041361bf80194da35c5efb842125f3ce1d2bf2 Mon Sep 17 00:00:00 2001
4 From: Joseph Myers <joseph@codesourcery.com>
5 Date: Tue, 20 Dec 2011 18:00:03 +0000
6 Subject: [PATCH 039/262] * emulparams/elf32bmip.sh (OTHER_SECTIONS):
7 Put .mdebug.* and .gcc_compiled_long* sections
11 ld/ChangeLog | 5 +++++
12 ld/emulparams/elf32bmip.sh | 16 ++++++++--------
13 2 files changed, 13 insertions(+), 8 deletions(-)
15 2011-12-20 Joseph Myers <joseph@codesourcery.com>
17 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Put .mdebug.* and
18 .gcc_compiled_long* sections at address 0.
20 diff --git a/ld/emulparams/elf32bmip.sh b/ld/emulparams/elf32bmip.sh
21 index 44a0b8a..f0fcd2c 100644
22 --- a/ld/emulparams/elf32bmip.sh
23 +++ b/ld/emulparams/elf32bmip.sh
24 @@ -64,14 +64,14 @@ OTHER_BSS_SYMBOLS='_fbss = .;'
26 .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
27 .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
28 - .mdebug.abi32 : { KEEP(*(.mdebug.abi32)) }
29 - .mdebug.abiN32 : { KEEP(*(.mdebug.abiN32)) }
30 - .mdebug.abi64 : { KEEP(*(.mdebug.abi64)) }
31 - .mdebug.abiO64 : { KEEP(*(.mdebug.abiO64)) }
32 - .mdebug.eabi32 : { KEEP(*(.mdebug.eabi32)) }
33 - .mdebug.eabi64 : { KEEP(*(.mdebug.eabi64)) }
34 - .gcc_compiled_long32 : { KEEP(*(.gcc_compiled_long32)) }
35 - .gcc_compiled_long64 : { KEEP(*(.gcc_compiled_long64)) }
36 + .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
37 + .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
38 + .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
39 + .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
40 + .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
41 + .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
42 + .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
43 + .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }