Patchwork [4/4] Add ILP32 support to aarch64

login
register
mail settings
Submitter Steve Ellcey
Date Aug. 3, 2017, 3:38 p.m.
Message ID <1501774681.3962.56.camel@cavium.com>
Download mbox | patch
Permalink /patch/21909/
State New
Headers show

Comments

Steve Ellcey - Aug. 3, 2017, 3:38 p.m.
Here is a patch to build-many.py for ILP32 aarch64.

Steve Ellcey
sellcey@cavium.com

2017-08-03  Steve Ellcey  <sellcey@caviumnetworks.com>

	* scripts/build-many-glibcs.py (Context.add_all_configs):
	Add ilp32 variants of aarch64 architecture.

Patch

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 5fbb564..f950852 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -161,8 +161,16 @@  class Context(object):
         """Add all known glibc build configurations."""
         self.add_config(arch='aarch64',
                         os_name='linux-gnu')
+        self.add_config(arch='aarch64',
+                        os_name='linux-gnu',
+                        variant='ilp32',
+                        gcc_cfg=['--with-multilib-list=ilp32'])
         self.add_config(arch='aarch64_be',
                         os_name='linux-gnu')
+        self.add_config(arch='aarch64_be',
+                        os_name='linux-gnu',
+                        variant='ilp32',
+                        gcc_cfg=['--with-multilib-list=ilp32'])
         self.add_config(arch='alpha',
                         os_name='linux-gnu')
         self.add_config(arch='arm',