aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.disasm/h8300s.s
AgeCommit message (Collapse)AuthorFilesLines
2022-10-25[gdb/testsuite] Handle missing .note.GNU-stackTom de Vries1-0/+1
On openSUSE Tumbleweed I run into this for the dwarf assembly test-cases, and some hardcoded assembly test-cases: ... Running gdb.dwarf2/fission-absolute-dwo.exp ... gdb compile failed, ld: warning: fission-absolute-dwo.o: \ missing .note.GNU-stack section implies executable stack ld: NOTE: This behaviour is deprecated and will be removed in a future \ version of the linker === gdb Summary === # of untested testcases 1 ... Fix the dwarf assembly test-cases by adding the missing .note.GNU-stack in proc Dwarf::assemble. Fix the hard-coded test-cases using this command: ... $ for f in $(find gdb/testsuite/gdb.* -name *.S); do if ! grep -q note.GNU-stack $f; then echo -e "\t.section\t.note.GNU-stack,\"\",@progbits" >> $f; fi; done ... Likewise for .s files, and gdb/testsuite/lib/my-syscalls.S. The idiom for arm seems to be to use %progbits instead, see commit 9a5911c08be ("gdb/testsuite/gdb.dwarf2: Replace @ with % for ARM compatability"), so hand-edit gdb/testsuite/gdb.arch/arm-disp-step.S to use %progbits instead. Note that dwarf assembly testcases use %progbits as decided by proc _section. Tested on x86_64-linux. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29674
2003-08-112003-07-22 Michael Snyder <msnyder@redhat.com>Michael Snyder1-2/+2
* gdb.disasm/8300s.s: Fix syntax of bsr insn. * gdb.disasm/h8300s.exp : Minor changes in disassembler output require patterns to be more general, accepting old and new output. Some output chars (such as '+') also must be quoted. Some addresses are displayed numerically instead of symbolically.
2001-06-28* gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to listAndrew Cagney1-0/+356
of files to delete. From 2000-06-15 Kazu Hirata <kazu@hxi.com>: * gdb.disasm/h8300s.exp: New file. gdb.disasm/h8300s.s: Likewise.