diff options
author | Nick Clifton <nickc@redhat.com> | 2003-05-21 12:07:56 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-05-21 12:07:56 +0000 |
commit | 87ccc1b08d2b8dd682d8d82b3bf3eea405474f60 (patch) | |
tree | bbed6a69514f94b39629ae766d7feebca44302bc /gas/config/obj-elf.c | |
parent | 7ed2c8b0264cbcdcd2b8222bf444e960a9690bce (diff) | |
download | gdb-87ccc1b08d2b8dd682d8d82b3bf3eea405474f60.zip gdb-87ccc1b08d2b8dd682d8d82b3bf3eea405474f60.tar.gz gdb-87ccc1b08d2b8dd682d8d82b3bf3eea405474f60.tar.bz2 |
Move .file and .loc pseudo ops into obj-elf.c
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r-- | gas/config/obj-elf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index ac836d7..18cf50d 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -25,6 +25,7 @@ #include "subsegs.h" #include "obstack.h" #include "struc-symbol.h" +#include "dwarf2dbg.h" #ifndef ECOFF_DEBUGGING #define ECOFF_DEBUGGING 0 @@ -126,6 +127,9 @@ static const pseudo_typeS elf_pseudo_table[] = {"2byte", cons, 2}, {"4byte", cons, 4}, {"8byte", cons, 8}, + /* These are used for dwarf2. */ + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, + { "loc", dwarf2_directive_loc, 0 }, /* We need to trap the section changing calls to handle .previous. */ {"data", obj_elf_data, 0}, |