Raymond Toy pushed to branch sparc64-dev at cmucl / cmucl
Commits:
f90918b8 by Raymond Toy at 2016-12-28T10:33:41-08:00
Use correct return type
For sparc64, solaris_register_address returns pointers to longs, not
ints.
- - - - -
1 changed file:
- src/lisp/solaris-os.c
Changes:
=====================================
src/lisp/solaris-os.c
=====================================
--- a/src/lisp/solaris-os.c
+++ b/src/lisp/solaris-os.c
@@ -311,7 +311,7 @@ os_install_interrupt_handlers(void)
/* function definitions for register lvalues */
#ifndef i386
-int *
+long *
solaris_register_address(struct ucontext *context, int reg)
{
if (reg == 0) {
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/f90918b84b6afb351c130538e…
Raymond Toy pushed to branch sparc64-dev at cmucl / cmucl
Commits:
8e7cb94b by Raymond Toy at 2016-12-28T10:29:47-08:00
Refactor xcode settings.
Define MEM_MODEL to hold the desired memory model option and use it
where it's needed.
- - - - -
1 changed file:
- src/lisp/Config.sparc64_sunc
Changes:
=====================================
src/lisp/Config.sparc64_sunc
=====================================
--- a/src/lisp/Config.sparc64_sunc
+++ b/src/lisp/Config.sparc64_sunc
@@ -18,14 +18,15 @@ include Config.sparc_common
# instructions, even if we don't use the 64-bit registers.
ifdef FEATURE_SPARC_V9
+MEM_MODEL=-xcode=abs32
# For SunStudio 11, use -xarch=v8plus. For SunStudio 12, that is
# deprecated; use -m32 -xarch=sparc.
CC_V8PLUS = -m64
-AS_V8PLUS = -m64
+AS_V8PLUS = -m64 $(MEM_MODEL)
endif
ASSEM_SRC = sparc64-assem.S
-CFLAGS += -xcode=abs32 -xlibmieee -O
+CFLAGS += $(MEM_MODEL) -xlibmieee -O
DEPEND_FLAGS = -xM
ASFLAGS = $(AS_V8PLUS)
-OS_LINK_FLAGS = -m64 -M /usr/lib/ld/map.noexstk
+OS_LINK_FLAGS = -m64 $(MEM_MODEL) -M /usr/lib/ld/map.noexstk
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/8e7cb94b3d979c3892341a656…
Raymond Toy pushed to branch sparc64-dev at cmucl / cmucl
Commits:
15d04762 by Raymond Toy at 2016-12-27T22:34:55-08:00
Need -m64 for the linker to make 64-bit executables
- - - - -
1 changed file:
- src/lisp/Config.sparc64_sunc
Changes:
=====================================
src/lisp/Config.sparc64_sunc
=====================================
--- a/src/lisp/Config.sparc64_sunc
+++ b/src/lisp/Config.sparc64_sunc
@@ -28,4 +28,4 @@ ASSEM_SRC = sparc64-assem.S
CFLAGS += -xlibmieee -O
DEPEND_FLAGS = -xM
ASFLAGS = $(AS_V8PLUS)
-OS_LINK_FLAGS = -M /usr/lib/ld/map.noexstk
+OS_LINK_FLAGS = -m64 -M /usr/lib/ld/map.noexstk
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/15d047623964b6850d2899cc7…