aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-03-05 06:18:28 +0000
committerFred Fish <fnf@specifix.com>1997-03-05 06:18:28 +0000
commit1ea5264653b5c098d2d4bc2bd02c2e4b1d7c6c7a (patch)
tree3195b382fd5c52678e73d2d8fb826d6926083e51 /gas
parente74539b87672f50f30e9c1414c572872576ec9fb (diff)
downloadgdb-1ea5264653b5c098d2d4bc2bd02c2e4b1d7c6c7a.zip
gdb-1ea5264653b5c098d2d4bc2bd02c2e4b1d7c6c7a.tar.gz
gdb-1ea5264653b5c098d2d4bc2bd02c2e4b1d7c6c7a.tar.bz2
* config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
pseudo-ops.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-tic80.c12
2 files changed, 10 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c4d0c02..acc387e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,6 +1,8 @@
start-sanitize-tic80
Tue Mar 4 19:34:21 1997 Fred Fish <fnf@cygnus.com>
+ * config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
+ pseudo-ops.
* config/tc-tic80.c (md_begin): Declare external variable
coff_flags and insert an F_AR32WR bit into it.
diff --git a/gas/config/tc-tic80.c b/gas/config/tc-tic80.c
index 8dcf181..bb7b527 100644
--- a/gas/config/tc-tic80.c
+++ b/gas/config/tc-tic80.c
@@ -55,12 +55,16 @@ const char FLT_CHARS[] = "fF";
function to call to execute this pseudo-op
integer arg to pass to the function */
+extern void obj_coff_section ();
+
const pseudo_typeS md_pseudo_table[] =
{
- { "align", s_align_bytes, 4 }, /* Do byte alignment, default is a 4 byte boundary */
- { "word", cons, 4 }, /* FIXME: Should this be machine independent? */
- { "bss", s_lcomm, 1 },
- { NULL, NULL, 0 }
+ { "align", s_align_bytes, 4 }, /* Do byte alignment, default is a 4 byte boundary */
+ { "word", cons, 4 }, /* FIXME: Should this be machine independent? */
+ { "bss", s_lcomm, 1 },
+ { "sect", obj_coff_section, 0}, /* For compatibility with TI tools */
+ { "section", obj_coff_section, 0}, /* Standard COFF .section pseudo-op */
+ { NULL, NULL, 0 }
};
/* Opcode hash table. */