From 1ea5264653b5c098d2d4bc2bd02c2e4b1d7c6c7a Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Wed, 5 Mar 1997 06:18:28 +0000 Subject: [PATCH] * config/tc-tic80.c (md_pseudo_table): Add "sect" and "section" pseudo-ops. --- gas/ChangeLog | 2 ++ gas/config/tc-tic80.c | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c4d0c02c861..acc387e63e1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,6 +1,8 @@ start-sanitize-tic80 Tue Mar 4 19:34:21 1997 Fred Fish + * 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 8dcf181bbdf..bb7b527c03d 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. */ -- 2.30.2