aboutsummaryrefslogtreecommitdiff
path: root/ld/ld-gld.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-23 15:59:24 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-23 15:59:24 +0000
commita37cc0c05c5ee0e72a14a09c547555621371ef1d (patch)
tree2df4ce4a562ee651f2f17351d0a0402c75152583 /ld/ld-gld.c
parent1327fb29568debb17b167a405a548f641bcfda69 (diff)
downloadgdb-a37cc0c05c5ee0e72a14a09c547555621371ef1d.zip
gdb-a37cc0c05c5ee0e72a14a09c547555621371ef1d.tar.gz
gdb-a37cc0c05c5ee0e72a14a09c547555621371ef1d.tar.bz2
*** empty log message ***
Diffstat (limited to 'ld/ld-gld.c')
-rwxr-xr-xld/ld-gld.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ld/ld-gld.c b/ld/ld-gld.c
index 7607462..018d8d1 100755
--- a/ld/ld-gld.c
+++ b/ld/ld-gld.c
@@ -54,7 +54,6 @@ static void gld_before_parse()
ldfile_add_library_path("/lib");
ldfile_add_library_path("/usr/lib");
ldfile_add_library_path("/usr/local/lib/lib");
- ldfile_output_architecture = bfd_arch_sparc;
}
@@ -81,8 +80,7 @@ static void
gld_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, ldfile_output_machine);
}
static char *