OSDN Git Service

From Jie Zhang <jie.zhang@analog.com>
authorbernds <bernds>
Wed, 12 Mar 2008 14:01:27 +0000 (14:01 +0000)
committerbernds <bernds>
Wed, 12 Mar 2008 14:01:27 +0000 (14:01 +0000)
commit10aa8b8d5ee5527603b2e57fd32ce39aa6bb1a31
tree632e413ee2375c6573857571d46ca80e084c0411
parent47a6311256737ab9fb21c69d74fcc01214bb3eac
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