mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-13 21:49:40 +00:00
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.
This commit is contained in:
parent
ac400888b3
commit
34f708754e
@ -1,3 +1,7 @@
|
||||
2003-07-28 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/obj-elf.c (obj_elf_section_type): Also accept "note".
|
||||
|
||||
2003-07-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* read.c (s_space): Don't warn about .space 0.
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
||||
2003-07-26 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* gas/ppc/altivec.d: Update.
|
||||
|
@ -54,6 +54,7 @@ if { ([istarget "*-*-elf*"]
|
||||
run_dump_test "section0"
|
||||
run_dump_test "section1"
|
||||
run_list_test "section2" "$target_machine" "-al" ""
|
||||
run_dump_test "section3"
|
||||
run_dump_test "symver"
|
||||
run_list_test "type" "" "" "| grep \"1 \\\[FONT\\\]\""
|
||||
}
|
||||
|
6
gas/testsuite/gas/elf/section3.d
Normal file
6
gas/testsuite/gas/elf/section3.d
Normal file
@ -0,0 +1,6 @@
|
||||
#readelf: -S
|
||||
#name: note section
|
||||
|
||||
#...
|
||||
[ ]*\[.*\][ ]+\.foo[ ]+NOTE.*
|
||||
#pass
|
2
gas/testsuite/gas/elf/section3.s
Normal file
2
gas/testsuite/gas/elf/section3.s
Normal file
@ -0,0 +1,2 @@
|
||||
.section .foo,"","note"
|
||||
.byte 0,0,0,0
|
Loading…
x
Reference in New Issue
Block a user