binutils-gdb/include/elf
Alan Modra baf46cd780 ARM CMSE symbols
This patch removes use of st_target_internal to cache the result of
comparing symbol names against CMSE_PREFIX.  The problem with setting
a bit in st_target_internal in swap_symbol_in is that calling
bfd_elf_sym_name from swap_symbol_in requires symtab_hdr, and you
don't know for sure whether swap_symbol_in is operating on dynsyms
(and thus elf_tdata (abfd)->dynsymtab_hdr should be used) or on the
normal symtab (thus elf_tdata (abfd)->symtab_hdr).  You can make an
educated guess based on abfd->flags & DYNAMIC but that relies on
knowing a lot about calls to bfd_elf_get_elf_syms, and is fragile in
the face of possible future changes.

include/
	* elf/arm.h (ARM_GET_SYM_CMSE_SPCL, ARM_SET_SYM_CMSE_SPCL): Delete.
bfd/
	* elf32-arm.c (cmse_scan): Don't use ARM_GET_SYM_CMSE_SPCL,
	instead recognize CMSE_PREFIX in symbol name.
	(elf32_arm_gc_mark_extra_sections): Likewise.
	(elf32_arm_filter_cmse_symbols): Don't test ARM_GET_SYM_CMSE_SPCL.
	(elf32_arm_swap_symbol_in): Don't invoke ARM_SET_SYM_CMSE_SPCL.
2019-08-22 14:14:23 +09:30
..
aarch64.h Add R_AARCH64_P32_MOVW_PREL_* ELF32 relocs 2019-06-14 12:02:19 +01:00
alpha.h
arc-cpu.def
arc-reloc.def
arc.h
arm.h ARM CMSE symbols 2019-08-22 14:14:23 +09:30
avr.h
bfin.h
bpf.h include: add elf/bpf.h 2019-05-23 19:32:58 +02:00
ChangeLog-0415
ChangeLog-9103
common.h
cr16.h
cr16c.h
cris.h
crx.h
csky.h
d10v.h
d30v.h
dlx.h
dwarf.h
epiphany.h
external.h
fr30.h
frv.h
ft32.h
h8.h
hppa.h
i370.h
i386.h
i860.h
i960.h
ia64.h
internal.h PT_GNU_MBIND section mapping 2019-07-24 16:12:01 +09:30
ip2k.h
iq2000.h
lm32.h
m32c.h
m32r.h
m68hc11.h
m68k.h
mcore.h
mep.h
metag.h
microblaze.h
mips.h Add support for a MIPS specific .MIPS.xhash section. 2019-08-09 11:06:37 +01:00
mmix.h
mn10200.h
mn10300.h
moxie.h
msp430.h
mt.h
nds32.h
nfp.h
nios2.h
or1k.h
pj.h
ppc64.h [PowerPC64] pc-relative TLS relocations 2019-07-19 18:01:25 +09:30
ppc.h
pru.h
reloc-macros.h
riscv.h
rl78.h
rx.h
s12z.h
s390.h
score.h
sh.h
sparc.h
spu.h
tic6x-attrs.h
tic6x.h
tilegx.h
tilepro.h
v850.h
vax.h
visium.h
vxworks.h
wasm32.h
x86-64.h
xc16x.h
xgate.h
xstormy16.h
xtensa.h