openbsd-ports/devel/binutils/patches/patch-gas_configure_tgt

15 lines
506 B
Plaintext

Add OpenBSD ARM GAS support.
Index: gas/configure.tgt
--- gas/configure.tgt.orig
+++ gas/configure.tgt
@@ -159,7 +159,7 @@ case ${generic_target} in
arm-*-uclinux*eabi*) fmt=elf em=armlinuxeabi ;;
arm-*-uclinux*) fmt=elf em=linux ;;
arm-*-nacl*) fmt=elf em=nacl ;;
- arm-*-netbsd*) fmt=elf em=nbsd ;;
+ arm-*-netbsd* | arm-*-openbsd*) fmt=elf em=nbsd ;;
arm-*-nto*) fmt=elf ;;
arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*)
fmt=coff em=wince-pe ;;