2001-08-27 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Add prototype. (_bfd_mips_elf_copy_indirect_symbol): Likewise. (_bfd_elf32_mips_grok_prstatus): Likewise. (_bfd_elf32_mips_grok_psinfo): Likewise. (_bfd_mips_elf_hide_symbol): Make it static and cast to `struct mips_elf_link_hash_entry *'. (_bfd_mips_elf_copy_indirect_symbol): Make it static.
This commit is contained in:
parent
e88b7c9780
commit
9e80ff3a40
2 changed files with 27 additions and 5 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
2001-08-27 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Add prototype.
|
||||||
|
(_bfd_mips_elf_copy_indirect_symbol): Likewise.
|
||||||
|
(_bfd_elf32_mips_grok_prstatus): Likewise.
|
||||||
|
(_bfd_elf32_mips_grok_psinfo): Likewise.
|
||||||
|
(_bfd_mips_elf_hide_symbol): Make it static and cast to
|
||||||
|
`struct mips_elf_link_hash_entry *'.
|
||||||
|
(_bfd_mips_elf_copy_indirect_symbol): Make it static.
|
||||||
|
|
||||||
2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
|
2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
|
||||||
* mipsbsd.c: Add missing prototypes.
|
* mipsbsd.c: Add missing prototypes.
|
||||||
|
|
|
@ -210,6 +210,15 @@ static boolean mips_elf_stub_section_p
|
||||||
PARAMS ((bfd *, asection *));
|
PARAMS ((bfd *, asection *));
|
||||||
static int sort_dynamic_relocs
|
static int sort_dynamic_relocs
|
||||||
PARAMS ((const void *, const void *));
|
PARAMS ((const void *, const void *));
|
||||||
|
static void _bfd_mips_elf_hide_symbol
|
||||||
|
PARAMS ((struct bfd_link_info *, struct elf_link_hash_entry *));
|
||||||
|
static void _bfd_mips_elf_copy_indirect_symbol
|
||||||
|
PARAMS ((struct elf_link_hash_entry *,
|
||||||
|
struct elf_link_hash_entry *));
|
||||||
|
static boolean _bfd_elf32_mips_grok_prstatus
|
||||||
|
PARAMS ((bfd *, Elf_Internal_Note *));
|
||||||
|
static boolean _bfd_elf32_mips_grok_psinfo
|
||||||
|
PARAMS ((bfd *, Elf_Internal_Note *));
|
||||||
|
|
||||||
extern const bfd_target bfd_elf32_tradbigmips_vec;
|
extern const bfd_target bfd_elf32_tradbigmips_vec;
|
||||||
extern const bfd_target bfd_elf32_tradlittlemips_vec;
|
extern const bfd_target bfd_elf32_tradlittlemips_vec;
|
||||||
|
@ -3999,14 +4008,16 @@ mips_elf_link_hash_newfunc (entry, table, string)
|
||||||
return (struct bfd_hash_entry *) ret;
|
return (struct bfd_hash_entry *) ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
_bfd_mips_elf_hide_symbol (info, h)
|
_bfd_mips_elf_hide_symbol (info, entry)
|
||||||
struct bfd_link_info *info;
|
struct bfd_link_info *info;
|
||||||
struct mips_elf_link_hash_entry *h;
|
struct elf_link_hash_entry *entry;
|
||||||
{
|
{
|
||||||
bfd *dynobj;
|
bfd *dynobj;
|
||||||
asection *got;
|
asection *got;
|
||||||
struct mips_got_info *g;
|
struct mips_got_info *g;
|
||||||
|
struct mips_elf_link_hash_entry *h;
|
||||||
|
h = (struct mips_elf_link_hash_entry *) entry;
|
||||||
dynobj = elf_hash_table (info)->dynobj;
|
dynobj = elf_hash_table (info)->dynobj;
|
||||||
got = bfd_get_section_by_name (dynobj, ".got");
|
got = bfd_get_section_by_name (dynobj, ".got");
|
||||||
g = (struct mips_got_info *) elf_section_data (got)->tdata;
|
g = (struct mips_got_info *) elf_section_data (got)->tdata;
|
||||||
|
@ -8065,7 +8076,7 @@ _bfd_mips_elf_gc_sweep_hook (abfd, info, sec, relocs)
|
||||||
hiding the old indirect symbol. Process additional relocation
|
hiding the old indirect symbol. Process additional relocation
|
||||||
information. */
|
information. */
|
||||||
|
|
||||||
void
|
static void
|
||||||
_bfd_mips_elf_copy_indirect_symbol (dir, ind)
|
_bfd_mips_elf_copy_indirect_symbol (dir, ind)
|
||||||
struct elf_link_hash_entry *dir, *ind;
|
struct elf_link_hash_entry *dir, *ind;
|
||||||
{
|
{
|
||||||
|
@ -9170,7 +9181,8 @@ _bfd_elf32_mips_grok_prstatus (abfd, note)
|
||||||
raw_size, note->descpos + offset);
|
raw_size, note->descpos + offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean _bfd_elf32_mips_grok_psinfo (abfd, note)
|
static boolean
|
||||||
|
_bfd_elf32_mips_grok_psinfo (abfd, note)
|
||||||
bfd *abfd;
|
bfd *abfd;
|
||||||
Elf_Internal_Note *note;
|
Elf_Internal_Note *note;
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue