Re: [tip:x86/kbuild] x86: boot/compressed/vmlinux.lds.S: fix buildof bzImage with 64 bit compiler

From: H. Peter Anvin
Date: Thu Apr 30 2009 - 12:31:05 EST


Sam Ravnborg wrote:
>>>
>> I'm wondering if we should build the *.lds.S with -ansi or some other
>> gcc option which disables ALL non-underscore macros.
>
> I did not know that -ansi had this effect.
> We are only seldomly hitting this issue and I wonder
> if it could break something in out included headers.
> Most likely not.
>

The other thing to recognize is probably that lds files aren't assembly,
they're something else entirely. Rather than reusing the *.S rules,
having specific rules for them probably would make sense.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/