hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit a0bac91d45d366f3fe60eed0af3e4c4ed1b8b825
parent 2aa4b9d2d3a576005593e3485423385f0b47cc57
Author: Lorenz (xha) <me@xha.li>
Date:   Tue, 19 Dec 2023 13:42:33 +0100

make rt/+{arch}/restore.s platform-specific to +linux

Signed-off-by: Lorenz (xha) <me@xha.li>

Diffstat:
Mmakefiles/freebsd.aarch64.mk | 2+-
Mmakefiles/freebsd.riscv64.mk | 2+-
Mmakefiles/freebsd.x86_64.mk | 2+-
Mmakefiles/linux.aarch64.mk | 2+-
Mmakefiles/linux.riscv64.mk | 2+-
Mmakefiles/linux.x86_64.mk | 2+-
Mmakefiles/openbsd.aarch64.mk | 2+-
Mmakefiles/openbsd.riscv64.mk | 2+-
Mmakefiles/openbsd.x86_64.mk | 2+-
Rrt/+aarch64/restore.s -> rt/+linux/restore+aarch64.s | 0
Rrt/+riscv64/restore.s -> rt/+linux/restore+riscv64.s | 0
Rrt/+x86_64/restore.s -> rt/+linux/restore+x86_64.s | 0
12 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/makefiles/freebsd.aarch64.mk b/makefiles/freebsd.aarch64.mk @@ -10,7 +10,7 @@ $(HARECACHE)/rt.ssa: $(rt_ha) @printf 'HAREC\t%s\n' "$@" @$(TDENV) $(HAREC) $(HARECFLAGS) -o $(HARECACHE)/rt.ssa -t $(HARECACHE)/rt.td.tmp -N rt $(rt_ha) -rt_s = $(HARECACHE)/rt.s rt/+aarch64/cpuid.s rt/+aarch64/fenv.s rt/+aarch64/getfp.s rt/+aarch64/longjmp.s rt/+aarch64/restore.s rt/+aarch64/setjmp.s rt/+freebsd/start+aarch64-libc.s rt/+freebsd/syscall+aarch64.s +rt_s = $(HARECACHE)/rt.s rt/+aarch64/cpuid.s rt/+aarch64/fenv.s rt/+aarch64/getfp.s rt/+aarch64/longjmp.s rt/+aarch64/setjmp.s rt/+freebsd/start+aarch64-libc.s rt/+freebsd/syscall+aarch64.s $(HARECACHE)/rt.o: $(rt_s) @printf 'AS\t%s\n' "$@" @$(AS) $(ASFLAGS) -o $@ $(rt_s) diff --git a/makefiles/freebsd.riscv64.mk b/makefiles/freebsd.riscv64.mk @@ -10,7 +10,7 @@ $(HARECACHE)/rt.ssa: $(rt_ha) @printf 'HAREC\t%s\n' "$@" @$(TDENV) $(HAREC) $(HARECFLAGS) -o $(HARECACHE)/rt.ssa -t $(HARECACHE)/rt.td.tmp -N rt $(rt_ha) -rt_s = $(HARECACHE)/rt.s rt/+freebsd/start+riscv64-libc.s rt/+freebsd/syscall+riscv64.s rt/+riscv64/cpuid.s rt/+riscv64/fenv.s rt/+riscv64/getfp.s rt/+riscv64/longjmp.s rt/+riscv64/restore.s rt/+riscv64/setjmp.s +rt_s = $(HARECACHE)/rt.s rt/+freebsd/start+riscv64-libc.s rt/+freebsd/syscall+riscv64.s rt/+riscv64/cpuid.s rt/+riscv64/fenv.s rt/+riscv64/getfp.s rt/+riscv64/longjmp.s rt/+riscv64/setjmp.s $(HARECACHE)/rt.o: $(rt_s) @printf 'AS\t%s\n' "$@" @$(AS) $(ASFLAGS) -o $@ $(rt_s) diff --git a/makefiles/freebsd.x86_64.mk b/makefiles/freebsd.x86_64.mk @@ -10,7 +10,7 @@ $(HARECACHE)/rt.ssa: $(rt_ha) @printf 'HAREC\t%s\n' "$@" @$(TDENV) $(HAREC) $(HARECFLAGS) -o $(HARECACHE)/rt.ssa -t $(HARECACHE)/rt.td.tmp -N rt $(rt_ha) -rt_s = $(HARECACHE)/rt.s rt/+freebsd/start+x86_64-libc.s rt/+freebsd/syscall+x86_64.s rt/+x86_64/cpuid.s rt/+x86_64/fenv.s rt/+x86_64/getfp.s rt/+x86_64/longjmp.s rt/+x86_64/restore.s rt/+x86_64/setjmp.s +rt_s = $(HARECACHE)/rt.s rt/+freebsd/start+x86_64-libc.s rt/+freebsd/syscall+x86_64.s rt/+x86_64/cpuid.s rt/+x86_64/fenv.s rt/+x86_64/getfp.s rt/+x86_64/longjmp.s rt/+x86_64/setjmp.s $(HARECACHE)/rt.o: $(rt_s) @printf 'AS\t%s\n' "$@" @$(AS) $(ASFLAGS) -o $@ $(rt_s) diff --git a/makefiles/linux.aarch64.mk b/makefiles/linux.aarch64.mk @@ -10,7 +10,7 @@ $(HARECACHE)/rt.ssa: $(rt_ha) @printf 'HAREC\t%s\n' "$@" @$(TDENV) $(HAREC) $(HARECFLAGS) -o $(HARECACHE)/rt.ssa -t $(HARECACHE)/rt.td.tmp -N rt $(rt_ha) -rt_s = $(HARECACHE)/rt.s rt/+aarch64/cpuid.s rt/+aarch64/fenv.s rt/+aarch64/getfp.s rt/+aarch64/longjmp.s rt/+aarch64/restore.s rt/+aarch64/setjmp.s rt/+linux/start+aarch64-libc.s rt/+linux/syscall+aarch64.s +rt_s = $(HARECACHE)/rt.s rt/+aarch64/cpuid.s rt/+aarch64/fenv.s rt/+aarch64/getfp.s rt/+aarch64/longjmp.s rt/+aarch64/setjmp.s rt/+linux/restore+aarch64.s rt/+linux/start+aarch64-libc.s rt/+linux/syscall+aarch64.s $(HARECACHE)/rt.o: $(rt_s) @printf 'AS\t%s\n' "$@" @$(AS) $(ASFLAGS) -o $@ $(rt_s) diff --git a/makefiles/linux.riscv64.mk b/makefiles/linux.riscv64.mk @@ -10,7 +10,7 @@ $(HARECACHE)/rt.ssa: $(rt_ha) @printf 'HAREC\t%s\n' "$@" @$(TDENV) $(HAREC) $(HARECFLAGS) -o $(HARECACHE)/rt.ssa -t $(HARECACHE)/rt.td.tmp -N rt $(rt_ha) -rt_s = $(HARECACHE)/rt.s rt/+linux/start+riscv64-libc.s rt/+linux/syscall+riscv64.s rt/+riscv64/cpuid.s rt/+riscv64/fenv.s rt/+riscv64/getfp.s rt/+riscv64/longjmp.s rt/+riscv64/restore.s rt/+riscv64/setjmp.s +rt_s = $(HARECACHE)/rt.s rt/+linux/restore+riscv64.s rt/+linux/start+riscv64-libc.s rt/+linux/syscall+riscv64.s rt/+riscv64/cpuid.s rt/+riscv64/fenv.s rt/+riscv64/getfp.s rt/+riscv64/longjmp.s rt/+riscv64/setjmp.s $(HARECACHE)/rt.o: $(rt_s) @printf 'AS\t%s\n' "$@" @$(AS) $(ASFLAGS) -o $@ $(rt_s) diff --git a/makefiles/linux.x86_64.mk b/makefiles/linux.x86_64.mk @@ -10,7 +10,7 @@ $(HARECACHE)/rt.ssa: $(rt_ha) @printf 'HAREC\t%s\n' "$@" @$(TDENV) $(HAREC) $(HARECFLAGS) -o $(HARECACHE)/rt.ssa -t $(HARECACHE)/rt.td.tmp -N rt $(rt_ha) -rt_s = $(HARECACHE)/rt.s rt/+linux/start+x86_64-libc.s rt/+linux/syscall+x86_64.s rt/+x86_64/cpuid.s rt/+x86_64/fenv.s rt/+x86_64/getfp.s rt/+x86_64/longjmp.s rt/+x86_64/restore.s rt/+x86_64/setjmp.s +rt_s = $(HARECACHE)/rt.s rt/+linux/restore+x86_64.s rt/+linux/start+x86_64-libc.s rt/+linux/syscall+x86_64.s rt/+x86_64/cpuid.s rt/+x86_64/fenv.s rt/+x86_64/getfp.s rt/+x86_64/longjmp.s rt/+x86_64/setjmp.s $(HARECACHE)/rt.o: $(rt_s) @printf 'AS\t%s\n' "$@" @$(AS) $(ASFLAGS) -o $@ $(rt_s) diff --git a/makefiles/openbsd.aarch64.mk b/makefiles/openbsd.aarch64.mk @@ -10,7 +10,7 @@ $(HARECACHE)/rt.ssa: $(rt_ha) @printf 'HAREC\t%s\n' "$@" @$(TDENV) $(HAREC) $(HARECFLAGS) -o $(HARECACHE)/rt.ssa -t $(HARECACHE)/rt.td.tmp -N rt $(rt_ha) -rt_s = $(HARECACHE)/rt.s rt/+aarch64/cpuid.s rt/+aarch64/fenv.s rt/+aarch64/getfp.s rt/+aarch64/longjmp.s rt/+aarch64/restore.s rt/+aarch64/setjmp.s rt/+openbsd/start.s +rt_s = $(HARECACHE)/rt.s rt/+aarch64/cpuid.s rt/+aarch64/fenv.s rt/+aarch64/getfp.s rt/+aarch64/longjmp.s rt/+aarch64/setjmp.s rt/+openbsd/start.s $(HARECACHE)/rt.o: $(rt_s) @printf 'AS\t%s\n' "$@" @$(AS) $(ASFLAGS) -o $@ $(rt_s) diff --git a/makefiles/openbsd.riscv64.mk b/makefiles/openbsd.riscv64.mk @@ -10,7 +10,7 @@ $(HARECACHE)/rt.ssa: $(rt_ha) @printf 'HAREC\t%s\n' "$@" @$(TDENV) $(HAREC) $(HARECFLAGS) -o $(HARECACHE)/rt.ssa -t $(HARECACHE)/rt.td.tmp -N rt $(rt_ha) -rt_s = $(HARECACHE)/rt.s rt/+openbsd/start.s rt/+riscv64/cpuid.s rt/+riscv64/fenv.s rt/+riscv64/getfp.s rt/+riscv64/longjmp.s rt/+riscv64/restore.s rt/+riscv64/setjmp.s +rt_s = $(HARECACHE)/rt.s rt/+openbsd/start.s rt/+riscv64/cpuid.s rt/+riscv64/fenv.s rt/+riscv64/getfp.s rt/+riscv64/longjmp.s rt/+riscv64/setjmp.s $(HARECACHE)/rt.o: $(rt_s) @printf 'AS\t%s\n' "$@" @$(AS) $(ASFLAGS) -o $@ $(rt_s) diff --git a/makefiles/openbsd.x86_64.mk b/makefiles/openbsd.x86_64.mk @@ -10,7 +10,7 @@ $(HARECACHE)/rt.ssa: $(rt_ha) @printf 'HAREC\t%s\n' "$@" @$(TDENV) $(HAREC) $(HARECFLAGS) -o $(HARECACHE)/rt.ssa -t $(HARECACHE)/rt.td.tmp -N rt $(rt_ha) -rt_s = $(HARECACHE)/rt.s rt/+openbsd/start.s rt/+x86_64/cpuid.s rt/+x86_64/fenv.s rt/+x86_64/getfp.s rt/+x86_64/longjmp.s rt/+x86_64/restore.s rt/+x86_64/setjmp.s +rt_s = $(HARECACHE)/rt.s rt/+openbsd/start.s rt/+x86_64/cpuid.s rt/+x86_64/fenv.s rt/+x86_64/getfp.s rt/+x86_64/longjmp.s rt/+x86_64/setjmp.s $(HARECACHE)/rt.o: $(rt_s) @printf 'AS\t%s\n' "$@" @$(AS) $(ASFLAGS) -o $@ $(rt_s) diff --git a/rt/+aarch64/restore.s b/rt/+linux/restore+aarch64.s diff --git a/rt/+riscv64/restore.s b/rt/+linux/restore+riscv64.s diff --git a/rt/+x86_64/restore.s b/rt/+linux/restore+x86_64.s