aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-07-29 02:03:33 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-07-29 02:03:33 +0000
commit34f708754e8396d5ae952c55db1d6e313e889d61 (patch)
tree1a61583d93d05340fd3835b669f61613d9d4947e /gas/config
parentac400888b378fbd66bab068e1c46cd1edf699082 (diff)
downloadgdb-34f708754e8396d5ae952c55db1d6e313e889d61.zip
gdb-34f708754e8396d5ae952c55db1d6e313e889d61.tar.gz
gdb-34f708754e8396d5ae952c55db1d6e313e889d61.tar.bz2
gas/
2003-07-28 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (obj_elf_section_type): Also accept "note". gas/testsuite/ 2003-07-28 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Add section3 for note section. * gas/elf/section3.d: New file. * gas/elf/section3.s: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-elf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index 8687965..7a2ad34 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -844,6 +844,8 @@ obj_elf_section_type (str, len)
return SHT_PROGBITS;
if (len == 6 && strncmp (str, "nobits", 6) == 0)
return SHT_NOBITS;
+ if (len == 4 && strncmp (str, "note", 4) == 0)
+ return SHT_NOTE;
#ifdef md_elf_section_type
{