From c64bb3c94786f41f0c5efff4cbe55a65357afffc Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Wed, 30 May 2012 13:14:28 -0400 Subject: [PATCH] tile: support biarch tilegx with a new tilegx Makefile --- ChangeLog.tile | 2 ++ sysdeps/unix/sysv/linux/tile/tilegx/Makefile | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/tile/tilegx/Makefile diff --git a/ChangeLog.tile b/ChangeLog.tile index 4e012515b2..d8009ab6e4 100644 --- a/ChangeLog.tile +++ b/ChangeLog.tile @@ -1,5 +1,7 @@ 2012-05-30 Chris Metcalf + * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: New file. + * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Replace _internal alias by hidden_def. diff --git a/sysdeps/unix/sysv/linux/tile/tilegx/Makefile b/sysdeps/unix/sysv/linux/tile/tilegx/Makefile new file mode 100644 index 0000000000..f21610c5ed --- /dev/null +++ b/sysdeps/unix/sysv/linux/tile/tilegx/Makefile @@ -0,0 +1,10 @@ +ifeq ($(subdir),misc) + +# Provide biarch definitions. +abi-variants := 64 32 +abi-64-options := -D__LP64__ +abi-64-condition := __WORDSIZE == 64 +abi-32-options := -U__LP64__ +abi-32-condition := __WORDSIZE == 32 + +endif -- 2.43.5