This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Allow STT_SECTION + offset for SHF_MERGE sections (fix)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 28 Nov 2001 10:39:47 -0800
- Subject: Re: [PATCH] Allow STT_SECTION + offset for SHF_MERGE sections (fix)
- References: <20011127150554.X4087@devserv.devel.redhat.com>
On Tue, Nov 27, 2001 at 03:05:54PM -0500, Jakub Jelinek wrote:
> * elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined.
> (elf64_alpha_relocate_section): Translate local_got_entries
> for STT_SECTION symbol to SHF_MERGE section the first time
> we see it.
> * elfxx-ia64.c (struct elfNN_ia64_local_hash_entry): Add
> sec_merge_done.
> (get_local_sym_hash): New, extracted from get_dyn_sym_info.
> (get_dyn_sym_info): Use it.
> (elfNN_ia64_relocate_section): Translate local dyn entries
> for STT_SECTION symbol to SHF_MERGE section the first time
> we see it.
>
> * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used
> in reloc if it has non-zero addend.
> * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check.
> * config/tc-sparc.c (md_apply_fix3): Likewise.
Ok. Thanks.
r~