/* PR15323, ref flags aren't set for references in the same
object. */
- h->root.non_ir_ref = 1;
+ h->root.non_ir_ref_regular = 1;
}
r_type = ELF32_R_TYPE (rel->r_info);
BFD_ASSERT (bfd_malloc_and_get_section (ibfd, inotes, & icont));
if ((ocont = elf_section_data (onotes)->this_hdr.contents) == NULL)
- BFD_ASSERT (bfd_malloc_and_get_section (obfd, onotes, & ocont));
+ /* If the output is being stripped then it is possible for
+ the notes section to disappear. In this case do nothing. */
+ return;
/* Copy/overwrite notes from the input to the output. */
memcpy (ocont, icont, bfd_section_size (obfd, onotes));
{
_bfd_error_handler
/* xgettext:c-format */
- (_("error: %B needs 8-byte aligment but %B is set for 4-byte alignment"),
+ (_("error: %B needs 8-byte alignment but %B is set for 4-byte alignment"),
ibfd, obfd);
result = FALSE;
}
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: 0x%lx: warning: R_V850_LONGCALL points to "
+ (_("%B: %#Lx: warning: R_V850_LONGCALL points to "
"unrecognized insns"),
- abfd, (unsigned long) irel->r_offset);
+ abfd, irel->r_offset);
continue;
}
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: 0x%lx: warning: R_V850_LONGCALL points to "
- "unrecognized insn 0x%x"),
+ (_("%B: %#Lx: warning: R_V850_LONGCALL points to "
+ "unrecognized insn %#x"),
abfd,
- (unsigned long) irel->r_offset + no_match,
+ irel->r_offset + no_match,
insn[no_match]);
continue;
}
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: 0x%lx: warning: R_V850_LONGCALL points to "
+ (_("%B: %#Lx: warning: R_V850_LONGCALL points to "
"unrecognized reloc"),
- abfd, (unsigned long) irel->r_offset);
+ abfd, irel->r_offset);
continue;
}
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: 0x%lx: warning: R_V850_LONGCALL points to "
- "unrecognized reloc 0x%lx"),
- abfd, (unsigned long) irel->r_offset,
+ (_("%B: %#Lx: warning: R_V850_LONGCALL points to "
+ "unrecognized reloc %#Lx"),
+ abfd, irel->r_offset,
irelcall->r_offset);
continue;
}
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: 0x%lx: warning: R_V850_LONGJUMP points to "
+ (_("%B: %#Lx: warning: R_V850_LONGJUMP points to "
"unrecognized insns"),
- abfd, (unsigned long) irel->r_offset);
+ abfd, irel->r_offset);
continue;
}
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: 0x%lx: warning: R_V850_LONGJUMP points to "
- "unrecognized insn 0x%x"),
+ (_("%B: %#Lx: warning: R_V850_LONGJUMP points to "
+ "unrecognized insn %#x"),
abfd,
- (unsigned long) irel->r_offset + no_match,
+ irel->r_offset + no_match,
insn[no_match]);
continue;
}
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: 0x%lx: warning: R_V850_LONGJUMP points to "
+ (_("%B: %#Lx: warning: R_V850_LONGJUMP points to "
"unrecognized reloc"),
- abfd, (unsigned long) irel->r_offset);
+ abfd, irel->r_offset);
continue;
}