bfd/
authorTristan Gingold <gingold@adacore.com>
Wed, 24 Jul 2013 14:12:41 +0000 (14:12 +0000)
committerTristan Gingold <gingold@adacore.com>
Wed, 24 Jul 2013 14:12:41 +0000 (14:12 +0000)
commit7fa9fcb6db636f393bcef5ed9f14559d3a8354f2
treeb7ebc01be50ace1ffa8d52c5b4fa389b9c94ab16
parenta0607b84d2cbfb5c3a559cf5d3973bb32bebf44c
bfd/
2013-07-24  Tristan Gingold  <gingold@adacore.com>

        * coff-rs6000.c (xcoff_howto_table): Fix masks and pc_relative for
        R_RBR.  Add numbers in comments.
        (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_PPC_B16.
        * coff64-rs6000.c: Likewise.

gas/
2013-07-24  Tristan Gingold  <gingold@adacore.com>

        * config/tc-ppc.c (md_apply_fix): Adjust BFD_RELOC_PPC_B16 on
        xcoff targets.

gas/testsuite/
2013-07-24  Tristan Gingold  <gingold@adacore.com>

        * gas/ppc/test2xcoff32.s, gas/ppc/test2xcoff32.d: New files
        * gas/ppc/ppc.exp: Add new test.
        * gas/ppc/xcoff-br16-1.s, gas/ppc/xcoff-br16-1.d,
        gas/ppc/xcoff-br16-2.s, gas/ppc/xcoff-br16-2.d: New files
        * gas/ppc/aix.exp: Add new tests.
14 files changed:
bfd/ChangeLog
bfd/coff-rs6000.c
bfd/coff64-rs6000.c
gas/ChangeLog
gas/config/tc-ppc.c
gas/testsuite/ChangeLog
gas/testsuite/gas/ppc/aix.exp
gas/testsuite/gas/ppc/ppc.exp
gas/testsuite/gas/ppc/test2xcoff32.d [new file with mode: 0644]
gas/testsuite/gas/ppc/test2xcoff32.s [new file with mode: 0644]
gas/testsuite/gas/ppc/xcoff-br16-1.d [new file with mode: 0644]
gas/testsuite/gas/ppc/xcoff-br16-1.s [new file with mode: 0644]
gas/testsuite/gas/ppc/xcoff-br16-2.d [new file with mode: 0644]
gas/testsuite/gas/ppc/xcoff-br16-2.s [new file with mode: 0644]