* elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask for
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 08164b3991b3d769560e5d33efbc6d37f673b5d3..65cad8cc41a0e035f148e6e0b03542cb52c6f4cd 100644 (file)
@@ -1,3 +1,25 @@
+2001-12-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-sparc.h (TC_PARSE_CONS_EXPRESSION): Define.
+       (sparc_cons): Provide prototype.
+       * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_*_PCREL and
+       BFD_RELOC_SPARC_PLT{32,64}.  Enumerate for which relocs
+       reloc->addend = fixp->fx_addnumber shouldn't be done instead of
+       enumarating for which pc relative ones it should be done.
+       (sparc_cons_special_reloc): New variable.
+       (sparc_cons): New function.
+       (cons_fix_new_sparc): Use sparc_cons_special_reloc.
+       * testsuite/gas/sparc/pcrel.s: New test.
+       * testsuite/gas/sparc/pcrel.d: Expected output.
+       * testsuite/gas/sparc/pcrel64.s: New test.
+       * testsuite/gas/sparc/pcrel64.d: Expected output.
+       * testsuite/gas/sparc/plt.s: New test.
+       * testsuite/gas/sparc/plt.d: Expected output.
+       * testsuite/gas/sparc/plt64.s: New test.
+       * testsuite/gas/sparc/plt64.d: Expected output.
+       * testsuite/gas/sparc/sparc.exp: Add pcrel, pcrel64, plt and plt64
+       tests.
+
 2001-12-20  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
            Daniel Jacobowitz <drow@mvista.com>
 
This page took 0.024351 seconds and 4 git commands to generate.