Add eh stuff and .jcr.

This commit is contained in:
Mark Salter 2002-02-05 18:12:23 +00:00
parent 61bc57ac89
commit 2dc2c168c5
1 changed files with 3 additions and 1 deletions

View File

@ -102,6 +102,7 @@ SECTIONS
} =0 } =0
.rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) } .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) }
.rodata1 : { *(.rodata1) } .rodata1 : { *(.rodata1) }
.eh_frame_hdr : { *(.eh_frame_hdr) }
/* Adjust the address for the data segment. We want to adjust up to /* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */ the same address within the page on the next page up. */
. = ALIGN(256) + (. & (256 - 1)); . = ALIGN(256) + (. & (256 - 1));
@ -113,7 +114,7 @@ SECTIONS
SORT(CONSTRUCTORS) SORT(CONSTRUCTORS)
} }
.data1 : { *(.data1) } .data1 : { *(.data1) }
.eh_frame : { *(.eh_frame) } .eh_frame : { KEEP (*(.eh_frame)) }
.gcc_except_table : { *(.gcc_except_table) } .gcc_except_table : { *(.gcc_except_table) }
.ctors : .ctors :
{ {
@ -142,6 +143,7 @@ SECTIONS
KEEP (*(SORT(.dtors.*))) KEEP (*(SORT(.dtors.*)))
KEEP (*(.dtors)) KEEP (*(.dtors))
} }
.jcr : { KEEP (*(.jcr)) }
.got : { *(.got.plt) *(.got) } .got : { *(.got.plt) *(.got) }
.dynamic : { *(.dynamic) } .dynamic : { *(.dynamic) }
/* We want the small data sections together, so single-instruction offsets /* We want the small data sections together, so single-instruction offsets