From 8d2d239cb7db9df7b486d5f153c90865443e7abb Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 13 Dec 2017 16:14:30 -0200 Subject: Simplify tile assembly definitions With tilepro removal, the uppercase instruction are not anymore required to be defines as potentially macros. This is a mechanical change done by the following shell script: --- INSNS="LD LD4U ST ST4 BNEZ BEQZ BEQZT BGTZ CMPEQI CMPEQ CMOVEQZ CMOVNEZ" FILES=$(find sysdeps/tile sysdeps/unix/sysv/linux/tile -iname *.S) for insn in $INSNS; do repl=$(echo $insn | tr '[:upper:]' '[:lower:]') sed -i 's/\b'$insn'\b/'$repl'/g' $FILES done --- Checked with a build for tilegx-linux-gnu and tilegx-linux-gnu-32 with and without the patch, there is no difference in generated binary with a dissassemble. * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions. * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise. * sysdeps/tile/_mcount.S (__mcount): Likewise. * sysdeps/tile/crti.S (_init, _fini): Likewise. * sysdeps/tile/crtn.S: Likewise. * sysdeps/tile/dl-start.S (_start): Likewise. * sysdeps/tile/dl-trampoline.S: Likewise. * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise. * sysdeps/tile/start.S (_start): Likewise. * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise. * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise. * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise. * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise. * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise. * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise. * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise. --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 488769724b..877c78e013 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,22 @@ 2017-12-20 Adhemerval Zanella + * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions. + * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise. + * sysdeps/tile/_mcount.S (__mcount): Likewise. + * sysdeps/tile/crti.S (_init, _fini): Likewise. + * sysdeps/tile/crtn.S: Likewise. + * sysdeps/tile/dl-start.S (_start): Likewise. + * sysdeps/tile/dl-trampoline.S: Likewise. + * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise. + * sysdeps/tile/start.S (_start): Likewise. + * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise. + * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise. + * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise. + * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise. + * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise. + * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise. + * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise. + * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in comment. * sysdeps/tile/preconfigure: Remove tilegx folder. -- cgit v1.2.3