diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-07-05 20:16:34 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-07-05 20:16:34 +0000 |
commit | c7549e32a42dc4889f5bf1a61dcbbc6170f6830b (patch) | |
tree | 30918b465d458ef1aca113937ad46b1e912ce044 /contrib/binutils/bfd/elf64-alpha.c | |
parent | 0aecce1e344d43b8c267e4097a6add59b602e1e6 (diff) | |
download | src-c7549e32a42dc4889f5bf1a61dcbbc6170f6830b.tar.gz src-c7549e32a42dc4889f5bf1a61dcbbc6170f6830b.zip |
Import of Binutils from the FSF 2.12 branch (just post-.1 release).
These bits are taken from the FSF anoncvs repo on 22-June-2002 23:28:00 EDT.
Notes
Notes:
svn path=/vendor/binutils/dist/; revision=99461
Diffstat (limited to 'contrib/binutils/bfd/elf64-alpha.c')
-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 550de530fbb3..faf9944d2bc7 100644 --- a/contrib/binutils/bfd/elf64-alpha.c +++ b/contrib/binutils/bfd/elf64-alpha.c @@ -3695,6 +3695,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, |