mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-10-04 17:40:58 -04:00
42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
$NetBSD$
|
|
|
|
--- gcc/config.gcc.orig Wed May 21 19:48:55 2014
|
|
+++ gcc/config.gcc
|
|
@@ -839,6 +839,22 @@ arm*-*-eabi* | arm*-*-symbianelf* )
|
|
tm_file="${tm_file} arm/aout.h arm/arm.h"
|
|
tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
|
|
;;
|
|
+arm*-*-minix*)
|
|
+ # The BPABI long long divmod functions return a 128-bit value in
|
|
+ # registers r0-r3. Correctly modeling that requires the use of
|
|
+ # TImode.
|
|
+ need_64bit_hwint=yes
|
|
+ default_use_cxa_atexit=yes
|
|
+ tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/bpabi.h"
|
|
+ tmake_file="arm/t-arm arm/t-arm-elf"
|
|
+
|
|
+ tm_file="$tm_file arm/eabi.h newlib-stdint.h minix-spec.h arm/minix.h minix.h"
|
|
+ tmake_file="${tmake_file} arm/t-bpabi t-minix"
|
|
+ #extra_options="${extra_options} arm/eabi.opt"
|
|
+ #use_gcc_stdint=wrap
|
|
+
|
|
+ tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
|
|
+ ;;
|
|
arm*-*-rtems*)
|
|
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h"
|
|
tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems"
|
|
@@ -1162,6 +1178,13 @@ i[34567]86-*-freebsd*)
|
|
x86_64-*-freebsd*)
|
|
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
|
|
tmake_file="${tmake_file} i386/t-crtstuff"
|
|
+ ;;
|
|
+i[34567]86-*-minix)
|
|
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h minix-spec.h i386/minix.h minix.h"
|
|
+ tmake_file="${tmake_file} t-minix"
|
|
+ gas=yes
|
|
+ gnu_ld=yes
|
|
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
|
|
;;
|
|
i[34567]86-*-netbsdelf*)
|
|
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
|