23 lines
994 B
Diff
23 lines
994 B
Diff
--- x86_64.ld
|
|
+++ x86_64.ld
|
|
@@ -59,8 +59,6 @@
|
|
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
|
|
.rodata1 : { *(.rodata1) }
|
|
.eh_frame_hdr : { *(.eh_frame_hdr) }
|
|
- .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) }
|
|
- .gcc_except_table : ONLY_IF_RO { *(.gcc_except_table) }
|
|
/* 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 (0x100000) - ((0x100000 - .) & (0x100000 - 1)); . = DATA_SEGMENT_ALIGN (0x100000, 0x1000);
|
|
@@ -86,8 +84,8 @@
|
|
.data1 : { *(.data1) }
|
|
.tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
|
|
.tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
|
|
- .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) }
|
|
- .gcc_except_table : ONLY_IF_RW { *(.gcc_except_table) }
|
|
+ .eh_frame : { KEEP (*(.eh_frame)) }
|
|
+ .gcc_except_table : { *(.gcc_except_table) }
|
|
.dynamic : { *(.dynamic) }
|
|
.ctors :
|
|
{
|