diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-06-27 10:03:42 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-06-27 10:03:42 +0000 |
commit | bb1d425616ac27230436ca1d5aa4158fdfabebbe (patch) | |
tree | 698ccf0a6bcdcea068730b523c2f1847658f06c4 /gas/config/obj-evax.c | |
parent | b315ab2151bc2501de3ab6f0075ecc1646c2ae67 (diff) | |
download | binutils-gdb-bb1d425616ac27230436ca1d5aa4158fdfabebbe.tar.gz |
2011-06-27 Tristan Gingold <gingold@adacore.com>
* config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
Fix style.
* config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
field. Add comments.
(obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
Diffstat (limited to 'gas/config/obj-evax.c')
-rw-r--r-- | gas/config/obj-evax.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/obj-evax.c b/gas/config/obj-evax.c index a52b8963ffe..b66e2c3bc59 100644 --- a/gas/config/obj-evax.c +++ b/gas/config/obj-evax.c @@ -153,6 +153,8 @@ evax_frob_file_before_adjust (void) { if (S_GET_SEGMENT (l->fixp->fx_addsy) == alpha_link_section) { + /* The symbol is defined in the file. The linkage entry decays to + two relocs. */ symbolS *entry_sym; fixS *fixpentry, *fixppdesc, *fixtail; @@ -166,7 +168,7 @@ evax_frob_file_before_adjust (void) fixpentry = fix_new (l->fixp->fx_frag, l->fixp->fx_where, 8, entry_sym, l->fixp->fx_offset, 0, BFD_RELOC_64); - fixppdesc = fix_new (l->fixp->fx_frag, l->fixp->fx_where+8, 8, + fixppdesc = fix_new (l->fixp->fx_frag, l->fixp->fx_where + 8, 8, l->fixp->fx_addsy, l->fixp->fx_offset, 0, BFD_RELOC_64); l->fixp->fx_size = 0; @@ -184,6 +186,7 @@ evax_frob_file_before_adjust (void) } else { + /* Assign a linkage index. */ ((struct evax_private_udata_struct *) symbol_get_bfdsym (l->label)->udata.p)->lkindex = linkage_index; |