diff options
author | Fred Fish <fnf@specifix.com> | 1996-12-28 05:59:26 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-12-28 05:59:26 +0000 |
commit | 6455664321ced2cc83219f9ec1b4b943152ea0dd (patch) | |
tree | d6bd3385f9b9331a80576e7a5ab9da4ab02261b2 /gas/config | |
parent | 6357e7f68e62ef85600908495de20eb2b28ccaa3 (diff) | |
download | gdb-6455664321ced2cc83219f9ec1b4b943152ea0dd.zip gdb-6455664321ced2cc83219f9ec1b4b943152ea0dd.tar.gz gdb-6455664321ced2cc83219f9ec1b4b943152ea0dd.tar.bz2 |
* NOTES.config (Implementation): as.h #define's "GAS" not "gas",
includes config.h instead of host.h, tc.h instead of tp.h, and
targ-env.h instead of target-environment.h.
Also, obj-format.h includes targ-cpu.h instead of
target-processor.h.
start-sanitize-tic80
(Laying groundwork, that will be incrementally fleshed out,
for TIc80 support)
* configure.in (case ${generic_target}): Add tic80-*-coff entry.
* configure: Rebuild with autoconf.
* config/obj-coff.h (coff/tic80.h): Include if TC_TIC80 defined.
(TARGET_FORMAT): Define to "coff-tic80".
* config/tc-tic80.c: New file for TIc80 support.
* config/tc-tic80.h: New file for TIc80 support.
end-sanitize-tic80
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/.Sanitize | 7 | ||||
-rw-r--r-- | gas/config/tc-tic80.c | 46 | ||||
-rw-r--r-- | gas/config/tc-tic80.h | 27 |
3 files changed, 80 insertions, 0 deletions
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index 97641cb..a83279c 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -39,6 +39,13 @@ else lose_these_too="${v850_files} ${lose_these_too}" fi +tic80_files="tc-tic80.c tc-tic80.h" + +if ( echo $* | grep keep\-tic80 > /dev/null ) ; then + keep_these_too="${tic80_files} ${keep_these_too}" +else + lose_these_too="${tic80_files} ${lose_these_too}" +fi # All files listed between the "Things-to-keep:" line and the # "Files-to-sed:" line will be kept. All other files will be removed. diff --git a/gas/config/tc-tic80.c b/gas/config/tc-tic80.c new file mode 100644 index 0000000..54664c1 --- /dev/null +++ b/gas/config/tc-tic80.c @@ -0,0 +1,46 @@ +/* tc-tic80.c -- Assemble for the TI TMS320C80 (MV) + Copyright (C) 1996 Free Software Foundation, Inc. + + This file is part of GAS, the GNU Assembler. + + GAS 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, or (at your option) + any later version. + + GAS 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 GAS; see the file COPYING. If not, write to the Free + Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ + +#include "as.h" +#include "opcode/tic80.h" + + +/* Generic assembler global variables which must be defined by all targets. */ + +/* Characters which always start a comment. */ +const char comment_chars[] = ";"; + +/* Characters which start a comment at the beginning of a line. */ +const char line_comment_chars[] = ";*"; + +/* Characters which may be used to separate multiple commands on a + single line. */ +const char line_separator_chars[] = ";"; + +/* Characters which are used to indicate an exponent in a floating + point number. */ +const char EXP_CHARS[] = "eE"; + +/* Characters which mean that a number is a floating point constant, + as in 0d1.0. */ +const char FLT_CHARS[] = "dD"; + + +/* end of tc-tic80.c */ diff --git a/gas/config/tc-tic80.h b/gas/config/tc-tic80.h new file mode 100644 index 0000000..4a3a433 --- /dev/null +++ b/gas/config/tc-tic80.h @@ -0,0 +1,27 @@ +/* This file is tc-tic80.h + + Copyright (C) 1996, Free Software Foundation, Inc. + + This file is part of GAS, the GNU Assembler. + + GAS 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, or (at your option) + any later version. + + GAS 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 GAS; see the file COPYING. If not, write to + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#define TC_TIC80 + +#define TARGET_ARCH bfd_arch_tic80 +#define BFD_ARCH TARGET_ARCH +#define COFF_MAGIC TIC80MAGIC + +/* end of tc-tic80.h */ |