diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-03-20 21:23:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-03-20 21:23:10 +0000 |
commit | ac388f2a39904e6d7b48727a42e78e0bb18be430 (patch) | |
tree | e6215ccdf877e50da4de184f98f2111af979f706 /bfd/coff-svm68k.c | |
parent | 593f97fe13afe11dee237a0903b57b6f4515c2f6 (diff) | |
download | gdb-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/coff-svm68k.c')
-rw-r--r-- | bfd/coff-svm68k.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/bfd/coff-svm68k.c b/bfd/coff-svm68k.c new file mode 100644 index 0000000..3d2a5a7 --- /dev/null +++ b/bfd/coff-svm68k.c @@ -0,0 +1,26 @@ +/* BFD back-end for Motorola sysv68 + Copyright 1997 Free Software Foundation, Inc. + Written by Philippe De Muyter <phdm@info.ucl.ac.be>. + +This file is part of BFD, the Binary File Descriptor library. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#define TARGET_SYM m68ksysvcoff_vec +#define TARGET_NAME "coff-m68k-sysv" +#define STATIC_RELOCS +#define COFF_COMMON_ADDEND + +#include "coff-m68k.c" |