aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgld960.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-18 02:57:45 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-18 02:57:45 +0000
commit19b03b7aa4dd0eccffab131fd91495ef122fccc7 (patch)
tree0831b76b569fdb6121b914d3e941b5d15a3a4188 /ld/ldgld960.c
parentf827120d4545a08c8e8edb25d4ec5b50d694912b (diff)
downloadgdb-19b03b7aa4dd0eccffab131fd91495ef122fccc7.zip
gdb-19b03b7aa4dd0eccffab131fd91495ef122fccc7.tar.gz
gdb-19b03b7aa4dd0eccffab131fd91495ef122fccc7.tar.bz2
*** empty log message ***
Diffstat (limited to 'ld/ldgld960.c')
-rwxr-xr-xld/ldgld960.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ld/ldgld960.c b/ld/ldgld960.c
index 7e7e6e0..bdb1c7b 100755
--- a/ld/ldgld960.c
+++ b/ld/ldgld960.c
@@ -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