From Jie Zhang <jie.zhang@analog.com>
authorBernd Schmidt <bernds@codesourcery.com>
Wed, 12 Mar 2008 14:01:28 +0000 (14:01 +0000)
committerBernd Schmidt <bernds@codesourcery.com>
Wed, 12 Mar 2008 14:01:28 +0000 (14:01 +0000)
commit2774f1a679efef2fc5f9f9a445f7c1e904a13225
tree351d7a6e68cb7f2dcab6451b18a1c7a314a1ec87
parent4fbb74a6055f7d48f09c44064073d3b1e99c6642
From Jie Zhang <jie.zhang@analog.com>
* elf32-bfin.c (struct bfinfdpic_relocs_info): Make got17m4,
gothilo, fd, fdgot17m4, fdgothilo, fdgoff17m4, fdgoffhilo,
gotoff, call and sym not bitfields.
(bfinfdpic_gc_sweep_hook): New function; update the relocation
information for the relocations of the section being removed.
(bfinfdpic_check_relocs): Accumulate the number of relocations
which set got17m4, gothilo, fd, fdgot17m4, fdgothilo, fdgoff17m4,
fdgoffhilo, gotoff, call and sym fields.
(elf_backend_gc_sweep_hook): Redefine for FD-PIC.
bfd/ChangeLog
bfd/elf32-bfin.c