diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2004-12-16 16:56:00 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2004-12-16 16:56:00 +0000 |
commit | 0f194bf0e4cbdddef939679ec019fc6646ca27c9 (patch) | |
tree | 3afe3e06ae91410af8b50d5babe478c2450b8210 /include | |
parent | ef75fa3ef3ec7984c9f45f4b99b7c5882760c9c0 (diff) | |
download | gdb-0f194bf0e4cbdddef939679ec019fc6646ca27c9.tar.gz |
include/elf/
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc.
bfd/
* reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type.
* elf32-v850.c (v850_elf_howto_table): Add entry for
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET.
(v850_elf_perform_lo16_relocation): New function, extracted from...
(v850_elf_perform_relocation): ...here. Use it to handle
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_check_relocs, v850_elf_final_link_relocate): Handle
R_V850_LO16_SPLIT_OFFSET.
* libbfd.h, bfd-in2.h: Regenerate.
gas/
* config/tc-v850.c (handle_lo16): New function.
(v850_reloc_prefix): Use it to check lo().
(md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.
gas/testsuite/
* gas/v850/split-lo16.{s,d}: New test.
* gas/v850/v850.exp: Run it.
ld/testsuite/
* ld-v850: New directory.
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/v850.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index f4f961d9b2f..ea49947f593 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2004-12-16 Richard Sandiford <rsandifo@redhat.com> + + * v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc. + 2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> * mips.h (E_MIPS_MACH_9000): Define. diff --git a/include/elf/v850.h b/include/elf/v850.h index 7d5110b3342..f42900532c5 100644 --- a/include/elf/v850.h +++ b/include/elf/v850.h @@ -79,6 +79,7 @@ START_RELOC_NUMBERS (v850_reloc_type) RELOC_NUMBER (R_V850_LONGJUMP, 26) RELOC_NUMBER (R_V850_ALIGN, 27) RELOC_NUMBER (R_V850_REL32, 28) + RELOC_NUMBER (R_V850_LO16_SPLIT_OFFSET, 29) /* For ld.bu */ END_RELOC_NUMBERS (R_V850_max) |