aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-05-02 03:01:44 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-05-02 03:01:44 +0000
commite7b9a8c1d08ede4b41cd3c92fc3d06e81846ac95 (patch)
tree9612cc5eb0299f51ec473c0feede80a23863d4f1 /gas/config/obj-elf.c
parent5c1aa77e6901df57b3bb6292212b93ed73757497 (diff)
downloadgdb-e7b9a8c1d08ede4b41cd3c92fc3d06e81846ac95.zip
gdb-e7b9a8c1d08ede4b41cd3c92fc3d06e81846ac95.tar.gz
gdb-e7b9a8c1d08ede4b41cd3c92fc3d06e81846ac95.tar.bz2
2003-05-01 H.J. Lu <hjl@gnu.org>
* config/obj-elf.c (obj_elf_type): Accept "notype" and "STT_NOTYPE".
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r--gas/config/obj-elf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index f61285a..08e131f 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -1648,6 +1648,9 @@ obj_elf_type (ignore)
else if (strcmp (typename, "tls_object") == 0
|| strcmp (typename, "STT_TLS") == 0)
type = BSF_OBJECT | BSF_THREAD_LOCAL;
+ else if (strcmp (typename, "notype") == 0
+ || strcmp (typename, "STT_NOTYPE") == 0)
+ ;
#ifdef md_elf_symbol_type
else if ((type = md_elf_symbol_type (typename, sym, elfsym)) != -1)
;