Date: Wed, 16 Oct 2019 21:46:24 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514619 - in head/devel/powerpc64-gcc: . files Message-ID: <201910162146.x9GLkOmQ027138@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb (src,doc committer) Date: Wed Oct 16 21:46:24 2019 New Revision: 514619 URL: https://svnweb.freebsd.org/changeset/ports/514619 Log: Always set the endian flag for the linker emulation for MIPS. Fix a regression in r472011 where gcc would pass a linker emulation without an endian flag if neither -EB nor -EL were provided on the gcc command line. Bump PORTREVISION. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D22004 Modified: head/devel/powerpc64-gcc/Makefile head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips Modified: head/devel/powerpc64-gcc/Makefile ============================================================================== --- head/devel/powerpc64-gcc/Makefile Wed Oct 16 21:46:10 2019 (r514618) +++ head/devel/powerpc64-gcc/Makefile Wed Oct 16 21:46:24 2019 (r514619) @@ -2,7 +2,7 @@ PORTNAME= gcc PORTVERSION= 6.4.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMEPREFIX?= powerpc64- Modified: head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips ============================================================================== --- head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips Wed Oct 16 21:46:10 2019 (r514618) +++ head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips Wed Oct 16 21:46:24 2019 (r514619) @@ -64,7 +64,7 @@ new file mode 100644 index 0000000..56a921e --- /dev/null +++ gcc/config/mips/freebsd.h -@@ -0,0 +1,320 @@ +@@ -0,0 +1,325 @@ +/* Definitions for MIPS varients running FreeBSD with ELF format + Copyright (C) 2008 Free Software Foundation, Inc. + Continued by David O'Brien <obrien@freebsd.org> @@ -312,9 +312,14 @@ index 0000000..56a921e + +/* Always pass ISA to drivers */ +#undef DRIVER_SELF_SPECS -+#define DRIVER_SELF_SPECS \ -+ MIPS_DEFAULT_ISA_LEVEL_SPEC, \ -+ MIPS_ISA_LEVEL_SPEC, \ ++#define DRIVER_SELF_SPECS \ ++ MIPS_DEFAULT_ISA_LEVEL_SPEC, \ ++ MIPS_ISA_LEVEL_SPEC, \ ++ \ ++ /* Make sure that an endian option is always present. This makes \ ++ things like LINK_SPEC easier to write. */ \ ++ "%{!EB:%{!EL:%(endian_spec)}}", \ ++ \ + BASE_DRIVER_SELF_SPECS + +#if 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910162146.x9GLkOmQ027138>