From e7b9a8c1d08ede4b41cd3c92fc3d06e81846ac95 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 2 May 2003 03:01:44 +0000 Subject: [PATCH] 2003-05-01 H.J. Lu * config/obj-elf.c (obj_elf_type): Accept "notype" and "STT_NOTYPE". --- gas/ChangeLog | 5 +++++ gas/config/obj-elf.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index c609b0e4d00..fe1ef70e3cc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-05-01 H.J. Lu + + * config/obj-elf.c (obj_elf_type): Accept "notype" and + "STT_NOTYPE". + 2003-05-01 H.J. Lu * config/tc-ia64.h (tc_canonicalize_section_name): New. diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index f61285aa417..08e131fe30d 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) ; -- 2.30.2