diff options
author | Eric Christopher <echristo@gmail.com> | 2003-07-29 06:42:51 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2003-07-29 06:42:51 +0000 |
commit | e4bf124e034201f5668de37f6c6137af283a0a2a (patch) | |
tree | 613b01573bc98e21f832a60706f4d6038be3371d /include/elf/ppc.h | |
parent | e5de27b62398330b7f2402f3c5a9ab30c52dc1ee (diff) | |
download | cygnal-e4bf124e034201f5668de37f6c6137af283a0a2a.tar.gz cygnal-e4bf124e034201f5668de37f6c6137af283a0a2a.tar.bz2 cygnal-e4bf124e034201f5668de37f6c6137af283a0a2a.zip |
2003-07-28 Eric Christopher <echristo@redhat.com>
* elf32-ppc.c (R_PPC_RELAX32): New relocation.
(ppc_elf_install_value): New function.
(ppc_elf_sort_rela): Remove.
(ppc_elf_relax_section): Rewrite. Remove old relaxation
and replace with out of range branch stubs.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32.
2003-07-28 Eric Christopher <echristo@redhat.com>
* ppc.h (R_PPC_RELAX32): New. Fake relocation.
Diffstat (limited to 'include/elf/ppc.h')
-rw-r--r-- | include/elf/ppc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/elf/ppc.h b/include/elf/ppc.h index 52bcc1e05..54914e3cc 100644 --- a/include/elf/ppc.h +++ b/include/elf/ppc.h @@ -120,7 +120,11 @@ START_RELOC_NUMBERS (elf_ppc_reloc_type) RELOC_NUMBER (R_PPC_EMB_BIT_FLD, 115) RELOC_NUMBER (R_PPC_EMB_RELSDA, 116) - /* These are GNU extensions to enable C++ vtable garbage collection. */ +/* Fake relocation for branch stubs. This will keep them + together. */ +#define R_PPC_RELAX32 251 + +/* These are GNU extensions to enable C++ vtable garbage collection. */ RELOC_NUMBER (R_PPC_GNU_VTINHERIT, 253) RELOC_NUMBER (R_PPC_GNU_VTENTRY, 254) |