aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-03-20 21:23:10 +0000
committerIan Lance Taylor <ian@airs.com>1997-03-20 21:23:10 +0000
commitac388f2a39904e6d7b48727a42e78e0bb18be430 (patch)
treee6215ccdf877e50da4de184f98f2111af979f706 /bfd/config.bfd
parent593f97fe13afe11dee237a0903b57b6f4515c2f6 (diff)
downloadgdb-ac388f2a39904e6d7b48727a42e78e0bb18be430.zip
gdb-ac388f2a39904e6d7b48727a42e78e0bb18be430.tar.gz
gdb-ac388f2a39904e6d7b48727a42e78e0bb18be430.tar.bz2
Based on patches from Philippe De Muyter <phdm@info.ucl.ac.be>.
* coff-svm68k.c: New file. Just defines some macros and includes coff-m68k.c. * coff-m68k.c: Add functions to handle common addends, moved in from cf-m68klynx.c. Control them using COFF_COMMON_ADDEND macro. Control whether relocs are visible using STATIC_RELOCS. * cf-m68klynx.c: Simplify greatly: just define macros to control coff-m68k.c. * coff-aux.c: Likewise. Just leave add_one_symbol routine. * targets. (m68ksysvcoff_vec): Declare. (bfd_target_vector): Add m68ksysvcoff_vec. * config.bfd (m68*-motorola-sysv*): New target. * configure.in (m68ksysvcoff_vec): New vector. * configure: Rebuild. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add coff-svm68k.o. (BFD32_BACKENDS_CFILES): Add coff-svm68k.c.
Diffstat (limited to 'bfd/config.bfd')
-rwxr-xr-xbfd/config.bfd11
1 files changed, 8 insertions, 3 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 77f0d9b..5d1bb9e 100755
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -108,11 +108,9 @@ case "${targ}" in
targ_underscore=yes
;;
-# start-sanitize-d10v
d10v-*-*)
targ_defvec=bfd_elf32_d10v_vec
;;
-# end-sanitize-d10v
# start-sanitize-d30v
d30v-*-*)
@@ -262,6 +260,9 @@ case "${targ}" in
targ_defvec=m68kcoffun_vec
targ_underscore=yes
;;
+ m68*-motorola-sysv*)
+ targ_defvec=m68ksysvcoff_vec
+ ;;
m68*-hp-bsd*)
targ_defvec=hp300bsd_vec
targ_underscore=yes
@@ -387,6 +388,10 @@ case "${targ}" in
targ_defvec=ecoff_big_vec
targ_selvecs=ecoff_little_vec
;;
+ mips*-*-lnews*)
+ targ_defvec=ecoff_biglittle_vec
+ targ_selvecs="ecoff_little_vec ecoff_big_vec"
+ ;;
mips*-*-mach3*)
targ_defvec=aout_mips_little_vec
targ_cflags=-DSTAT_FOR_EXEC
@@ -437,7 +442,7 @@ case "${targ}" in
targ_underscore=yes
;;
- powerpc-*-aix*)
+ powerpc-*-aix* | powerpc-*-beos*)
targ_defvec=rs6000coff_vec
;;
powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \