diff options
author | Alan Modra <amodra@gmail.com> | 2003-05-20 07:58:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-05-20 07:58:07 +0000 |
commit | 54cfded08ec4835361d381d602fe3f845a45c118 (patch) | |
tree | 74ca96db0684fe552779ec353d72fe7b4e37c9e2 /gas/read.c | |
parent | 58da2eb2121a5931361d4f1df6888799ff6affc3 (diff) | |
download | gdb-54cfded08ec4835361d381d602fe3f845a45c118.zip gdb-54cfded08ec4835361d381d602fe3f845a45c118.tar.gz gdb-54cfded08ec4835361d381d602fe3f845a45c118.tar.bz2 |
* 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
@@ -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() \ |