Add default-abi definitions for powerpc, s390 and sparc.

This commit is contained in:
Joseph Myers 2012-06-01 21:19:28 +00:00
parent 88a4576f50
commit ea32bcdd3d
7 changed files with 29 additions and 0 deletions

View File

@ -1,5 +1,17 @@
2012-06-01 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
(default-abi): New variable.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
variable.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
Likewise.
* Makeconfig [abi-variants && !default-abi] (default-abi): Remove
definition. Document in comment.

View File

@ -1,3 +1,6 @@
# See Makeconfig regarding the use of default-abi.
default-abi := 32
ifeq ($(subdir),resource)
sysdep_routines += oldgetrlimit64
endif

View File

@ -0,0 +1,2 @@
# See Makeconfig regarding the use of default-abi.
default-abi := 64

View File

@ -1,3 +1,6 @@
# See Makeconfig regarding the use of default-abi.
default-abi := 32
ifeq ($(subdir),login)
sysdep_routines += utmp32 utmpx32
libutil-routines += login32

View File

@ -1,3 +1,6 @@
# See Makeconfig regarding the use of default-abi.
default-abi := 64
ifeq ($(subdir),misc)
sysdep_headers += sys/elf.h
endif

View File

@ -1,3 +1,6 @@
# See Makeconfig regarding the use of default-abi.
default-abi := 32
asm-CPPFLAGS = -D__ASSEMBLY__
ASFLAGS-.os += -fPIC
LD += -melf32_sparc

View File

@ -1,2 +1,5 @@
# See Makeconfig regarding the use of default-abi.
default-abi := 64
sysdep-CFLAGS += -fcall-used-g6
LD += -melf64_sparc