projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
[deliverable/binutils-gdb.git]
/
bfd
/
elfxx-tilegx.c
diff --git
a/bfd/elfxx-tilegx.c
b/bfd/elfxx-tilegx.c
index accf34b33cedf09da28ca80f191b415593c4c904..e206bc72d6b5bdc1283d61d6a7bdf2b3baa53c5e 100644
(file)
--- a/
bfd/elfxx-tilegx.c
+++ b/
bfd/elfxx-tilegx.c
@@
-1,5
+1,5
@@
/* TILE-Gx-specific support for ELF.
/* TILE-Gx-specific support for ELF.
- Copyright
2011, 2012
Free Software Foundation, Inc.
+ Copyright
(C) 2011-2014
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This file is part of BFD, the Binary File Descriptor library.
@@
-1220,7
+1220,7
@@
tilegx64_short_plt_entry[PLT_ENTRY_SIZE] =
};
/* Reuse an existing info 10 bundle. */
};
/* Reuse an existing info 10 bundle. */
-static const bfd_byte
const *
tilegx64_plt_tail_entry =
+static const bfd_byte
*const
tilegx64_plt_tail_entry =
&tilegx64_short_plt_entry[4 * TILEGX_BUNDLE_SIZE_IN_BYTES];
static const bfd_byte
&tilegx64_short_plt_entry[4 * TILEGX_BUNDLE_SIZE_IN_BYTES];
static const bfd_byte
@@
-1265,7
+1265,7
@@
tilegx32_short_plt_entry[PLT_ENTRY_SIZE] =
};
/* Reuse an existing info 10 bundle. */
};
/* Reuse an existing info 10 bundle. */
-static const bfd_byte
const *
tilegx32_plt_tail_entry =
+static const bfd_byte
*const
tilegx32_plt_tail_entry =
&tilegx64_short_plt_entry[4 * TILEGX_BUNDLE_SIZE_IN_BYTES];
static int
&tilegx64_short_plt_entry[4 * TILEGX_BUNDLE_SIZE_IN_BYTES];
static int
@@
-1738,6
+1738,10
@@
tilegx_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
while (h->root.type == bfd_link_hash_indirect
|| h->root.type == bfd_link_hash_warning)
h = (struct elf_link_hash_entry *) h->root.u.i.link;
while (h->root.type == bfd_link_hash_indirect
|| h->root.type == bfd_link_hash_warning)
h = (struct elf_link_hash_entry *) h->root.u.i.link;
+
+ /* PR15323, ref flags aren't set for references in the same
+ object. */
+ h->root.non_ir_ref = 1;
}
r_type = tilegx_elf_tls_transition (info, r_type, h == NULL,
}
r_type = tilegx_elf_tls_transition (info, r_type, h == NULL,
@@
-2729,7
+2733,7
@@
tilegx_elf_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
/* Set up .got offsets for local syms, and space for local dynamic
relocs. */
/* Set up .got offsets for local syms, and space for local dynamic
relocs. */
- for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link
_
next)
+ for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link
.
next)
{
bfd_signed_vma *local_got;
bfd_signed_vma *end_local_got;
{
bfd_signed_vma *local_got;
bfd_signed_vma *end_local_got;
@@
-3187,12
+3191,13
@@
tilegx_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
}
else
{
}
else
{
- bfd_boolean warned;
+ bfd_boolean warned ATTRIBUTE_UNUSED;
+ bfd_boolean ignored ATTRIBUTE_UNUSED;
RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel,
r_symndx, symtab_hdr, sym_hashes,
h, sec, relocation,
RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel,
r_symndx, symtab_hdr, sym_hashes,
h, sec, relocation,
- unresolved_reloc, warned);
+ unresolved_reloc, warned
, ignored
);
if (warned)
{
/* To avoid generating warning messages about truncated
if (warned)
{
/* To avoid generating warning messages about truncated
This page took
0.023638 seconds
and
4
git commands to generate.