mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
* elf32-v850.c (bfd_elf32_v850_reloc): Don't silently
accept a reloc against an undefined sybmol! jeez. I'm going to go sit in the corner and hide.
This commit is contained in:
@ -1,4 +1,9 @@
|
|||||||
start-sanitize-v850
|
start-sanitize-v850
|
||||||
|
Tue Oct 15 22:17:37 1996 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* elf32-v850.c (bfd_elf32_v850_reloc): Don't silently
|
||||||
|
accept a reloc against an undefined sybmol!
|
||||||
|
|
||||||
Tue Oct 15 16:17:28 1996 Stu Grossman (grossman@critters.cygnus.com)
|
Tue Oct 15 16:17:28 1996 Stu Grossman (grossman@critters.cygnus.com)
|
||||||
|
|
||||||
* elf32-v850.c: Define elf_symbol_leading_char to be '_'.
|
* elf32-v850.c: Define elf_symbol_leading_char to be '_'.
|
||||||
|
@ -264,6 +264,12 @@ bfd_elf32_v850_reloc (abfd, reloc, symbol, data, isection, obfd, err)
|
|||||||
return bfd_reloc_continue;
|
return bfd_reloc_continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Catch relocs involving undefined symbols. */
|
||||||
|
if (bfd_is_und_section (symbol->section)
|
||||||
|
&& (symbol->flags & BSF_WEAK) == 0
|
||||||
|
&& obfd == NULL)
|
||||||
|
return bfd_reloc_undefined;
|
||||||
|
|
||||||
/* We handle final linking of some relocs ourselves. */
|
/* We handle final linking of some relocs ourselves. */
|
||||||
{
|
{
|
||||||
long relocation, insn;
|
long relocation, insn;
|
||||||
|
Reference in New Issue
Block a user