mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:29:30 +08:00
* elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
not initialized, set them to indicate the SH1 instruction set.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Thu Aug 31 22:49:30 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||||
|
|
||||||
|
* elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
|
||||||
|
not initialized, set them to indicate the SH1 instruction set.
|
||||||
|
|
||||||
2000-08-31 Alexandre Oliva <aoliva@redhat.com>
|
2000-08-31 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* acinclude.m4: Include libtool and gettext macros from the
|
* acinclude.m4: Include libtool and gettext macros from the
|
||||||
|
@ -2344,8 +2344,9 @@ sh_elf_merge_private_data (ibfd, obfd)
|
|||||||
|
|
||||||
if (! elf_flags_init (obfd))
|
if (! elf_flags_init (obfd))
|
||||||
{
|
{
|
||||||
|
/* This happens when ld starts out with a 'blank' output file. */
|
||||||
elf_flags_init (obfd) = true;
|
elf_flags_init (obfd) = true;
|
||||||
elf_elfheader (obfd)->e_flags = 0;
|
elf_elfheader (obfd)->e_flags = EF_SH1;
|
||||||
}
|
}
|
||||||
old_flags = elf_elfheader (obfd)->e_flags;
|
old_flags = elf_elfheader (obfd)->e_flags;
|
||||||
new_flags = elf_elfheader (ibfd)->e_flags;
|
new_flags = elf_elfheader (ibfd)->e_flags;
|
||||||
|
Reference in New Issue
Block a user