aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-05-17 19:50:16 +0000
committerNick Clifton <nickc@redhat.com>2004-05-17 19:50:16 +0000
commitb2d65c0b3f25a0ab30d1a4cd6a4f9000b4af239a (patch)
treefdc8a19030419cbdfd6507f7d31b87f9fdd4ca4b /bfd/config.bfd
parent3c0b7db215a4d9b800ba6b97b88280ed2d61b80d (diff)
downloadgdb-b2d65c0b3f25a0ab30d1a4cd6a4f9000b4af239a.zip
gdb-b2d65c0b3f25a0ab30d1a4cd6a4f9000b4af239a.tar.gz
gdb-b2d65c0b3f25a0ab30d1a4cd6a4f9000b4af239a.tar.bz2
Add PowerPC LynxOS support
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r--bfd/config.bfd15
1 files changed, 11 insertions, 4 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 8707182..53c2051 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -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"