Skip to contentSkip to conversation

bad asm comments

parisc-linux Matt Taggart 2 participants 4 messages May 24, 2000 – May 25, 2000

lore
Share & tools
lore
#0 lore raw

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]
#1 lore raw
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.S

Which 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.
#2 lore raw

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.asm
gcc/config/pa/lib2funcs-elf.S
gcc/config/pa/lib2funcs.asm

And these glibc files too.

csu/Makefile
stdlib/longlong.h
sysdeps/hppa/__longjmp.S
sysdeps/hppa/add_n.s
sysdeps/hppa/dl-machine.h
sysdeps/hppa/lshift.s
sysdeps/hppa/rshift.s
sysdeps/hppa/setjmp.S
sysdeps/hppa/sub_n.s
sysdeps/hppa/udiv_qrnnd.s
sysdeps/hppa/hppa1.1/addmul_1.s
sysdeps/hppa/hppa1.1/mul_1.s
sysdeps/hppa/hppa1.1/submul_1.s
sysdeps/hppa/hppa1.1/udiv_qrnnd.s
sysdeps/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.
#3 lore raw

And yet some more glibc files need patching

configure.in
config.h.in
configure
include/libc-symbols.h
sysdeps/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.