[llvm-dev] compatibility with gnu binutils

Fangrui Song via llvm-dev llvm-dev at lists.llvm.org
Sun Feb 9 21:38:47 PST 2020


>> Aside from the above query, case sensitive asm doesn't sound like a
>> good feature to me either.
>So given that we got around with this for years, how much use do
>non-lower case assembler pseudops actually see?
>
>Joerg
>>> So given that we got around with this for years, how much use do
>>> non-lower case assembler pseudops actually see?
>
>The original issue was in newlib[0] and I also went through the GNU AS docs [1] and found a few targets that list directives as non lower case (ARC, MMIX, V850). However they would accept any case. ".ABORT" is called out specifically mostly as a compatibility note. Again, accepts any case.
>
>I'm not holding this up as a super high priority issue, the bug above is the only one I know of. I just happened across it and thought it would be good to make it consistent.
>
>[0] https://bugs.llvm.org/show_bug.cgi?id=39527
>[1] https://sourceware.org/binutils/docs/as/

I agree with Joerg and Jon regarding case-insensitive assembly
directives: they can be categorized as legacy cruft. The portability fix
on the newlib side shouldn't be too difficult.


More information about the llvm-dev mailing list