binutils-gdb/gdb/arch
Keith Seitz ac9b8c676e Constify target_desc declarations
This patch changes various global target_desc declarations to const, thereby
correcting a prominent source of ODR violations in PowerPC-related target code.
The majority of files/changes are mechanical const-ifications accomplished by
regenerating the C files in features/.

This also required manually updating mips-linux-tdep.h,  s390-linux-tdep.h,
nios2-tdep.h, s390-tdep.h, arch/ppc-linux-tdesc.h, arch/ppc-linux-common.c,
and rs6000-tdep.c.

Patch tested against the sourceware trybot, and fully regression tested against
our (Red Hat's) internal  test infrastructure on Rawhide aarch64, s390x, x86_64,
and powerpcle.

With this patch, I can finally enable LTO in our GDB package builds. [Tested
with a rawhide scratch build containing this patch.]

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22395
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=24835
2022-09-29 10:00:13 -07:00
..
aarch32.c
aarch32.h
aarch64-insn.c
aarch64-insn.h
aarch64-mte-linux.c
aarch64-mte-linux.h
aarch64.c
aarch64.h
amd64.c
amd64.h
arc.c
arc.h
arm-get-next-pcs.c
arm-get-next-pcs.h
arm-linux.c
arm-linux.h
arm.c
arm.h
csky.c gdb/csky add cskyv2-linux.xml for cskyv2-linux.c 2022-09-23 10:46:44 +08:00
csky.h gdbserver/csky add csky gdbserver support 2022-09-13 11:20:54 +08:00
i386.c
i386.h
loongarch.c
loongarch.h
ppc-linux-common.c Constify target_desc declarations 2022-09-29 10:00:13 -07:00
ppc-linux-common.h
ppc-linux-tdesc.h Constify target_desc declarations 2022-09-29 10:00:13 -07:00
riscv.c
riscv.h gdb/riscv: better support for fflags and frm registers 2022-08-31 16:07:05 +01:00
tic6x.c
tic6x.h
xtensa.h