*** empty log message ***
This commit is contained in:
parent
4517897e01
commit
95cbae0b17
1 changed files with 26 additions and 0 deletions
|
@ -545,3 +545,29 @@ elf_hppa_reloc_type_lookup (abfd, code)
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
elf_hppa_final_write_processing (abfd, linker)
|
||||||
|
bfd *abfd;
|
||||||
|
boolean linker;
|
||||||
|
{
|
||||||
|
int mach = bfd_get_mach (abfd);
|
||||||
|
|
||||||
|
elf_elfheader (abfd)->e_flags &= ~(EF_PARISC_ARCH | EF_PARISC_TRAPNIL
|
||||||
|
| EF_PARISC_EXT | EF_PARISC_LSB
|
||||||
|
| EF_PARISC_WIDE | EF_PARISC_NO_KABP
|
||||||
|
| EF_PARISC_LAZYSWAP);
|
||||||
|
|
||||||
|
if (mach == 10)
|
||||||
|
elf_elfheader (abfd)->e_flags |= EFA_PARISC_1_0;
|
||||||
|
else if (mach == 11)
|
||||||
|
elf_elfheader (abfd)->e_flags |= EFA_PARISC_1_1;
|
||||||
|
else if (mach == 20)
|
||||||
|
{
|
||||||
|
elf_elfheader (abfd)->e_flags |= EFA_PARISC_2_0;
|
||||||
|
#if ARCH_SIZE == 64
|
||||||
|
elf_elfheader (abfd)->e_flags |= EF_PARISC_WIDE;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue