aboutsummaryrefslogtreecommitdiff
path: root/gdb/go-lang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-04-24 19:19:37 +0930
committerAlan Modra <amodra@gmail.com>2015-07-10 19:57:37 +0930
commit69ce3f1e12979420bbc699e791a403cbeb28740e (patch)
treec9875634a4c2ec2b3093de2ea3e4db1e829a1728 /gdb/go-lang.c
parent143e21ad43a55246809636b975891ec64250246d (diff)
downloadgdb-69ce3f1e12979420bbc699e791a403cbeb28740e.zip
gdb-69ce3f1e12979420bbc699e791a403cbeb28740e.tar.gz
gdb-69ce3f1e12979420bbc699e791a403cbeb28740e.tar.bz2
Non-alloc sections don't belong in PT_LOAD segments
Taking them out showed a bug in the powerpc64 backend with .branch_lt being removed from output_bfd but not from previously set up segment section maps. Removing the bfd sections meant their sh_flags (and practically everything else) remaining zero, ie. not SHF_ALLOC, triggering complaints about "`.branch_lt' can't be allocated in segment". include/elf/ * internal.h (ELF_SECTION_IN_SEGMENT_1): Ensure PT_LOAD and similar segments only contain alloc sections. ld/ * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
Diffstat (limited to 'gdb/go-lang.c')
0 files changed, 0 insertions, 0 deletions