diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2008-12-15 02:32:22 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2008-12-15 02:32:22 +0000 |
commit | 0d08de41ae5b90d05788601b3daa787ef07345a3 (patch) | |
tree | 26fac6304a2926f850a390532f39ba6faf0eef9f /bfd/ChangeLog | |
parent | b2e254f9704b90a154fe9259a1ebdf43dd21cf8f (diff) | |
download | gdb-0d08de41ae5b90d05788601b3daa787ef07345a3.zip gdb-0d08de41ae5b90d05788601b3daa787ef07345a3.tar.gz gdb-0d08de41ae5b90d05788601b3daa787ef07345a3.tar.bz2 |
* elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member
r_type. Fix formatting.
(cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL>
<R_CRIS_32_PCREL>: Also break early if the symbol doesn't get
emitted as a dynamic one.
(cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork
from PCREL relocs code and simplify; don't fall through.
<R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for
pcrel only. For non-local or overridable symbols in a DSO, always
keep count of relocs, not just when -Bsymbolic. Don't emit
message nor mark as TEXTREL here.
(elf_cris_discard_excess_dso_dynamics): Emit warning and mark as
TEXTREL here, if there are nondiscarded pcrel relocs.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c9ca962..ec121d1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,19 @@ 2008-12-15 Hans-Peter Nilsson <hp@axis.com> + * elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member + r_type. Fix formatting. + (cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL> + <R_CRIS_32_PCREL>: Also break early if the symbol doesn't get + emitted as a dynamic one. + (cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork + from PCREL relocs code and simplify; don't fall through. + <R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for + pcrel only. For non-local or overridable symbols in a DSO, always + keep count of relocs, not just when -Bsymbolic. Don't emit + message nor mark as TEXTREL here. + (elf_cris_discard_excess_dso_dynamics): Emit warning and mark as + TEXTREL here, if there are nondiscarded pcrel relocs. + * elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: Initialize using ibfd, not abfd. |