diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-12-12 19:15:45 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-12-20 16:55:24 -0200 |
commit | ed95f6114928f00f5f8fe76ccf2ec9e77872cbad (patch) | |
tree | 0161d2bc2599666e4dab69cfb07a75a445760f79 /sysdeps/tile/tls-macros.h | |
parent | 4735850f7a4f07f05ee9ff405238332f4bb3ab50 (diff) | |
download | glibc-ed95f6114928f00f5f8fe76ccf2ec9e77872cbad.zip glibc-ed95f6114928f00f5f8fe76ccf2ec9e77872cbad.tar.gz glibc-ed95f6114928f00f5f8fe76ccf2ec9e77872cbad.tar.bz2 |
Remove tilepro-*-linux-gnu support
As from previous discussions [1] this patch removes tileprox-*-linux-gnu
support from GLIBC. This patch is a straigthfoward one, which just remove
tilepro specific implementation and configurations (no sysdep simplfication
or reorganization is done).
* README: Remove tilepro-*-linux-gnu from supported architecture.
* scripts/build-many-glibcs.py: Likewise.
* sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
* sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
* sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
elf_machine_matches_host, elf_machine_dynamic,
elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
howto, elf_machine_rela): Likewise
* sysdeps/tile/dl-start.S (_start): Likewise.
* sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
* sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
* sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
* sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
* sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
Likewise.
* sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/tile/preconfigure: Likewise.
* sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
POINTER_CHK_GUARD): Likewise.
* sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
* sysdeps/tile/start.S (_start): Likewise.
* sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
Likewise.
* sysdeps/tile/sysdep.h (REGSIZE): Likewise.
(LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
CMOVNEZ): Remove.
* sysdeps/unix/sysv/linux/tile/bits/environments.h
(__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
__ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
Likewise.
* sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
* sysdeps/tile/tilepro/Implies: Remove file.
* sysdeps/tile/tilepro/atomic-machine.h: Likewise.
* sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
* sysdeps/tile/tilepro/memchr.c: Likewise.
* sysdeps/tile/tilepro/memcpy.S: Likewise.
* sysdeps/tile/tilepro/memset.c: Likewise.
* sysdeps/tile/tilepro/memusage.h: Likewise.
* sysdeps/tile/tilepro/rawmemchr.c: Likewise.
* sysdeps/tile/tilepro/strchr.c: Likewise.
* sysdeps/tile/tilepro/strchrnul.c: Likewise.
* sysdeps/tile/tilepro/strlen.c: Likewise.
* sysdeps/tile/tilepro/strrchr.c: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
* sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
tilepro mention in comment.
[1] https://sourceware.org/ml/libc-alpha/2017-12/msg00038.html
Diffstat (limited to 'sysdeps/tile/tls-macros.h')
-rw-r--r-- | sysdeps/tile/tls-macros.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sysdeps/tile/tls-macros.h b/sysdeps/tile/tls-macros.h index 878358a..47689b3 100644 --- a/sysdeps/tile/tls-macros.h +++ b/sysdeps/tile/tls-macros.h @@ -16,16 +16,10 @@ License along with the GNU C Library. If not, see <http://www.gnu.org/licenses/>. */ -#ifdef __tilegx__ #define TLS_GD_OFFSET(x) \ "moveli r0, hw1_last_tls_gd(" #x ")\n\t" \ "shl16insli r0, r0, hw0_tls_gd(" #x ")\n\t" \ "addi r0, %1, tls_add(" #x ")\n\t" -#else -#define TLS_GD_OFFSET(x) \ - "auli r0, %1, tls_gd_ha16(" #x ")\n\t" \ - "addli r0, r0, tls_gd_lo16(" #x ")\n\t" -#endif #define TLS_GD(x) \ ({ \ @@ -42,18 +36,11 @@ /* No special support for LD mode. */ #define TLS_LD TLS_GD -#ifdef __tilegx__ #define TLS_IE_OFFSET(x) \ "moveli %0, hw1_last_tls_ie(" #x ")\n\t" \ "shl16insli %0, %0, hw0_tls_ie(" #x ")\n\t" \ "addi %0, %1, tls_add(" #x ")\n\t" #define LD_TLS "ld_tls" -#else -#define TLS_IE_OFFSET(x) \ - "auli %0, %1, tls_ie_ha16(" #x ")\n\t" \ - "addli %0, %0, tls_ie_lo16(" #x ")\n\t" -#define LD_TLS "lw_tls" -#endif #define TLS_IE(x) \ ({ \ @@ -66,16 +53,10 @@ "=&r" (__retval) : "r" (_GLOBAL_OFFSET_TABLE_)); \ __retval; }) -#ifdef __tilegx__ #define _TLS_LE(x) \ "moveli %0, hw1_last_tls_le(" #x ")\n\t" \ "shl16insli %0, %0, hw0_tls_le(" #x ")\n\t" \ "add %0, %0, tp" -#else -#define _TLS_LE(x) \ - "auli %0, tp, tls_le_ha16(" #x ")\n\t" \ - "addli %0, %0, tls_le_lo16(" #x ")\n\t" -#endif #define TLS_LE(x) \ ({ \ |