OSDN Git Service

Add PowerPC LynxOS support
authorNick Clifton <nickc@redhat.com>
Mon, 17 May 2004 19:50:15 +0000 (19:50 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 17 May 2004 19:50:15 +0000 (19:50 +0000)
bfd/ChangeLog
bfd/config.bfd

index b5364ed..658846f 100644 (file)
@@ -1,3 +1,10 @@
+2004-05-17  Adam Nemet  <anemet@lnxw.com> 
+
+       * config.bfd (sparc-*-lynxos* case): Add to obsolete list.
+       (m68-*-lynxos* case): Likewise.
+       (powerpc-*-lyxnos* case): New case.
+       (i[3-7]86-*-lynxos* case): Update to LynxOS 4.0 ELF.
+
 2004-05-17  David Heine  <dlheine@tensilica.com>
 
        * aout-target.h (MY_bfd_copy_private_header_data): Define.
index 8707182..53c2051 100644 (file)
@@ -31,8 +31,10 @@ targ_underscore=no
 
 # Catch obsolete configurations.
 case $targ in
- vax-*-vms*                    \
- )
+ m68*-*-lynxos* | \
+ sparc-*-lynxos* | \
+ vax-*-vms* | \
+ null)
     if test "x$enable_obsolete" != xyes; then
       echo "*** Configuration $targ is obsolete." >&2
       echo "*** Specify --enable-obsolete to build it anyway." >&2
@@ -519,8 +521,8 @@ case "${targ}" in
     ;;
 #endif
   i[3-7]86-*-lynxos*)
-    targ_defvec=i386lynx_coff_vec
-    targ_selvecs=i386lynx_aout_vec
+    targ_defvec=bfd_elf32_i386_vec
+    targ_selvecs="i386lynx_coff_vec i386lynx_aout_vec"
     ;;
   i[3-7]86-*-gnu*)
     targ_defvec=bfd_elf32_i386_vec
@@ -979,6 +981,11 @@ case "${targ}" in
   powerpc-*-macos*)
     targ_defvec=pmac_xcoff_vec
     ;;
+  powerpc-*-lynxos*)
+    targ_defvec=bfd_elf32_powerpc_vec
+    targ_selvecs="rs6000coff_vec"
+    targ_cflags=-DSMALL_ARCHIVE
+    ;;    
   powerpc-*-netware*)
     targ_defvec=bfd_elf32_powerpc_vec
     targ_selvecs="nlm32_powerpc_vec rs6000coff_vec"