https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101987

Dietmar May <dcmay at copper dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #4 from Dietmar May <dcmay at copper dot net> ---
You're correct.


$ /opt/linaro/10.3.1/bin/../libexec/gcc/aarch64-none-elf/10.3.1/cc1 -E
-lang-asm -quiet -v -iprefix
/opt/linaro/10.3.1/bin/../lib/gcc/aarch64-none-elf/10.3.1/ src/boot.S
-mlittle-endian -mabi=lp64 -g -fworking-directory -fno-directives-only -o tmp.s

preprocesses the .S -> .s for as


$ /opt/linaro/10.2.1/bin/aarch64-none-elf-as --gdwarf2 -EL -mabi=lp64 -o boot.o
tmp.s

yields a .o file with debug info


$ /opt/linaro/10.3.1/bin/aarch64-none-elf-as --gdwarf2 -EL -mabi=lp64 -o boot.o
tmp.s

yields a .o file missing debug info


ergo it's not a gcc issue.

Thanks for helping to diagnose this so quickly.

Reply via email to