bad asm comments
In building gcc/binutils-2.10 today I discovered a few asm files that are still using ! as a comment character. They are,
./gcc/gcc/config/pa/lib2funcs-elf.S./glibc/csu/crti.S./glibc/csu/crtn.S./glibc/sysdeps/hppa/__longjmp.S./glibc/sysdeps/hppa/setjmp.S
Which need to be changed?
Thanks,
Signature · 2 lines
Matt Taggart [email protected]
Quoted 10 lines · Matt Taggart
In building gcc/binutils-2.10 today I discovered a few asm files that are still using ! as a comment character. They are,
./gcc/gcc/config/pa/lib2funcs-elf.S./glibc/csu/crti.S./glibc/csu/crtn.S./glibc/sysdeps/hppa/__longjmp.S./glibc/sysdeps/hppa/setjmp.SWhich need to be changed?
Um, I only patched the kernel and palo, and was hoping someone else would volunteer to do the rest of the tree. I suppose I ought to fix these too.
Signature · 1 line
Linuxcare. Support for the Revolution.
I've patched these gcc files for the new binutils. They ought to still work with the old binutils too.
gcc/longlong.h
gcc/config/pa/lib1linux.asmgcc/config/pa/lib2funcs-elf.S
gcc/config/pa/lib2funcs.asm
And these glibc files too.
csu/Makefilestdlib/longlong.hsysdeps/hppa/__longjmp.Ssysdeps/hppa/add_n.ssysdeps/hppa/dl-machine.hsysdeps/hppa/lshift.ssysdeps/hppa/rshift.ssysdeps/hppa/setjmp.Ssysdeps/hppa/sub_n.ssysdeps/hppa/udiv_qrnnd.ssysdeps/hppa/hppa1.1/addmul_1.ssysdeps/hppa/hppa1.1/mul_1.ssysdeps/hppa/hppa1.1/submul_1.ssysdeps/hppa/hppa1.1/udiv_qrnnd.ssysdeps/unix/sysv/linux/bits/errno.h
The csu/Makefile patch should put to rest the problem with csu/crti.S and csu/crtn.S
Signature · 1 line
Linuxcare. Support for the Revolution.
And yet some more glibc files need patching
configure.in
config.h.in
configureinclude/libc-symbols.hsysdeps/unix/sysv/linux/hppa/sysdep.h
The configury changes are so we can get the line separator and comment char right for include/libc-symbols.h, which uses multiple assembler instructions per cpp macro. I can see why there was a strong desire to use `;' as the line separator...
Alan Modra
Signature · 1 line
Linuxcare. Support for the Revolution.