On 10.02.2026 16:53, Roger Pau Monné wrote:
> On Tue, Feb 10, 2026 at 04:27:33PM +0100, Jan Beulich wrote:
>> On 10.02.2026 16:11, Roger Pau Monne wrote:
>>>  Pass --divide when when available to signal '/' is
>>> +# always used as an operator in assembly.
>>> +$(call cc-option-add,CFLAGS,CC,-Wa$$(comma)--divide)
>>
>> I don't think this should be done here: --divide is an x86-specific
>> option.
> 
> Oh, that wasn't clear from the output of as.  I can make it
> x86-specific then.  However, is there any chance of this behavior
> escaping outside of x86, and hence would we like to ensure this
> behavior on all possible arches?
> 
> Or is it possible that other arches re-use the --divide option for
> some other functionality?

It is equally possible for that to happen (if some target needs to
support '/' as a comment char) as it is for such a target to then use
an entirely different command line option. Furthermore, --divide may
mean something else on another arch.

Jan

Reply via email to