bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/17852] New: ARM: selected_cpu may stay unset if compiled with C


From: daniel-gl at gmx dot net
Subject: [Bug gas/17852] New: ARM: selected_cpu may stay unset if compiled with CPU_DEFAULT
Date: Sun, 18 Jan 2015 00:40:18 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17852

            Bug ID: 17852
           Summary: ARM: selected_cpu may stay unset if compiled with
                    CPU_DEFAULT
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: daniel-gl at gmx dot net

If gas is compiled with CPU_DEFAULT defined, it will set selected_cpu in
md_begin() only if neither -march nor -mcpu has been passed.

This error shows itself f.ex. when assembling arch/arm/lib/changebit.S in
current Linux kernels for an armv7-a platform. This file contains an
".arch_extension mp" line that makes s_arm_arch_extension() set cpu_variant to
selected_cpu|ARM_EXT_MP. As selected_cpu was unset, it refuses to assemble
following instructions with "attempt to use an ARM instruction on a Thumb-only
processor" error messages. Setting cpu_variant from selected_cpu IMHO looks
fishy as well, but I didn't file a bug for that one.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]