diff options
author | obrien <obrien@FreeBSD.org> | 2002-07-05 20:32:42 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-07-05 20:32:42 +0000 |
commit | 606f47d9e01f197a04b5d7be82f72ee898460c96 (patch) | |
tree | 66f66f281ffb82174798e554c674eef80b7f42a5 /contrib/binutils | |
parent | 07fd3c7d7969279a96c5b56ea47311b8bac5d0ad (diff) | |
download | FreeBSD-src-606f47d9e01f197a04b5d7be82f72ee898460c96.zip FreeBSD-src-606f47d9e01f197a04b5d7be82f72ee898460c96.tar.gz |
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap.
Diffstat (limited to 'contrib/binutils')
-rw-r--r-- | contrib/binutils/bfd/elf64-alpha.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/binutils/bfd/elf64-alpha.c b/contrib/binutils/bfd/elf64-alpha.c index 06b7433..caaa9d9 100644 --- a/contrib/binutils/bfd/elf64-alpha.c +++ b/contrib/binutils/bfd/elf64-alpha.c @@ -3699,6 +3699,16 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section, } goto default_reloc; + case R_ALPHA_SREL32: + case R_ALPHA_SREL64: + /* ??? .eh_frame references to discarded sections will be smashed + to relocations against SHN_UNDEF. The .eh_frame format allows + NULL to be encoded as 0 in any format, so this works here. */ + if (r_symndx == 0) + howto = (elf64_alpha_howto_table + + (r_type - R_ALPHA_SREL32 + R_ALPHA_REFLONG)); + goto default_reloc; + default: default_reloc: r = _bfd_final_link_relocate (howto, input_bfd, input_section, |