Blame SOURCES/binutils-2.23.52.0.1-aarch64-lib64.patch

f55871
*** ../binutils-2.23.52.0.1.orig/ld/emulparams/aarch64linux.sh	2013-04-09 17:12:43.108529894 +0100
f55871
--- ld/emulparams/aarch64linux.sh	2013-04-09 17:15:04.382533810 +0100
f55871
*************** OTHER_SECTIONS='.note.gnu.arm.ident 0 :
f55871
*** 34,36 ****
f55871
--- 34,46 ----
f55871
  ATTRS_SECTIONS='.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }'
f55871
  # Ensure each PLT entry is aligned to a cache line.
f55871
  PLT=".plt          ${RELOCATING-0} : ALIGN(16) { *(.plt)${IREL_IN_PLT+ *(.iplt)} }"
f55871
+ 
f55871
+ # Linux modifies the default library search path to first include
f55871
+ # a 64-bit specific directory.
f55871
+ case "$target" in
f55871
+   aarch64*-linux*)
f55871
+     case "$EMULATION_NAME" in
f55871
+       aarch64linux*) LIBPATH_SUFFIX=64 ;;
f55871
+     esac
f55871
+     ;;
f55871
+ esac