mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
bfd_error_on_input is for archives
* elflink.c (elf_link_input_bfd): Correct ctor/dtor in init_array/ fini_array error value.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2017-10-05 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elflink.c (elf_link_input_bfd): Correct ctor/dtor in init_array/
|
||||||
|
fini_array error value.
|
||||||
|
|
||||||
2017-10-05 Alan Modra <amodra@gmail.com>
|
2017-10-05 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 21167
|
PR 21167
|
||||||
|
@ -10444,7 +10444,7 @@ elf_link_input_bfd (struct elf_final_link_info *flinfo, bfd *input_bfd)
|
|||||||
(_("error: %B: size of section %A is not "
|
(_("error: %B: size of section %A is not "
|
||||||
"multiple of address size"),
|
"multiple of address size"),
|
||||||
input_bfd, o);
|
input_bfd, o);
|
||||||
bfd_set_error (bfd_error_on_input);
|
bfd_set_error (bfd_error_bad_value);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
o->flags |= SEC_ELF_REVERSE_COPY;
|
o->flags |= SEC_ELF_REVERSE_COPY;
|
||||||
|
Reference in New Issue
Block a user