ld: print branch fixups into the map file for ppc elf targets
authorClément Chigot <chigot@adacore.com>
Mon, 6 Nov 2023 09:50:23 +0000 (10:50 +0100)
committerClément Chigot <chigot@adacore.com>
Wed, 8 Nov 2023 08:07:02 +0000 (09:07 +0100)
commitfb2908093576cc469c5ee8404070c8521631c019
tree14c8380cb6d378e8a537c5dfda917b6bed774c17
parent1185b5b79a12ba67eb60bee3f75babf7a222fde0
ld: print branch fixups into the map file for ppc elf targets

In a safety context, it could interesting to track the trampolines being
generated, ensuring there are expected or not.

bfd/ChangeLog:

* elf32-ppc.c (ppc_elf_relax_section): Log branch fixups.

ld/ChangeLog:

* ld.texi (--print-map): Add new item about fixups.
bfd/elf32-ppc.c
ld/ld.texi