* elfcode.h (elf_bfd_final_link): If trying to generate a shared
object, warn and return false.
This commit is contained in:
parent
3cc6bebb23
commit
0ff5d3a69a
2 changed files with 11 additions and 0 deletions
|
@ -7,6 +7,9 @@ Thu Jun 16 14:25:22 1994 Eric Youngdale (ericy@cais.cais.com)
|
|||
|
||||
Thu Jun 16 14:23:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||
|
||||
* elfcode.h (elf_bfd_final_link): If trying to generate a shared
|
||||
object, warn and return false.
|
||||
|
||||
* aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects
|
||||
and treat them as OMAGIC.
|
||||
|
||||
|
|
|
@ -5033,6 +5033,14 @@ elf_bfd_final_link (abfd, info)
|
|||
Elf_Internal_Shdr *symtab_hdr;
|
||||
Elf_Internal_Shdr *symstrtab_hdr;
|
||||
|
||||
if (info->shared)
|
||||
{
|
||||
fprintf (stderr,
|
||||
"Generating ELF shared libraries is not yet supported\n");
|
||||
bfd_set_error (bfd_error_invalid_operation);
|
||||
return false;
|
||||
}
|
||||
|
||||
dynobj = elf_hash_table (info)->dynobj;
|
||||
|
||||
finfo.info = info;
|
||||
|
|
Loading…
Reference in a new issue