aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmisc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-03-11 10:04:53 +1030
committerAlan Modra <amodra@gmail.com>2020-03-11 15:00:44 +1030
commit1db6f990303ab6c45909f8e133641ef6c24a04d2 (patch)
treed0351e34b9b423d3f200d44b4549a9f46de23ea4 /ld/ldmisc.c
parent1c33af7764d9f4eabc02e0f6f6df99917fbce0a6 (diff)
downloadbinutils-1db6f990303ab6c45909f8e133641ef6c24a04d2.zip
binutils-1db6f990303ab6c45909f8e133641ef6c24a04d2.tar.gz
binutils-1db6f990303ab6c45909f8e133641ef6c24a04d2.tar.bz2
Don't merge sections with differing MASKPROC or MASKOS flags
Not just SHF_EXCLUDE but any of these flags ought to prevent merging of sections for ld -r. * ldelf.c (elf_orphan_compatible): Return false when two sections have differing SHF_MASKPROC or SHF_MASKOS flags.
Diffstat (limited to 'ld/ldmisc.c')
0 files changed, 0 insertions, 0 deletions