Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove ia64.
This includes:
o   All directories named *ia64*
o   All files named *ia64*
o   All ia64-specific code guarded by __ia64__
o   All ia64-specific makefile logic
o   Mention of ia64 in comments and documentation

This excludes:
o   Everything under contrib/
o   Everything under crypto/
o   sys/xen/interface
o   sys/sys/elf_common.h

Discussed at: BSDcan
  • Loading branch information
marcel authored and marcel committed Jul 7, 2014
1 parent 43f783b commit 9f28abd
Show file tree
Hide file tree
Showing 444 changed files with 129 additions and 62,813 deletions.
24 changes: 2 additions & 22 deletions cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
Expand Up @@ -230,9 +230,6 @@ prepare_elf32(dtrace_hdl_t *dtp, const dof_hdr_t *dof, dof_elf32_t *dep)
#if defined(__arm__)
/* XXX */
printf("%s:%s(%d): DOODAD\n",__FUNCTION__,__FILE__,__LINE__);
#elif defined(__ia64__)
/* XXX */
printf("%s:%s(%d): DOODAD\n",__FUNCTION__,__FILE__,__LINE__);
#elif defined(__i386) || defined(__amd64)
rel->r_offset = s->dofs_offset +
dofr[j].dofr_offset;
Expand Down Expand Up @@ -424,8 +421,6 @@ prepare_elf64(dtrace_hdl_t *dtp, const dof_hdr_t *dof, dof_elf64_t *dep)
#ifdef DOODAD
#if defined(__arm__)
/* XXX */
#elif defined(__ia64__)
/* XXX */
#elif defined(__mips__)
/* XXX */
#elif defined(__powerpc__)
Expand Down Expand Up @@ -535,8 +530,6 @@ dump_elf32(dtrace_hdl_t *dtp, const dof_hdr_t *dof, int fd)
elf_file.ehdr.e_type = ET_REL;
#if defined(__arm__)
elf_file.ehdr.e_machine = EM_ARM;
#elif defined(__ia64__)
elf_file.ehdr.e_machine = EM_IA_64;
#elif defined(__mips__)
elf_file.ehdr.e_machine = EM_MIPS;
#elif defined(__powerpc__)
Expand Down Expand Up @@ -683,8 +676,6 @@ dump_elf64(dtrace_hdl_t *dtp, const dof_hdr_t *dof, int fd)
elf_file.ehdr.e_type = ET_REL;
#if defined(__arm__)
elf_file.ehdr.e_machine = EM_ARM;
#elif defined(__ia64__)
elf_file.ehdr.e_machine = EM_IA_64;
#elif defined(__mips__)
elf_file.ehdr.e_machine = EM_MIPS;
#elif defined(__powerpc__)
Expand Down Expand Up @@ -814,15 +805,6 @@ dt_modtext(dtrace_hdl_t *dtp, char *p, int isenabled, GElf_Rela *rela,
printf("%s:%s(%d): DOODAD\n",__FUNCTION__,__FILE__,__LINE__);
return (0);
}
#elif defined(__ia64__)
/* XXX */
static int
dt_modtext(dtrace_hdl_t *dtp, char *p, int isenabled, GElf_Rela *rela,
uint32_t *off)
{
printf("%s:%s(%d): DOODAD\n",__FUNCTION__,__FILE__,__LINE__);
return (0);
}
#elif defined(__mips__)
/* XXX */
static int
Expand Down Expand Up @@ -1235,9 +1217,7 @@ process_obj(dtrace_hdl_t *dtp, const char *obj, int *eprobesp)

if (dtp->dt_oflags & DTRACE_O_LP64) {
eclass = ELFCLASS64;
#if defined(__ia64__)
emachine1 = emachine2 = EM_IA_64;
#elif defined(__mips__)
#if defined(__mips__)
emachine1 = emachine2 = EM_MIPS;
#elif defined(__powerpc__)
emachine1 = emachine2 = EM_PPC64;
Expand All @@ -1258,7 +1238,7 @@ process_obj(dtrace_hdl_t *dtp, const char *obj, int *eprobesp)
#elif defined(__sparc)
emachine1 = EM_SPARC;
emachine2 = EM_SPARC32PLUS;
#elif defined(__i386) || defined(__amd64) || defined(__ia64__)
#elif defined(__i386) || defined(__amd64)
emachine1 = emachine2 = EM_386;
#endif
symsize = sizeof (Elf32_Sym);
Expand Down
2 changes: 1 addition & 1 deletion cddl/lib/libzpool/Makefile
Expand Up @@ -14,7 +14,7 @@
.if exists(${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/atomic/${MACHINE_ARCH}/opensolaris_atomic.S)
.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/atomic/${MACHINE_ARCH}
ATOMIC_SRCS= opensolaris_atomic.S
.if ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != "sparc64"
.if ${MACHINE_ARCH} != "sparc64"
ACFLAGS+= -Wa,--noexecstack
.endif
.else
Expand Down
49 changes: 0 additions & 49 deletions etc/etc.ia64/ttys

This file was deleted.

7 changes: 0 additions & 7 deletions gnu/lib/csu/Makefile
Expand Up @@ -28,13 +28,6 @@ MKDEP= -DCRT_BEGIN
CFLAGS+= -DTARGET_ARM_EABI
.endif

.if ${MACHINE_CPUARCH} == "ia64"
BEGINSRC= crtbegin.asm
ENDSRC= crtend.asm
CFLAGS+= -x assembler-with-cpp # Ugly hack
CFLAGS+= -include osreldate.h
.undef SRCS # hack for 'make depend'
.endif
.if ${MACHINE_CPUARCH} == "powerpc"
TGTOBJS= crtsavres.o
SRCS+= crtsavres.asm
Expand Down
11 changes: 0 additions & 11 deletions gnu/lib/libgcc/Makefile
Expand Up @@ -137,17 +137,6 @@ LIB2FUNCS_EXTRA+= fixdfdi.c fixunssfsi.c
.endif
.endif

.if ${TARGET_CPUARCH} == "ia64"
# from config/ia64/t-ia64
LIB1ASMSRC = lib1funcs.asm
LIB1ASMFUNCS = __divxf3 __divdf3 __divsf3 \
__divdi3 __moddi3 __udivdi3 __umoddi3 \
__divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal \
__nonlocal_goto __restore_stack_nonlocal __trampoline \
_fixtfdi _fixunstfdi _floatditf
LIB2ADDEH = unwind-ia64.c unwind-sjlj.c unwind-c.c
.endif

.if ${TARGET_ARCH} == "powerpc"
# from config/rs6000/t-ppccomm
LIB2FUNCS_EXTRA = tramp.asm
Expand Down
3 changes: 0 additions & 3 deletions gnu/usr.bin/binutils/as/ia64-freebsd/targ-cpu.h

This file was deleted.

4 changes: 0 additions & 4 deletions gnu/usr.bin/binutils/ld/Makefile
Expand Up @@ -5,10 +5,6 @@

.PATH: ${SRCDIR}/ld

.if ${TARGET_ARCH} == "ia64"
CFLAGS+= -O1
.endif

PROG= ld
SCRIPTDIR= /usr/libdata/ldscripts
SRCS+= ldcref.c \
Expand Down
24 changes: 0 additions & 24 deletions gnu/usr.bin/binutils/ld/Makefile.ia64

This file was deleted.

8 changes: 0 additions & 8 deletions gnu/usr.bin/binutils/ld/elf64_ia64_fbsd.sh

This file was deleted.

2 changes: 1 addition & 1 deletion gnu/usr.bin/binutils/libbfd/Makefile
Expand Up @@ -42,7 +42,7 @@ SRCS+= archive.c \
targets.c \
targmatch.h \
tekhex.c
.if (${TARGET_ARCH} == "ia64" || ${TARGET_ARCH} == "sparc64")
.if ${TARGET_ARCH} == "sparc64"
WARNS?= 2
.endif
CFLAGS+= -D_GNU_SOURCE
Expand Down
35 changes: 0 additions & 35 deletions gnu/usr.bin/binutils/libbfd/Makefile.ia64

This file was deleted.

2 changes: 1 addition & 1 deletion gnu/usr.bin/binutils/libbfd/bfd.h
Expand Up @@ -85,7 +85,7 @@ extern "C" {
#define BFD_HOST_64BIT_LONG 0
#define BFD_HOST_64_BIT long long
#define BFD_HOST_U_64_BIT unsigned long long
#elif defined(__alpha__) || defined(__sparc64__) || defined(__amd64__) || defined(__ia64__)
#elif defined(__alpha__) || defined(__sparc64__) || defined(__amd64__)
#define BFD_HOST_64BIT_LONG 1
#define BFD_HOST_64_BIT long
#define BFD_HOST_U_64_BIT unsigned long
Expand Down
4 changes: 0 additions & 4 deletions gnu/usr.bin/binutils/libopcodes/Makefile.ia64

This file was deleted.

3 changes: 0 additions & 3 deletions gnu/usr.bin/cc/Makefile.tgt
Expand Up @@ -11,9 +11,6 @@ TARGET_CPUARCH=${MACHINE_CPUARCH}
TARGET_ARCH?= ${MACHINE_ARCH}
GCC_CPU=${TARGET_CPUARCH:C/amd64/i386/:C/powerpc/rs6000/:C/sparc64/sparc/}

.if ${TARGET_ARCH} == "ia64"
TARGET_CPU_DEFAULT= MASK_GNU_AS|MASK_GNU_LD
.endif
.if ${TARGET_ARCH} == "sparc64"
TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
.endif
Expand Down
2 changes: 0 additions & 2 deletions gnu/usr.bin/cc/include/Makefile
Expand Up @@ -12,8 +12,6 @@ INCSDIR=${INCLUDEDIR}/gcc/${GCCVER}
INCS= ammintrin.h emmintrin.h mmintrin.h mm3dnow.h pmmintrin.h \
tmmintrin.h xmmintrin.h mm_malloc.h
INCS+= wmmintrin.h __wmmintrin_aes.h __wmmintrin_pclmul.h
.elif ${TARGET_ARCH} == "ia64"
INCS= ia64intrin.h
.elif ${TARGET_ARCH} == "arm"
INCS= mmintrin.h
.elif ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "powerpc64"
Expand Down
14 changes: 0 additions & 14 deletions gnu/usr.bin/gdb/arch/ia64/Makefile

This file was deleted.

0 comments on commit 9f28abd

Please sign in to comment.