mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
PowerPC HOWTOs
These take up far too many lines in the files. This patch introduces a replacement for the HOWTO macro that simplifies the relow howto initialization. Apart from the two relocs mentioned in the ChangeLog, no relocation howto is changed. * elf64-ppc.c (HOW): Define. (ONES): Delete. (ppc64_elf_howto_raw): Use HOW to initialize entries. * elf32-ppc.c (HOW): Define. (ppc_elf_howto_raw): Use HOW to initialize entries, updating R_PPC_VLE_REL15 and R_PPC_VLE_REL24 to use bitpos=0.
This commit is contained in:
parent
706704c883
commit
46807bf451
@ -1,3 +1,12 @@
|
||||
2018-08-21 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf64-ppc.c (HOW): Define.
|
||||
(ONES): Delete.
|
||||
(ppc64_elf_howto_raw): Use HOW to initialize entries.
|
||||
* elf32-ppc.c (HOW): Define.
|
||||
(ppc_elf_howto_raw): Use HOW to initialize entries, updating
|
||||
R_PPC_VLE_REL15 and R_PPC_VLE_REL24 to use bitpos=0.
|
||||
|
||||
2018-08-21 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* reloc.c (reloc_howto_type): Typedef.
|
||||
|
1619
bfd/elf32-ppc.c
1619
bfd/elf32-ppc.c
File diff suppressed because it is too large
Load Diff
1940
bfd/elf64-ppc.c
1940
bfd/elf64-ppc.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user