aboutsummaryrefslogtreecommitdiff
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
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".
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/obj-elf.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c609b0e..fe1ef70 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2003-05-01 H.J. Lu <hjl@gnu.org>
+ * config/obj-elf.c (obj_elf_type): Accept "notype" and
+ "STT_NOTYPE".
+
+2003-05-01 H.J. Lu <hjl@gnu.org>
+
* config/tc-ia64.h (tc_canonicalize_section_name): New.
* config/obj-elf.c (obj_elf_section_name): Call
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)
;