diff options
author | Alan Modra <amodra@gmail.com> | 2014-06-16 10:17:50 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-06-16 12:29:52 +0930 |
commit | ee0738df021c42217828f02858c1f882a1546557 (patch) | |
tree | 94f9222e1664e2aa2dfe5fe7e28019769aa3bcd5 /readline/posixdir.h | |
parent | eb9a5ecfacc42b9b741a3f83f433252b3c7cd77e (diff) | |
download | gdb-ee0738df021c42217828f02858c1f882a1546557.zip gdb-ee0738df021c42217828f02858c1f882a1546557.tar.gz gdb-ee0738df021c42217828f02858c1f882a1546557.tar.bz2 |
Fix uninitialised VAX insn
MALLOC_PERTURB_=1 results in "FAIL: VAX ELF relocations", due to object
file being emitted with uninitialised fields. Since these fields had
RELA relocs the field value won't be used at final link time, so the
problem is only seen in relocatable object files.
This rewrite of md_apply_fix clears all fields with relocs, whereas
before some fields had non-zero values.
gas/
* config/tc-vax.c (md_apply_fix): Rewrite.
(tc_gen_reloc, vax_cons, vax_cons_fix_new): Style: Use NO_RELOC
define rather than the equivalent BFD_RELOC_NONE.
gas/testsuite/
* gas/vax/elf-rel.d: Update.
Diffstat (limited to 'readline/posixdir.h')
0 files changed, 0 insertions, 0 deletions