Skip to content

Commit

Permalink
x86_64: Regenerate .s and .S files with known compilers.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaible committed Feb 11, 2017
1 parent 1a17292 commit 0be62b6
Show file tree
Hide file tree
Showing 14 changed files with 52 additions and 1,779 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@
/avcall/avcall-sparc-macro.S
/avcall/avcall-sparc64-linux.s
/avcall/avcall-sparc64-macro.S
/avcall/avcall-x86_64-linux.s
/avcall/avcall-x86_64-macro.S
/vacall/vacall-alpha.s
/vacall/vacall-arm-macro.S
/vacall/vacall-armhf-macro.S
Expand Down Expand Up @@ -130,6 +132,8 @@
/vacall/vacall-sparc-macro.S
/vacall/vacall-sparc64-linux.s
/vacall/vacall-sparc64-macro.S
/vacall/vacall-x86_64-linux.s
/vacall/vacall-x86_64-macro.S
/callback/vacall_r/vacall-alpha-linux.s
/callback/vacall_r/vacall-alpha-macro.S
/callback/vacall_r/vacall-arm-macro.S
Expand Down Expand Up @@ -166,6 +170,8 @@
/callback/vacall_r/vacall-sparc-macro.S
/callback/vacall_r/vacall-sparc64-linux.s
/callback/vacall_r/vacall-sparc64-macro.S
/callback/vacall_r/vacall-x86_64-linux.s
/callback/vacall_r/vacall-x86_64-macro.S

# ---------- "make -f Makefile.maint totally-clean" gets you here ----------

Expand Down
19 changes: 19 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
2017-01-29 Bruno Haible <[email protected]>

x86_64: Regenerate .s and .S files with known compilers.
* common/asm-x86_64.h (P2ALIGN): New macro.
(ALIGN): Remove macro.
* common/asm-x86_64.sh: Rewritten to consume ELF input. Produce L,
P2ALIGN macros.
* avcall/avcall-x86_64.c: Use __builtin_alloca instead of hacking on the
'sp' register.
* avcall/Makefile.devel (avcall-x86_64-linux.s): Rewritten.
* vacall/Makefile.devel (vacall-x86_64-linux.s): Rewritten.
* callback/vacall_r/Makefile.devel (vacall-x86_64-linux.s): Rewritten.
* avcall/avcall-x86_64-linux.s: Remove from version control.
* avcall/avcall-x86_64-macro.S: Likewise.
* vacall/vacall-x86_64-linux.s: Likewise.
* vacall/vacall-x86_64-macro.S: Likewise.
* callback/vacall_r/vacall-x86_64-linux.s: Likewise.
* callback/vacall_r/vacall-x86_64-macro.S: Likewise.

2017-01-29 Bruno Haible <[email protected]>

ia64: Regenerate .s and .S files with known compilers.
Expand Down
8 changes: 4 additions & 4 deletions avcall/Makefile.devel
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ precompiled : \
avcall-hppa-macro.S \
avcall-arm-macro.S avcall-armhf-macro.S \
avcall-powerpc-aix.s avcall-powerpc-linux.s avcall-powerpc-sysv4.s avcall-powerpc-macos.s avcall-powerpc64.s \
avcall-ia64.s
# Old rules
# avcall-x86_64-macro.S
avcall-ia64.s \
avcall-x86_64-macro.S


avcall-i386-linux.s : avcall-i386.c avcall.h.in $(THISFILE)
Expand Down Expand Up @@ -147,11 +146,12 @@ avcall-ia64.s : avcall-ia64.c avcall.h.in $(THISFILE)


avcall-x86_64-linux.s : avcall-x86_64.c avcall.h.in $(THISFILE)
$(GCC) -V 3.2.2 -b x86_64-suse-linux $(GCCFLAGS) -D__x86_64__ -S avcall-x86_64.c -o avcall-x86_64-linux.s
$(CROSS_TOOL) x86_64-linux gcc-4.0.2 $(GCCFLAGS) -D__x86_64__ -S avcall-x86_64.c -o avcall-x86_64-linux.s

avcall-x86_64-macro.S : avcall-x86_64-linux.s ../common/asm-x86_64.sh $(THISFILE)
(echo '#include "asm-x86_64.h"' ; ../common/asm-x86_64.sh < avcall-x86_64-linux.s) > avcall-x86_64-macro.S


# --------------- Rules for debugging test failures ---------------

tests : tests-i386.s tests-m68k.s tests-mips.s tests-sparc.s tests-alpha.s tests-hppa.s tests-arm.s tests-powerpc.s tests-ia64.s tests-x86_64.s
Expand Down
Loading

0 comments on commit 0be62b6

Please sign in to comment.