summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/stand/boot32
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2021-05-01 16:11:18 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2021-05-01 16:11:18 +0000
commit58b3d2ba77817cf3ac54cf921bf87b95844589c4 (patch)
tree8d0e4f6d500b406f61850688259f6ae7ae3c77c9 /sys/arch/sgi/stand/boot32
parent2c481e94e93c02c0c859d4f32d311d2e71b82054 (diff)
Retire OpenBSD/sgi.
OK deraadt@
Diffstat (limited to 'sys/arch/sgi/stand/boot32')
-rw-r--r--sys/arch/sgi/stand/boot32/Makefile18
-rw-r--r--sys/arch/sgi/stand/boot32/ld.script75
2 files changed, 0 insertions, 93 deletions
diff --git a/sys/arch/sgi/stand/boot32/Makefile b/sys/arch/sgi/stand/boot32/Makefile
deleted file mode 100644
index e319a1ed942..00000000000
--- a/sys/arch/sgi/stand/boot32/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-# $OpenBSD: Makefile,v 1.3 2020/04/06 02:10:33 visa Exp $
-
-.include "${.CURDIR}/../Makefile32.inc"
-LDSCRIPT= ${.CURDIR}/ld.script
-LDFLAGS+= ${SALDFLAGS} -T ${LDSCRIPT} -e __start -s
-PROG= boot32
-.PATH: ${.CURDIR}/../boot
-.include "${.CURDIR}/../boot/Makefile"
-
-SRCS+= ashrdi3.c divdi3.c moddi3.c udivdi3.c umoddi3.c qdivrem.c
-
-${PROG}: $(OBJS) $(LDADD)
- $(LD) $(LDFLAGS) -o ${PROG} $(OBJS) -L${LIBSADIR} ${LIBSA} \
- -L${LIBZDIR} ${LIBZ}
-
-LINKS= ${BINDIR}/${PROG} ${BINDIR}/boot-IP32
-
-.include <bsd.prog.mk>
diff --git a/sys/arch/sgi/stand/boot32/ld.script b/sys/arch/sgi/stand/boot32/ld.script
deleted file mode 100644
index 5ca7826d883..00000000000
--- a/sys/arch/sgi/stand/boot32/ld.script
+++ /dev/null
@@ -1,75 +0,0 @@
-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips",
- "elf32-tradlittlemips")
-OUTPUT_ARCH(mips)
-ENTRY(_start)
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x80010000 + SIZEOF_HEADERS;
- .text :
- {
- _ftext = . ;
- *(.text)
- *(.rodata)
- *(.rodata1)
- *(.rodata.str1.4)
- *(.reginfo)
- *(.init)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini : { *(.fini) } =0
- .data :
- {
- _fdata = . ;
- *(.data)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors : { *(.ctors) }
- .dtors : { *(.dtors) }
- _gp = ALIGN(16) + 0x7ff0;
- .got :
- {
- *(.got.plt) *(.got)
- }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- .lit8 : { *(.lit8) }
- .lit4 : { *(.lit4) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- _fbss = .;
- .sbss : { *(.sbss) *(.scommon) }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* These are needed for ELF backends which have not yet been
- converted to the new style linker. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- /* DWARF debug sections.
- Symbols in the .debug DWARF section are relative to the beginning of the
- section so we begin .debug at 0. It's not clear yet what needs to happen
- for the others. */
- .debug 0 : { *(.debug) }
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- .line 0 : { *(.line) }
- /* These must appear regardless of . */
- .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
- .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
-}