aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-02-26 08:16:24 +1030
committerAlan Modra <amodra@gmail.com>2018-02-26 10:51:12 +1030
commit6838f2bed6459514c1b0c549e6aa3fc7dbb1d7ec (patch)
tree6a208a96143d2826c120abb1083e21e501a5e609 /gas/doc
parentdf5f2391f7b2e3cab7e677ab7dadd02aef06e269 (diff)
downloadgdb-6838f2bed6459514c1b0c549e6aa3fc7dbb1d7ec.zip
gdb-6838f2bed6459514c1b0c549e6aa3fc7dbb1d7ec.tar.gz
gdb-6838f2bed6459514c1b0c549e6aa3fc7dbb1d7ec.tar.bz2
Segfault on phdrs allocated but not created
A number of ARM tests show results like: ld-new: no address assigned to the veneers output section .gnu.sgstubs ld-new: can not size stub section: invalid operation ld-new: warning: cannot find entry symbol _start; defaulting to 0000000000010074 ld-new: tmpdir/cmse-veneers-no-gnu_sgstubs: warning: allocated section `.text' not in segment Segmentation fault PASS: Secure gateway veneers: no .gnu.sgstubs section The PASS despite the segv shows the danger of using "#..." to match error output. This patch doesn't try to fix the testuite, but does prevent the segfault. * elf.c (assign_file_positions_except_relocs): Don't segfault when actual number of phdrs is less than allocated. Delete outdated comment. Formatting.
Diffstat (limited to 'gas/doc')
0 files changed, 0 insertions, 0 deletions