diff options
author | Alan Modra <amodra@bigpond.net.au> | 2003-05-20 07:58:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2003-05-20 07:58:07 +0000 |
commit | e25bbcb11151045c4e96d7ff1dd0d8a8b9faf17f (patch) | |
tree | 4ea588ae03fa90ce552a690942ee4e24a0620684 /gas/read.c | |
parent | a19d292506a394c53f7f67d300d442d559281efe (diff) | |
download | binutils-redhat-e25bbcb11151045c4e96d7ff1dd0d8a8b9faf17f.tar.gz |
* dw2gencfi.c, dw2gencfi.h: New files.
* config/tc-i386.c (tc_x86_cfi_init): New function.
* config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
* as.c (parse_args): Set verbose flag on --verbose.
(main): Call tc_cfi_init()/cfi_finish().
* as.h (verbose): New external variable.
* read.c (pobegin): Insert CFI pops to the list.
* symbols.c (local_symbol_make): Make symbol external.
* symbols.h (local_symbol_make): New prototype.
* Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
* Makefile.in: Regenerate.
* doc/as.texinfo: Added node "CFI directives" with description of
all implemented .cfi_* directives.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
Diffstat (limited to 'gas/read.c')
-rw-r--r-- | gas/read.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c index 07f8238d07..d75083e546 100644 --- a/gas/read.c +++ b/gas/read.c @@ -43,6 +43,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "obstack.h" #include "listing.h" #include "ecoff.h" +#include "dw2gencfi.h" #ifndef TC_START_LABEL #define TC_START_LABEL(x,y) (x == ':') @@ -451,6 +452,10 @@ pop_insert (table) #define obj_pop_insert() pop_insert(obj_pseudo_table) #endif +#ifndef cfi_pop_insert +#define cfi_pop_insert() pop_insert(cfi_pseudo_table) +#endif + static void pobegin () { @@ -468,6 +473,12 @@ pobegin () /* Now portable ones. Skip any that we've seen already. */ pop_table_name = "standard"; pop_insert (potable); + +#ifdef TARGET_USE_CFIPOP + pop_table_name = "cfi"; + pop_override_ok = 1; + cfi_pop_insert (); +#endif } #define HANDLE_CONDITIONAL_ASSEMBLY() \ |