bfd_error_on_input is for archives
Alan Modra
amodra@gmail.com
Thu Oct 5 01:05:00 GMT 2017
More information about the Binutils mailing list
Thu Oct 5 01:05:00 GMT 2017
- Previous message (by thread): [PING] [PATCH] FT32: support for FT32B processor - part 1
- Next message (by thread): [COMMITTED]: Update my email address
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* elflink.c (elf_link_input_bfd): Correct ctor/dtor in init_array/
fini_array error value.
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 982bf4f..1a99058 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -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 "
"multiple of address size"),
input_bfd, o);
- bfd_set_error (bfd_error_on_input);
+ bfd_set_error (bfd_error_bad_value);
return FALSE;
}
o->flags |= SEC_ELF_REVERSE_COPY;
--
Alan Modra
Australia Development Lab, IBM
- Previous message (by thread): [PING] [PATCH] FT32: support for FT32B processor - part 1
- Next message (by thread): [COMMITTED]: Update my email address
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list