For some reason, I made the ppc64 B-only linker script place the
eh_frame_hdr with the data, while every other arch placed it with the
text. This led to segfault of bwaves from SPECCPU in the B-only 64-bit
configuration. Fix this by placing the eh_frame_hdr in the text like all
the other scripts.
64-bit B-only bwaves completes successfully with this patch applied.
Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
diff --git a/ldscripts/elf64ppc.xB b/ldscripts/elf64ppc.xB
index fc98cc4..030840e 100644
--- a/ldscripts/elf64ppc.xB
+++ b/ldscripts/elf64ppc.xB
@@ -94,7 +94,7 @@ SECTIONS
*(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
}
.sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) }
- .eh_frame_hdr : { *(.eh_frame_hdr) } :data :eh_frame_hdr
+ .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr
/* .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) }*/
/* .gcc_except_table : ONLY_IF_RO { *(.gcc_except_table
.gcc_except_table.*) }*/
/* Adjust the address for the data segment. We want to adjust up to
--
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel