From: Andreas Färber Date: Tue, 4 Oct 2011 05:14:52 +0000 (+0000) Subject: ppc64: Fix linker script X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~5202^2~6^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c0a3409627604c111d5c5e1ce4e0224c2b56315;p=sdk%2Femulator%2Fqemu.git ppc64: Fix linker script Since commit 8733f609 (Fix linker scripts) linking on Linux/ppc64 fails: LINK ppc64-linux-user/qemu-ppc64 /usr/lib64/gcc/powerpc64-suse-linux/4.3/../../../../powerpc64-suse-linux/bin/ld:/home/afaerber/qemu/ppc64.ld:84: syntax error collect2: ld gab 1 als Ende-Status zurück make[1]: *** [qemu-ppc64] Fehler 1 make: *** [subdir-ppc64-linux-user] Fehler 2 Fix by removing a leftover line in the ppc64 linker script. Cc: Gerd Hoffmann Cc: Blue Swirl Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- diff --git a/ppc64.ld b/ppc64.ld index 0059ee5..0a7c0dd 100644 --- a/ppc64.ld +++ b/ppc64.ld @@ -81,8 +81,8 @@ SECTIONS .sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } .eh_frame_hdr : { *(.eh_frame_hdr) } -*(.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. */ + /* 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 (0x10000) - ((0x10000 - .) & (0x10000 - 1)); . = DATA_SEGMENT_ALIGN (0x10000, 0x1000); /* Exception handling */ .eh_frame : { KEEP (*(.eh_frame)) }