From Jie Zhang <jie.zhang@analog.com>
commit88b0ae7443ffe2acaeee4acdc9e3b8bb5812e544
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 12 Mar 2008 14:01:28 +0000 (12 14:01 +0000)
committerBernd Schmidt <bernd.schmidt@analog.com>
Wed, 12 Mar 2008 14:01:28 +0000 (12 14:01 +0000)
tree9aca1f37b02ad3b74d9e7c121451d542106c80da
parent3e2de6f24e4c56c3fc31441db0a5e94a6a243b2f
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