This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Don't run x86-64-disassem for mingw targets


On Thu, Dec 19, 2013 at 11:31 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Hi,
>
> mingw targets pad text sections which won't work with x86-64-disassem.
> I checked in this patch to skip x86-64-disassem for mingw targets.
>
> H.J.
> diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
> index 26ab54c..bbce101 100644
> --- a/gas/testsuite/ChangeLog
> +++ b/gas/testsuite/ChangeLog
> @@ -1,3 +1,7 @@
> +2013-12-19  H.J. Lu  <hongjiu.lu@intel.com>
> +
> +       * gas/i386/i386.exp: Don't run x86-64-disassem for mingw targets.
> +
>  2013-12-18  Yufeng Zhang  <yufeng.zhang@arm.com>
>
>         * gas/aarch64/rm-simd-ext.d: New file.
> diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp
> index 4326838..b70f01c 100644
> --- a/gas/testsuite/gas/i386/i386.exp
> +++ b/gas/testsuite/gas/i386/i386.exp
> @@ -365,6 +365,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
>      run_dump_test "x86-64-intel64"
>      if { ![istarget "*-*-mingw*"] } then {
>        run_dump_test "x86-64-pcrel"
> +      run_dump_test "x86-64-disassem"
>      } else {
>        run_dump_test "x86-64-w64-pcrel"
>      }
> @@ -558,7 +559,6 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
>      run_dump_test "x86-64-mpx-addr32"
>      run_dump_test "x86-64-mpx-add-bnd-prefix"
>      run_dump_test "x86-64-sha"
> -    run_dump_test "x86-64-disassem"
>
>      if { ![istarget "*-*-aix*"]
>        && ![istarget "*-*-beos*"]

I backported it to binutils-2_24-branch.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]