aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ia64
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2010-11-05 20:58:18 +0000
committerDimitry Andric <dim@FreeBSD.org>2010-11-05 20:58:18 +0000
commitc025996f71a14c1a6c7c51033d0005769d5f8e5d (patch)
tree0416ecb9ee1d62f5d36382039355309d684d528d /sys/boot/ia64
parentf646247d0d006df9bd4e7984283cf75e30fb6a97 (diff)
downloadsrc-c025996f71a14c1a6c7c51033d0005769d5f8e5d.tar.gz
src-c025996f71a14c1a6c7c51033d0005769d5f8e5d.zip
For sys/boot/ia64/efi and sys/boot/ia64/ski, modify their linker scripts
to move the .IA_64.unwind and .IA_64.unwind_info input sections into separate output sections. Otherwise ld will complain about it (".data has both ordered [`.IA_64.unwind'] and unordered [`.IA_64.unwind_info'] sections"). This makes ia64 buildworld run to full completion.
Notes
Notes: svn path=/projects/binutils-2.17/; revision=214850
Diffstat (limited to 'sys/boot/ia64')
-rw-r--r--sys/boot/ia64/efi/ldscript.ia644
-rw-r--r--sys/boot/ia64/ski/ldscript.ia644
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/ia64/efi/ldscript.ia64 b/sys/boot/ia64/efi/ldscript.ia64
index 0f79b670e027..8c3a89156023 100644
--- a/sys/boot/ia64/efi/ldscript.ia64
+++ b/sys/boot/ia64/efi/ldscript.ia64
@@ -22,8 +22,6 @@ SECTIONS
*(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
*(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
*(.opd)
- *(.IA_64.unwind_info* .gnu.linkonce.ia64unwi.*)
- *(.IA_64.unwind* .gnu.linkonce.ia64unw.*)
__start_set_Xcommand_set = .;
*(set_Xcommand_set)
__stop_set_Xcommand_set = .;
@@ -34,6 +32,8 @@ SECTIONS
*(.bss .bss.* .gnu.linkonce.b.*)
*(COMMON)
}
+ .IA_64.unwind_info : { *(.IA_64.unwind_info* .gnu.linkonce.ia64unwi.*) }
+ .IA_64.unwind : { *(.IA_64.unwind* .gnu.linkonce.ia64unw.*) }
. = ALIGN(4096);
__gp = .;
.sdata : {
diff --git a/sys/boot/ia64/ski/ldscript.ia64 b/sys/boot/ia64/ski/ldscript.ia64
index e4e1dad0bd91..973b0af6d2f1 100644
--- a/sys/boot/ia64/ski/ldscript.ia64
+++ b/sys/boot/ia64/ski/ldscript.ia64
@@ -18,8 +18,6 @@ SECTIONS
*(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
*(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
*(.opd)
- *(.IA_64.unwind_info* .gnu.linkonce.ia64unwi.*)
- *(.IA_64.unwind* .gnu.linkonce.ia64unw.*)
__start_set_Xcommand_set = .;
*(set_Xcommand_set)
__stop_set_Xcommand_set = .;
@@ -30,6 +28,8 @@ SECTIONS
*(.bss .bss.* .gnu.linkonce.b.*)
*(COMMON)
}
+ .IA_64.unwind_info : { *(.IA_64.unwind_info* .gnu.linkonce.ia64unwi.*) }
+ .IA_64.unwind : { *(.IA_64.unwind* .gnu.linkonce.ia64unw.*) }
__gp = .;
.sdata : {
*(.got.plt .got)