]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add --enable-static-pie variants to x86_64, x32 and i686
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Dec 2017 02:11:17 +0000 (18:11 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Dec 2017 02:11:47 +0000 (18:11 -0800)
Since the default GCC and binutils versions used by build-many-glibcs.py,
which are GCC 7 branch and binutils 2.29 branch, support static PIE on
x86_64, x32 and i686, this patch adds --enable-static-pie glibc variants
to x86_64, x32 and i686 to get some coverage for static PIE.

Tested with build-many-glibcs.py.

* scripts/build-many-glibcs.py (Context.add_all_configs): Add
--enable-static-pie variants to x86_64, x32 and i686.

ChangeLog
scripts/build-many-glibcs.py

index 4f869a908a1711a1b50b6e3105a9b2fc1912f077..5eac6f03d30f146aceb522d8adfd6bba6f912797 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * scripts/build-many-glibcs.py (Context.add_all_configs): Add
+       --enable-static-pie variants to x86_64, x32 and i686.
+
 2017-12-19  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #22631]
index dd4c70d5727aeb609b74a63e7dff62f8a942e0ea..b86d6c13877d0dbb6ba8d3dce46e1a13d2e0a24a 100755 (executable)
@@ -369,6 +369,15 @@ class Context(object):
                                 {'arch': 'i686', 'ccopts': '-m32 -march=i686'}],
                         extra_glibcs=[{'variant': 'disable-multi-arch',
                                        'cfg': ['--disable-multi-arch']},
+                                      {'variant': 'static-pie',
+                                       'cfg': ['--enable-static-pie']},
+                                      {'variant': 'x32-static-pie',
+                                       'ccopts': '-mx32',
+                                       'cfg': ['--enable-static-pie']},
+                                      {'variant': 'static-pie',
+                                       'arch': 'i686',
+                                       'ccopts': '-m32 -march=i686',
+                                       'cfg': ['--enable-static-pie']},
                                       {'variant': 'disable-multi-arch',
                                        'arch': 'i686',
                                        'ccopts': '-m32 -march=i686',