* Makefile.in: Change mkscript rule into one for ./mkscript
[deliverable/binutils-gdb.git] / ld / ldgld960.c
index 7e7e6e0481c43620af686b8bd9739897fe288629..f3a3b0cdcf7bd6b3ca34d9418f58f46fe38a29a7 100755 (executable)
@@ -25,8 +25,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  */
 
 
-#include "sysdep.h"
 #include "bfd.h"
+#include "sysdep.h"
 
 
 #include "ld.h"
@@ -108,9 +108,7 @@ gld960_before_allocation()
 static void
 gld960_set_output_arch()
 {
-  /* Set the output architecture and machine if possible */
-  unsigned long  machine = 0;
-  bfd_set_arch_mach(output_bfd, ldfile_output_architecture, machine);
+  bfd_set_arch_mach(output_bfd, ldfile_output_architecture, bfd_mach_i960_core);
 }
 
 static char *
@@ -119,7 +117,7 @@ gld960_choose_target()
 #ifdef GNU960
 
   output_filename = "b.out";
-  return bfd_make_targ_name(BFD_BOUT_FORMAT,HOST_BYTE_ORDER_BIG_P);
+  return bfd_make_targ_name(BFD_BOUT_FORMAT, 0);
 
 #else
 
This page took 0.024057 seconds and 4 git commands to generate.