aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2002-02-05 18:12:23 +0000
committerMark Salter <msalter@redhat.com>2002-02-05 18:12:23 +0000
commit2dc2c168c5e67ee5ae3b58c4c7f4feff1eae67f5 (patch)
tree6f383a15476307c2bf49e0f9f9186b484f20dbff
parent61bc57ac895c852dede651bc52e7e4ef5b837372 (diff)
downloadnewlib-2dc2c168c5e67ee5ae3b58c4c7f4feff1eae67f5.zip
newlib-2dc2c168c5e67ee5ae3b58c4c7f4feff1eae67f5.tar.gz
newlib-2dc2c168c5e67ee5ae3b58c4c7f4feff1eae67f5.tar.bz2
Add eh stuff and .jcr.
-rw-r--r--libgloss/arm/elf-redboot.ld4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgloss/arm/elf-redboot.ld b/libgloss/arm/elf-redboot.ld
index c3abcb8..be38654 100644
--- a/libgloss/arm/elf-redboot.ld
+++ b/libgloss/arm/elf-redboot.ld
@@ -102,6 +102,7 @@ SECTIONS
} =0
.rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) }
.rodata1 : { *(.rodata1) }
+ .eh_frame_hdr : { *(.eh_frame_hdr) }
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */
. = ALIGN(256) + (. & (256 - 1));
@@ -113,7 +114,7 @@ SECTIONS
SORT(CONSTRUCTORS)
}
.data1 : { *(.data1) }
- .eh_frame : { *(.eh_frame) }
+ .eh_frame : { KEEP (*(.eh_frame)) }
.gcc_except_table : { *(.gcc_except_table) }
.ctors :
{
@@ -142,6 +143,7 @@ SECTIONS
KEEP (*(SORT(.dtors.*)))
KEEP (*(.dtors))
}
+ .jcr : { KEEP (*(.jcr)) }
.got : { *(.got.plt) *(.got) }
.dynamic : { *(.dynamic) }
/* We want the small data sections together, so single-instruction offsets