summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/0039-emulparams-elf32bmip.sh-OTHER_SECTIONS-Put-.mdebug.-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0039-emulparams-elf32bmip.sh-OTHER_SECTIONS-Put-.mdebug.-.patch')
-rw-r--r--meta/recipes-devtools/binutils/binutils/0039-emulparams-elf32bmip.sh-OTHER_SECTIONS-Put-.mdebug.-.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0039-emulparams-elf32bmip.sh-OTHER_SECTIONS-Put-.mdebug.-.patch b/meta/recipes-devtools/binutils/binutils/0039-emulparams-elf32bmip.sh-OTHER_SECTIONS-Put-.mdebug.-.patch
new file mode 100644
index 0000000000..657d6739eb
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0039-emulparams-elf32bmip.sh-OTHER_SECTIONS-Put-.mdebug.-.patch
@@ -0,0 +1,49 @@
1Upstream-Status: Backport
2
3From 80041361bf80194da35c5efb842125f3ce1d2bf2 Mon Sep 17 00:00:00 2001
4From: Joseph Myers <joseph@codesourcery.com>
5Date: Tue, 20 Dec 2011 18:00:03 +0000
6Subject: [PATCH 039/262] * emulparams/elf32bmip.sh (OTHER_SECTIONS):
7 Put .mdebug.* and .gcc_compiled_long* sections
8 at address 0.
9
10---
11 ld/ChangeLog | 5 +++++
12 ld/emulparams/elf32bmip.sh | 16 ++++++++--------
13 2 files changed, 13 insertions(+), 8 deletions(-)
14
152011-12-20 Joseph Myers <joseph@codesourcery.com>
16
17 * emulparams/elf32bmip.sh (OTHER_SECTIONS): Put .mdebug.* and
18 .gcc_compiled_long* sections at address 0.
19
20diff --git a/ld/emulparams/elf32bmip.sh b/ld/emulparams/elf32bmip.sh
21index 44a0b8a..f0fcd2c 100644
22--- a/ld/emulparams/elf32bmip.sh
23+++ b/ld/emulparams/elf32bmip.sh
24@@ -64,14 +64,14 @@ OTHER_BSS_SYMBOLS='_fbss = .;'
25 OTHER_SECTIONS='
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)) }
44 '
45 ARCH=mips
46 MACHINE=
47--
481.7.9.5
49