summaryrefslogtreecommitdiff
path: root/sysdeps/tile/dl-machine.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-12-12 19:15:45 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-12-20 16:55:24 -0200
commited95f6114928f00f5f8fe76ccf2ec9e77872cbad (patch)
tree0161d2bc2599666e4dab69cfb07a75a445760f79 /sysdeps/tile/dl-machine.h
parent4735850f7a4f07f05ee9ff405238332f4bb3ab50 (diff)
downloadglibc-ed95f6114928f00f5f8fe76ccf2ec9e77872cbad.tar.gz
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/dl-machine.h')
-rw-r--r--sysdeps/tile/dl-machine.h248
1 files changed, 10 insertions, 238 deletions
diff --git a/sysdeps/tile/dl-machine.h b/sysdeps/tile/dl-machine.h
index f7af7c3848..d745a9c07f 100644
--- a/sysdeps/tile/dl-machine.h
+++ b/sysdeps/tile/dl-machine.h
@@ -20,11 +20,7 @@
#ifndef dl_machine_h
#define dl_machine_h
-#ifdef __tilegx__
#define ELF_MACHINE_NAME "tilegx"
-#else
-#define ELF_MACHINE_NAME "tilepro"
-#endif
#include <sys/param.h>
#include <string.h>
@@ -37,18 +33,12 @@
static inline int
elf_machine_matches_host (const ElfW(Ehdr) *ehdr)
{
-#if defined __tilegx__
if (ehdr->e_machine != EM_TILEGX)
return 0;
-# if __WORDSIZE == 32
+#if __WORDSIZE == 32
return (ehdr->e_ident[EI_CLASS] == ELFCLASS32);
-# else
- return (ehdr->e_ident[EI_CLASS] == ELFCLASS64);
-# endif
-#elif defined __tilepro__
- return ehdr->e_machine == EM_TILEPRO;
#else
-# error "Unknown tile architecture."
+ return (ehdr->e_ident[EI_CLASS] == ELFCLASS64);
#endif
}
@@ -62,19 +52,12 @@ elf_machine_dynamic (void)
{
ElfW(Addr) *got;
-#ifdef __tilegx__
ElfW(Addr) tmp;
asm( " { lnk %0; moveli %1, hw2_last(_GLOBAL_OFFSET_TABLE_ - 1f) }\n"
"1: shl16insli %1, %1, hw1(_GLOBAL_OFFSET_TABLE_ - 1b)\n"
" shl16insli %1, %1, hw0(_GLOBAL_OFFSET_TABLE_ - 1b)\n"
" add %0, %0, %1"
: "=r" (got), "=r" (tmp));
-#else
- asm( " lnk %0\n"
- "1: addli %0, %0, lo16(_GLOBAL_OFFSET_TABLE_ - 1b)\n"
- " auli %0, %0, ha16(_GLOBAL_OFFSET_TABLE_ - 1b)"
- : "=r" (got));
-#endif
return *got;
}
@@ -86,9 +69,8 @@ elf_machine_load_address (void)
{
ElfW(Addr) *got;
ElfW(Addr) dynamic;
-
-#ifdef __tilegx__
ElfW(Addr) tmp;
+
asm( " lnk %2\n"
"1: {\n"
" moveli %0, hw2_last(_GLOBAL_OFFSET_TABLE_ - 1b)\n"
@@ -107,18 +89,6 @@ elf_machine_load_address (void)
" add %1, %1, %2\n"
" }"
: "=r" (got), "=r" (dynamic), "=r" (tmp));
-#else
- asm( " lnk %0\n"
- "1: {\n"
- " addli %0, %0, lo16(_GLOBAL_OFFSET_TABLE_ - 1b)\n"
- " addli %1, %0, lo16(_DYNAMIC - 1b)\n"
- " }\n"
- " {\n"
- " auli %0, %0, ha16(_GLOBAL_OFFSET_TABLE_ - 1b)\n"
- " auli %1, %1, ha16(_DYNAMIC - 1b)\n"
- " }\n"
- : "=r" (got), "=r" (dynamic));
-#endif
return dynamic - *got;
}
@@ -197,15 +167,10 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
#endif
/* Wrap a generic Tilera relocation type. */
-#ifdef __tilegx__
#define R_TILE(x) R_TILEGX_##x
#define __R_TILE_TLS(x,c) R_TILEGX_TLS_##x##c
#define _R_TILE_TLS(x,c) __R_TILE_TLS(x,c)
#define R_TILE_TLS(x) _R_TILE_TLS(x,__ELF_NATIVE_CLASS)
-#else
-#define R_TILE(x) R_TILEPRO_##x
-#define R_TILE_TLS(x) R_TILEPRO_TLS_##x##32
-#endif
/* ELF_RTYPE_CLASS_PLT iff TYPE describes relocation of a PLT entry or
TLS variable, so undefined references should not be allowed to
@@ -272,13 +237,8 @@ struct reloc_howto
/* Right shift operand by this number of bits. */
unsigned char right_shift;
-#ifdef __tilegx__
/* If nonzero, this is updating a code bundle. */
unsigned char is_bundle_update;
-#else
- /* If nonzero, add 0x8000 to the value. */
- unsigned char add_0x8000;
-#endif
/* If nonzero, subtract the containing address from the address. */
unsigned char is_pcrel;
@@ -291,19 +251,17 @@ struct reloc_howto
because then the table would not be position-independent. */
static const struct reloc_howto howto[] =
{
-#ifdef __tilegx__
-
-# if __WORDSIZE == 32
+#if __WORDSIZE == 32
/* The GX -m32 loader only handles 32-bit types, so it will be confused
by shifts larger than that. We convert them to just sign-extend;
they usually indicate a program bug or missed optimization, but we
have to handle them correctly anyway. */
-# define S32 31
-# define S48 31
-# else
-# define S32 32
-# define S48 48
-# endif
+# define S32 31
+# define S48 31
+#else
+# define S32 32
+# define S48 48
+#endif
/* R_TILEGX_NONE */ { 0, 0, 0, 0 },
/* R_TILEGX_64 */ { 0, 0, 0, 8 },
@@ -417,93 +375,6 @@ static const struct reloc_howto howto[] =
/* R_TILEGX_TLS_DTPMOD32 */ { 0, 0, 0, 0 },
/* R_TILEGX_TLS_DTPOFF32 */ { 0, 0, 0, 0 },
/* R_TILEGX_TLS_TPOFF32 */ { 0, 0, 0, 0 }
-#else
- /* R_TILEPRO_NONE */ { 0, 0, 0, 0 },
- /* R_TILEPRO_32 */ { 0, 0, 0, 4 },
- /* R_TILEPRO_16 */ { 0, 0, 0, 2 },
- /* R_TILEPRO_8 */ { 0, 0, 0, 1 },
- /* R_TILEPRO_32_PCREL */ { 0, 0, 1, 4 },
- /* R_TILEPRO_16_PCREL */ { 0, 0, 1, 2 },
- /* R_TILEPRO_8_PCREL */ { 0, 0, 1, 1 },
- /* R_TILEPRO_LO16 */ { 0, 0, 0, 2 },
- /* R_TILEPRO_HI16 */ { 16, 0, 0, 2 },
- /* R_TILEPRO_HA16 */ { 16, 1, 0, 2 },
- /* R_TILEPRO_COPY */ { 0, 0, 0, 0 },
- /* R_TILEPRO_GLOB_DAT */ { 0, 0, 0, 4 },
- /* R_TILEPRO_JMP_SLOT */ { 0, 0, 0, 0 },
- /* R_TILEPRO_RELATIVE */ { 0, 0, 0, 0 },
- /* R_TILEPRO_BROFF_X1 */ { 3, 0, 1, 8 },
- /* R_TILEPRO_JOFFLONG_X1 */ { 3, 0, 1, 8 },
- /* R_TILEPRO_JOFFLONG_X1_PLT */ { 3, 0, 1, 8 },
- /* R_TILEPRO_IMM8_X0 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM8_Y0 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM8_X1 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM8_Y1 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_MT_IMM15_X1 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_MF_IMM15_X1 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X1 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0_LO */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X1_LO */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0_HI */ { 16, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X1_HI */ { 16, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0_HA */ { 16, 1, 0, 8 },
- /* R_TILEPRO_IMM16_X1_HA */ { 16, 1, 0, 8 },
- /* R_TILEPRO_IMM16_X0_PCREL */ { 0, 0, 1, 8 },
- /* R_TILEPRO_IMM16_X1_PCREL */ { 0, 0, 1, 8 },
- /* R_TILEPRO_IMM16_X0_LO_PCREL */ { 0, 0, 1, 8 },
- /* R_TILEPRO_IMM16_X1_LO_PCREL */ { 0, 0, 1, 8 },
- /* R_TILEPRO_IMM16_X0_HI_PCREL */ { 16, 0, 1, 8 },
- /* R_TILEPRO_IMM16_X1_HI_PCREL */ { 16, 0, 1, 8 },
- /* R_TILEPRO_IMM16_X0_HA_PCREL */ { 16, 1, 1, 8 },
- /* R_TILEPRO_IMM16_X1_HA_PCREL */ { 16, 1, 1, 8 },
- /* R_TILEPRO_IMM16_X0_GOT */ { 0, 0, 0, 0 },
- /* R_TILEPRO_IMM16_X1_GOT */ { 0, 0, 0, 0 },
- /* R_TILEPRO_IMM16_X0_GOT_LO */ { 0, 0, 0, 0 },
- /* R_TILEPRO_IMM16_X1_GOT_LO */ { 0, 0, 0, 0 },
- /* R_TILEPRO_IMM16_X0_GOT_HI */ { 0, 0, 0, 0 },
- /* R_TILEPRO_IMM16_X1_GOT_HI */ { 0, 0, 0, 0 },
- /* R_TILEPRO_IMM16_X0_GOT_HA */ { 0, 0, 0, 0 },
- /* R_TILEPRO_IMM16_X1_GOT_HA */ { 0, 0, 0, 0 },
- /* R_TILEPRO_MMSTART_X0 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_MMEND_X0 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_MMSTART_X1 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_MMEND_X1 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_SHAMT_X0 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_SHAMT_X1 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_SHAMT_Y0 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_SHAMT_Y1 */ { 0, 0, 0, 8 },
- /* R_TILEPRO_SN_BROFF */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_IMM8 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_UIMM8 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_BYTE0 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_BYTE1 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_BYTE2 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_BYTE3 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_SPCREL0 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_SPCREL1 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_SPCREL2 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_SN_SPCREL3 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_IMM16_X0_TLS_GD */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X1_TLS_GD */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0_TLS_GD_LO */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X1_TLS_GD_LO */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0_TLS_GD_HI */ { 16, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X1_TLS_GD_HI */ { 16, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0_TLS_GD_HA */ { 16, 1, 0, 8 },
- /* R_TILEPRO_IMM16_X1_TLS_GD_HA */ { 16, 1, 0, 8 },
- /* R_TILEPRO_IMM16_X0_TLS_IE */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X1_TLS_IE */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0_TLS_IE_LO */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X1_TLS_IE_LO */ { 0, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0_TLS_IE_HI */ { 16, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X1_TLS_IE_HI */ { 16, 0, 0, 8 },
- /* R_TILEPRO_IMM16_X0_TLS_IE_HA */ { 16, 1, 0, 8 },
- /* R_TILEPRO_IMM16_X1_TLS_IE_HA */ { 16, 1, 0, 8 },
- /* R_TILEPRO_TLS_DTPMOD32 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_TLS_DTPOFF32 */ { 0, 0, 0, 0 },
- /* R_TILEPRO_TLS_TPOFF32 */ { 0, 0, 0, 0 },
-#endif
};
#if __ELF_NATIVE_CLASS == 32
@@ -653,11 +524,6 @@ elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
if (h->is_pcrel)
value -= (ElfW(Addr)) reloc_addr;
-#ifndef __tilegx__
- if (h->add_0x8000)
- value += 0x8000;
-#endif
-
value = ((long) value) >> h->right_shift;
switch (h->byte_size)
@@ -671,14 +537,12 @@ elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
case 4:
*(int *) reloc_addr = value;
return;
-#ifdef __tilegx__
case 8:
if (!h->is_bundle_update)
{
*(ElfW(Addr) *) reloc_addr = value;
return;
}
-#endif
}
/* We are updating a bundle, so use the function pointer that
@@ -704,7 +568,6 @@ elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
switch (r_type)
{
-#ifdef __tilegx__
case R_TILEGX_BROFF_X1:
MUNGE_SIGNED (BrOff_X1, 17);
break;
@@ -796,97 +659,6 @@ elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
case R_TILEGX_SHAMT_Y1:
MUNGE (ShAmt_Y1);
break;
-#else
- case R_TILEPRO_BROFF_X1:
- MUNGE_SIGNED (BrOff_X1, 17);
- break;
- case R_TILEPRO_JOFFLONG_X1:
- case R_TILEPRO_JOFFLONG_X1_PLT:
- MUNGE_NOCHECK (JOffLong_X1); /* holds full 32-bit value */
- break;
- case R_TILEPRO_IMM8_X0:
- MUNGE_SIGNED (Imm8_X0, 8);
- break;
- case R_TILEPRO_IMM8_Y0:
- MUNGE_SIGNED (Imm8_Y0, 8);
- break;
- case R_TILEPRO_IMM8_X1:
- MUNGE_SIGNED (Imm8_X1, 8);
- break;
- case R_TILEPRO_IMM8_Y1:
- MUNGE_SIGNED (Imm8_Y1, 8);
- break;
- case R_TILEPRO_MT_IMM15_X1:
- MUNGE (MT_Imm15_X1);
- break;
- case R_TILEPRO_MF_IMM15_X1:
- MUNGE (MF_Imm15_X1);
- break;
- case R_TILEPRO_IMM16_X0_LO:
- case R_TILEPRO_IMM16_X0_HI:
- case R_TILEPRO_IMM16_X0_HA:
- case R_TILEPRO_IMM16_X0_LO_PCREL:
- case R_TILEPRO_IMM16_X0_HI_PCREL:
- case R_TILEPRO_IMM16_X0_HA_PCREL:
- case R_TILEPRO_IMM16_X0_TLS_GD_LO:
- case R_TILEPRO_IMM16_X0_TLS_GD_HI:
- case R_TILEPRO_IMM16_X0_TLS_GD_HA:
- case R_TILEPRO_IMM16_X0_TLS_IE_LO:
- case R_TILEPRO_IMM16_X0_TLS_IE_HI:
- case R_TILEPRO_IMM16_X0_TLS_IE_HA:
- MUNGE_NOCHECK (Imm16_X0);
- break;
- case R_TILEPRO_IMM16_X0:
- case R_TILEPRO_IMM16_X0_PCREL:
- case R_TILEPRO_IMM16_X0_TLS_GD:
- case R_TILEPRO_IMM16_X0_TLS_IE:
- MUNGE_SIGNED (Imm16_X0, 16);
- break;
- case R_TILEPRO_IMM16_X1_LO:
- case R_TILEPRO_IMM16_X1_HI:
- case R_TILEPRO_IMM16_X1_HA:
- case R_TILEPRO_IMM16_X1_LO_PCREL:
- case R_TILEPRO_IMM16_X1_HI_PCREL:
- case R_TILEPRO_IMM16_X1_HA_PCREL:
- case R_TILEPRO_IMM16_X1_TLS_GD_LO:
- case R_TILEPRO_IMM16_X1_TLS_GD_HI:
- case R_TILEPRO_IMM16_X1_TLS_GD_HA:
- case R_TILEPRO_IMM16_X1_TLS_IE_LO:
- case R_TILEPRO_IMM16_X1_TLS_IE_HI:
- case R_TILEPRO_IMM16_X1_TLS_IE_HA:
- MUNGE_NOCHECK (Imm16_X1);
- break;
- case R_TILEPRO_IMM16_X1:
- case R_TILEPRO_IMM16_X1_PCREL:
- case R_TILEPRO_IMM16_X1_TLS_GD:
- case R_TILEPRO_IMM16_X1_TLS_IE:
- MUNGE_SIGNED (Imm16_X1, 16);
- break;
- case R_TILEPRO_MMSTART_X0:
- MUNGE (MMStart_X0);
- break;
- case R_TILEPRO_MMEND_X0:
- MUNGE (MMEnd_X0);
- break;
- case R_TILEPRO_MMSTART_X1:
- MUNGE (MMStart_X1);
- break;
- case R_TILEPRO_MMEND_X1:
- MUNGE (MMEnd_X1);
- break;
- case R_TILEPRO_SHAMT_X0:
- MUNGE (ShAmt_X0);
- break;
- case R_TILEPRO_SHAMT_X1:
- MUNGE (ShAmt_X1);
- break;
- case R_TILEPRO_SHAMT_Y0:
- MUNGE (ShAmt_Y0);
- break;
- case R_TILEPRO_SHAMT_Y1:
- MUNGE (ShAmt_Y1);
- break;
-#endif
}
#undef MUNGE
*p = bits;