aboutsummaryrefslogtreecommitdiff
path: root/ld/ld-emul.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-15 15:27:15 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-15 15:27:15 +0000
commit99fe4553606e9be16e0d3878070086ba0c629d77 (patch)
tree6a2b3ec66d49ab11785d440dfcc2d3d9506bfd6b /ld/ld-emul.c
parent9846338e68f0951443690e50cb678082a86be57e (diff)
downloadgdb-99fe4553606e9be16e0d3878070086ba0c629d77.zip
gdb-99fe4553606e9be16e0d3878070086ba0c629d77.tar.gz
gdb-99fe4553606e9be16e0d3878070086ba0c629d77.tar.bz2
Merges from Intel.
Chrisb bug fixes.
Diffstat (limited to 'ld/ld-emul.c')
-rwxr-xr-xld/ld-emul.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ld/ld-emul.c b/ld/ld-emul.c
index 70ee76f..82ebc42 100755
--- a/ld/ld-emul.c
+++ b/ld/ld-emul.c
@@ -1,5 +1,3 @@
-
-
/* Copyright (C) 1991 Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
@@ -19,9 +17,9 @@ along with GLD; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/*
- $Id$
- *
-*/
+ * $Id$
+ */
+
/*
* clearing house for ld emulation states
*/
@@ -110,6 +108,10 @@ char *target;
if (strcmp(target,LNK960_EMULATION_NAME)==0) {
ld_emulation = &ld_lnk960_emulation;
}
+ else if (strcmp(target,GLD960_EMULATION_NAME)==0) {
+ ld_emulation = &ld_gld960_emulation;
+ }
+#ifndef GNU960
else if (strcmp(target,GLD_EMULATION_NAME)==0) {
ld_emulation = &ld_gld_emulation;
}
@@ -119,9 +121,7 @@ char *target;
else if (strcmp(target,GLD68K_EMULATION_NAME)==0) {
ld_emulation = &ld_gld68k_emulation;
}
- else if (strcmp(target,GLD960_EMULATION_NAME)==0) {
- ld_emulation = &ld_gld960_emulation;
- }
+#endif
else {
info("%P%F unrecognised emulation mode: %s\n",target);
}