]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
A number of minor Lynx-related changes, plus basic Sparc Lynx support.
authorStan Shebs <shebs@codesourcery.com>
Fri, 29 Oct 1993 02:01:43 +0000 (02:01 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 29 Oct 1993 02:01:43 +0000 (02:01 +0000)
bfd/ChangeLog
bfd/cf-m68klynx.c [moved from bfd/m68klynx-cf.c with 95% similarity]
bfd/cf-sparclynx.c [moved from bfd/i386lynx-cf.c with 84% similarity]
bfd/configure.in

index 78c1b024e0b39bc2fdb097529485148f2e7d32af..bd41ba84922edf39c0f604cbe8376375b53f38d6 100644 (file)
@@ -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:
similarity index 95%
rename from bfd/m68klynx-cf.c
rename to bfd/cf-m68klynx.c
index 7cd4ae8b240d996fa692984a53a861af6c71a95d..be52e41777d1f285e73c29044a40d8d74c245c79 100644 (file)
@@ -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"
similarity index 84%
rename from bfd/i386lynx-cf.c
rename to bfd/cf-sparclynx.c
index 541f59e54f6a347815605cc603a71325434bcf26..697b67bae723b9e606c887bd201f133d33763189 100644 (file)
@@ -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"
index 6a0850016f62b327c8ca50334efdaa17b11e189e..b3b0a74030d696900f9877cce7a74cfd4e4788ca 100644 (file)
@@ -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" ;;