[redhat-rpm-config] redhat-rpm-config: change default arch level target for all ARM v7 to armv7hl

Jon Masters jcm at fedoraproject.org
Sat Jul 2 08:59:40 UTC 2011


commit a51eb50bb40e23ef1375052b6fe12f0df46d6b6c
Author: Jon Masters <jcm at jonmasters.org>
Date:   Sat Jul 2 04:55:37 2011 -0400

    redhat-rpm-config: change default arch level target for all ARM v7 to armv7hl
    
    All ARM version 7 systems support a vector hardware floating point unit and
    have the ability to run using the hard floating point ABI (aapcs-vfpv3-d16).
    This is the only configuration we support as a v7 target, so we force the
    use of hard floating point. This prevents e.g. packages being built with
    a armv5tel target on an armv7 system without explicit intent.
    
    Signed-off-by: Jon Masters <jcm at jonmasters.org>

 redhat-rpm-config-9.1.0-arm.patch |   15 +++++++++------
 redhat-rpm-config.spec            |    7 +++++--
 2 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/redhat-rpm-config-9.1.0-arm.patch b/redhat-rpm-config-9.1.0-arm.patch
index a6b792b..f620294 100644
--- a/redhat-rpm-config-9.1.0-arm.patch
+++ b/redhat-rpm-config-9.1.0-arm.patch
@@ -1,7 +1,7 @@
-diff -uNr redhat-rpm-config-9.1.0-orig/rpmrc redhat-rpm-config-9.1.0/rpmrc
---- redhat-rpm-config-9.1.0-orig/rpmrc	2010-02-02 03:24:04.000000000 -0600
-+++ redhat-rpm-config-9.1.0/rpmrc	2011-06-13 10:40:02.000000000 -0500
-@@ -46,10 +46,12 @@
+diff -urNp redhat-rpm-config-9.1.0_orig/rpmrc redhat-rpm-config-9.1.0/rpmrc
+--- redhat-rpm-config-9.1.0_orig/rpmrc	2010-02-02 04:24:04.000000000 -0500
++++ redhat-rpm-config-9.1.0/rpmrc	2011-07-02 04:29:11.921575635 -0400
+@@ -46,10 +46,12 @@ optflags: armv3l %{__global_cflags} -fsi
  optflags: armv4b %{__global_cflags} -fsigned-char -march=armv4
  optflags: armv4l %{__global_cflags} -fsigned-char -march=armv4
  optflags: armv4tl %{__global_cflags} -march=armv4t
@@ -18,9 +18,12 @@ diff -uNr redhat-rpm-config-9.1.0-orig/rpmrc redhat-rpm-config-9.1.0/rpmrc
  
  optflags: atarist %{__global_cflags}
  optflags: atariste %{__global_cflags}
-@@ -77,4 +79,5 @@
+@@ -76,5 +78,7 @@ buildarchtranslate: sparcv9v: sparcv9
+ 
  buildarchtranslate: armv5tejl: armv5tel
  buildarchtranslate: armv6l: armv5tel
- buildarchtranslate: armv7l: armv5tel
+-buildarchtranslate: armv7l: armv5tel
++buildarchtranslate: armv7l: armv7hl
++buildarchtranslate: armv7hl: armv7hl
 +buildarchtranslate: armv7hnl: armv7hl
  
diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec
index ca9d25b..8a73840 100644
--- a/redhat-rpm-config.spec
+++ b/redhat-rpm-config.spec
@@ -1,7 +1,7 @@
 Summary: Red Hat specific rpm configuration files
 Name: redhat-rpm-config
 Version: 9.1.0
-Release: 11%{?dist}
+Release: 12%{?dist}
 # No version specified.
 License: GPL+
 Group: Development/System
@@ -57,7 +57,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_sysconfdir}/rpm/*
 
 %changelog
-* Mon Jun 27 2011 Adam Jackson <ajax at redhat.com> 9.1.0-11
+* Sat Jul 02 2011 Jon Masters <jcm at jonmasters.org> - 9.1.0-12
+- redhat-rpm-config-9.1.0-arm.patch: Make armv7hl default on all v7 ARM
+
+* Mon Jun 27 2011 Adam Jackson <ajax at redhat.com> - 9.1.0-11
 - redhat-rpm-config-9.1.0-relro.patch: Add -Wl,-z,relro to __global_cflags
 
 * Tue Jun 21 2011 Jens Petersen <petersen at redhat.com> - 9.1.0-10


More information about the scm-commits mailing list