65af22e
*** ../binutils-2.23.2.orig/ld/emultempl/aarch64elf.em	2013-06-05 09:46:17.499278813 +0100
65af22e
--- ld/emultempl/aarch64elf.em	2013-06-05 09:54:36.981292659 +0100
65af22e
*************** gld${EMULATION_NAME}_after_allocation (v
65af22e
*** 264,270 ****
65af22e
  }
65af22e
  
65af22e
  static void
65af22e
! gld${EMULATION_NAME}_finish (void)
65af22e
  {
65af22e
    if (! link_info.relocatable)
65af22e
      {
65af22e
--- 264,270 ----
65af22e
  }
65af22e
  
65af22e
  static void
65af22e
! gld${EMULATION_NAME}_local_finish (void)
65af22e
  {
65af22e
    if (! link_info.relocatable)
65af22e
      {
65af22e
*************** gld${EMULATION_NAME}_finish (void)
65af22e
*** 276,282 ****
65af22e
  	}
65af22e
      }
65af22e
  
65af22e
!   finish_default ();
65af22e
  }
65af22e
  
65af22e
  /* This is a convenient point to tell BFD about target specific flags.
65af22e
--- 276,282 ----
65af22e
  	}
65af22e
      }
65af22e
  
65af22e
!   gld${EMULATION_NAME}_finish ();
65af22e
  }
65af22e
  
65af22e
  /* This is a convenient point to tell BFD about target specific flags.
65af22e
*************** LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS=
65af22e
*** 413,416 ****
65af22e
  LDEMUL_BEFORE_PARSE=gld"${EMULATION_NAME}"_before_parse
65af22e
  
65af22e
  # Call the extra arm-elf function
65af22e
! LDEMUL_FINISH=gld${EMULATION_NAME}_finish
65af22e
--- 413,416 ----
65af22e
  LDEMUL_BEFORE_PARSE=gld"${EMULATION_NAME}"_before_parse
65af22e
  
65af22e
  # Call the extra arm-elf function
65af22e
! LDEMUL_FINISH=gld${EMULATION_NAME}_local_finish