| 23 |
#include "libbfd.h" |
#include "libbfd.h" |
| 24 |
#include "elf-bfd.h" |
#include "elf-bfd.h" |
| 25 |
#include "elf/bfin.h" |
#include "elf/bfin.h" |
| 26 |
#include "elf/dwarf2.h" |
#include "dwarf2.h" |
| 27 |
#include "hashtab.h" |
#include "hashtab.h" |
| 28 |
|
|
| 29 |
/* FUNCTION : bfin_pltpc_reloc |
/* FUNCTION : bfin_pltpc_reloc |
| 1123 |
bfin local labels begin with L$. */ |
bfin local labels begin with L$. */ |
| 1124 |
static bfd_boolean |
static bfd_boolean |
| 1125 |
bfin_is_local_label_name ( |
bfin_is_local_label_name ( |
| 1126 |
bfd *abfd ATTRIBUTE_UNUSED, |
bfd *abfd, |
| 1127 |
const char *label) |
const char *label) |
| 1128 |
{ |
{ |
| 1129 |
if (label[0] == 'L' && label[1] == '$' ) |
if (label[0] == 'L' && label[1] == '$' ) |
| 3351 |
relocate independently. */ |
relocate independently. */ |
| 3352 |
static bfd_boolean |
static bfd_boolean |
| 3353 |
_bfinfdpic_link_omit_section_dynsym (bfd *output_bfd ATTRIBUTE_UNUSED, |
_bfinfdpic_link_omit_section_dynsym (bfd *output_bfd ATTRIBUTE_UNUSED, |
| 3354 |
struct bfd_link_info *info |
struct bfd_link_info *info ATTRIBUTE_UNUSED, |
| 3355 |
ATTRIBUTE_UNUSED, |
asection *p) |
|
asection *p ATTRIBUTE_UNUSED) |
|
| 3356 |
{ |
{ |
| 3357 |
switch (elf_section_data (p)->this_hdr.sh_type) |
switch (elf_section_data (p)->this_hdr.sh_type) |
| 3358 |
{ |
{ |
| 4414 |
|
|
| 4415 |
static bfd_boolean |
static bfd_boolean |
| 4416 |
elf32_bfinfdpic_adjust_dynamic_symbol |
elf32_bfinfdpic_adjust_dynamic_symbol |
| 4417 |
(struct bfd_link_info *info ATTRIBUTE_UNUSED, |
(struct bfd_link_info *info, |
| 4418 |
struct elf_link_hash_entry *h ATTRIBUTE_UNUSED) |
struct elf_link_hash_entry *h) |
| 4419 |
{ |
{ |
| 4420 |
bfd * dynobj; |
bfd * dynobj; |
| 4421 |
|
|
| 4966 |
{ |
{ |
| 4967 |
struct elf_link_hash_table root; |
struct elf_link_hash_table root; |
| 4968 |
|
|
| 4969 |
/* Small local sym to section mapping cache. */ |
/* Small local sym cache. */ |
| 4970 |
struct sym_sec_cache sym_sec; |
struct sym_cache sym_cache; |
| 4971 |
}; |
}; |
| 4972 |
|
|
| 4973 |
#define bfin_hash_entry(ent) ((struct bfin_link_hash_entry *) (ent)) |
#define bfin_hash_entry(ent) ((struct bfin_link_hash_entry *) (ent)) |
| 5013 |
return NULL; |
return NULL; |
| 5014 |
} |
} |
| 5015 |
|
|
| 5016 |
ret->sym_sec.abfd = NULL; |
ret->sym_cache.abfd = NULL; |
| 5017 |
|
|
| 5018 |
return &ret->root.root; |
return &ret->root.root; |
| 5019 |
} |
} |