From: Zong Li <zongbox@gmail.com>
Support building three variants of 32-bit RISC-V glibc as follows:
- riscv32-linux-gnu-rv32imac-ilp32
- riscv32-linux-gnu-rv32imafdc-ilp32
- riscv32-linux-gnu-rv32imafdc-ilp32d
---
scripts/build-many-glibcs.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
On Wed, 12 Aug 2020, Alistair Francis wrote:
> From: Zong Li <zongbox@gmail.com>
>
> Support building three variants of 32-bit RISC-V glibc as follows:
> - riscv32-linux-gnu-rv32imac-ilp32
> - riscv32-linux-gnu-rv32imafdc-ilp32
> - riscv32-linux-gnu-rv32imafdc-ilp32d
LGTM.
Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
Maciej
@@ -347,6 +347,21 @@ class Context(object):
self.add_config(arch='powerpc64le',
os_name='linux-gnu',
gcc_cfg=['--disable-multilib', '--enable-secureplt'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imac-ilp32',
+ gcc_cfg=['--with-arch=rv32imac', '--with-abi=ilp32',
+ '--disable-multilib'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imafdc-ilp32',
+ gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32',
+ '--disable-multilib'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imafdc-ilp32d',
+ gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32d',
+ '--disable-multilib'])
self.add_config(arch='riscv64',
os_name='linux-gnu',
variant='rv64imac-lp64',