aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1993-10-29 02:01:43 +0000
committerStan Shebs <shebs@codesourcery.com>1993-10-29 02:01:43 +0000
commitc9368a3bc3af36a7f53db7137d727ae6a124fde3 (patch)
treefd6b2ebeb896f457abd1c075e99eea7f1852ed85 /bfd
parent4a44dc1ac23949874a1b655638d14b92861a5cd4 (diff)
downloadgdb-c9368a3bc3af36a7f53db7137d727ae6a124fde3.zip
gdb-c9368a3bc3af36a7f53db7137d727ae6a124fde3.tar.gz
gdb-c9368a3bc3af36a7f53db7137d727ae6a124fde3.tar.bz2
A number of minor Lynx-related changes, plus basic Sparc Lynx support.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog25
-rw-r--r--bfd/cf-m68klynx.c (renamed from bfd/m68klynx-cf.c)5
-rw-r--r--bfd/cf-sparclynx.c (renamed from bfd/i386lynx-cf.c)8
-rw-r--r--bfd/configure.in6
4 files changed, 38 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 78c1b02..bd41ba8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,28 @@
+Thu Oct 28 16:33:26 1993 Stan Shebs (shebs@rtl.cygnus.com)
+
+ LynxOS and Sparc LynxOS changes:
+ * config.bfd: Recognize sparc-*-lynxos*.
+ * configure.host: Recognize sparc-*-lynxos*.
+ * configure.in: Recognize Sparc Lynx vectors.
+ * targets.c (sparclynx_aout_vec): Declare.
+ (sparclynx_coff_vec): Declare.
+ (target_vector): Add them.
+ * cf-i386lynx.c: New file, renamed from i386lynx-cf.c.
+ * cf-m68klynx.c: New file, renamed from m68klynx-cf.c.
+ * cf-sparclynx.c: New file, support for coff in Sparc LynxOS.
+ * coff-sparc.c: New file, basic Sparc coff support.
+ * sparclynx.c: New file, support for a.out in Sparc LynxOS.
+ * Makefile.in: Change filenames appropriately, add Sparc rules.
+ * coffcode.h (coff_set_arch_mach_hook): Recognize Sparc magic
+ number.
+ (coff_set_flags): Use LynxOS magic number for i386, m68k, and
+ Sparc LynxOS, set Sparc magic number for Sparcs.
+ * config/m68k-lynx.mt (SELECT_VECS): Remove redundant vector.
+ * config/sparc-lynx.mt: New file.
+ * hosts/i386lynx.h: Cosmetic improvements.
+ * hosts/m68klynx.h: Add ifdefs, #define of cfree.
+ * hosts/sparclynx.h: New file.
+
Thu Oct 28 16:23:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
gcc -Wall lint:
diff --git a/bfd/m68klynx-cf.c b/bfd/cf-m68klynx.c
index 7cd4ae8..be52e41 100644
--- a/bfd/m68klynx-cf.c
+++ b/bfd/cf-m68klynx.c
@@ -21,5 +21,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define TARGET_SYM m68klynx_coff_vec
#define TARGET_NAME "coff-m68k-lynx"
+#define LYNXOS
+
+#define COFF_LONG_FILENAMES
+
#define ONLY_DECLARE_RELOCS
+
#include "coff-m68k.c"
diff --git a/bfd/i386lynx-cf.c b/bfd/cf-sparclynx.c
index 541f59e..697b67b 100644
--- a/bfd/i386lynx-cf.c
+++ b/bfd/cf-sparclynx.c
@@ -1,4 +1,4 @@
-/* BFD back-end for Intel 386 COFF LynxOS files.
+/* BFD back-end for Sparc COFF LynxOS files.
Copyright 1993 Free Software Foundation, Inc.
Written by Cygnus Support.
@@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#define TARGET_SYM i386lynx_coff_vec
-#define TARGET_NAME "coff-i386-lynx"
+#define TARGET_SYM sparclynx_coff_vec
+#define TARGET_NAME "coff-sparc-lynx"
-#include "coff-i386.c"
+#include "coff-sparc.c"
diff --git a/bfd/configure.in b/bfd/configure.in
index 6a08500..b3b0a74 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -177,7 +177,7 @@ do
i386coff_vec) tb="$tb coff-i386.o" ;;
i386linux_vec) tb="$tb i386linux.o aout32.o stab-syms.o" ;;
i386lynx_aout_vec) tb="$tb i386lynx.o lynx-core.o aout32.o stab-syms.o" ;;
- i386lynx_coff_vec) tb="$tb i386lynx-cf.o lynx-core.o stab-syms.o" ;;
+ i386lynx_coff_vec) tb="$tb cf-i386lynx.o lynx-core.o stab-syms.o" ;;
i386mach3_vec) tb="$tb i386mach3.o" ;;
icoff_big_vec) tb="$tb coff-i960.o" ;;
icoff_little_vec) tb="$tb coff-i960.o" ;;
@@ -185,7 +185,7 @@ do
m68kcoff_vec) tb="$tb coff-m68k.o" ;;
m68kcoffun_vec) tb="$tb coff-u68k.o coff-m68k.o" ;;
m68klynx_aout_vec) tb="$tb m68klynx.o lynx-core.o aout32.o stab-syms.o" ;;
- m68klynx_coff_vec) tb="$tb m68klynx-cf.o coff-m68k.o lynx-core.o stab-syms.o" ;;
+ m68klynx_coff_vec) tb="$tb cf-m68klynx.o coff-m68k.o lynx-core.o stab-syms.o" ;;
m88kbcs_vec) tb="$tb coff-m88k.o" ;;
newsos3_vec) tb="$tb newsos3.o aout32.o stab-syms.o" ;;
nlm32_big_generic_vec) tb="$tb nlm32-gen.o nlm32.o nlm.o" ;;
@@ -197,6 +197,8 @@ do
target64=true ;;
rs6000coff_vec) tb="$tb coff-rs6000.o" ;;
shcoff_vec) tb="$tb coff-sh.o reloc16.o" ;;
+ sparclynx_aout_vec) tb="$tb sparclynx.o lynx-core.o aout32.o stab-syms.o" ;;
+ sparclynx_coff_vec) tb="$tb cf-sparclynx.o lynx-core.o stab-syms.o" ;;
sunos_big_vec) tb="$tb sunos.o aout32.o stab-syms.o" ;;
tekhex_vec) tb="$tb tekhex.o" ;;
we32kcoff_vec) tb="$tb coff-we32k.o" ;;