Merge pull request #78 from riscv/build32

Add 32-bit build
print_port
Tim Newsome 2017-07-06 15:03:12 -07:00 committed by GitHub
commit 29b62710f7
2 changed files with 14 additions and 1 deletions

View File

@ -1,5 +1,18 @@
language: c
dist: trusty
matrix:
include:
- os: linux
env: BUILD=x86_64-linux-gnu
- os: linux
env: BUILD=i686-linux-gnu CFLAGS=-m32
addons:
apt:
packages:
- gcc-multilib
script:
- ./bootstrap && ./configure && make
- file src/openocd

View File

@ -114,7 +114,7 @@ int mips32_cp0_read(struct mips_ejtag *ejtag_info,
int mips32_cp0_write(struct mips_ejtag *ejtag_info,
uint32_t val, uint32_t cp0_reg, uint32_t cp0_sel);
inline void pracc_swap16_array(struct mips_ejtag *ejtag_info, uint32_t *buf, int count)
static inline void pracc_swap16_array(struct mips_ejtag *ejtag_info, uint32_t *buf, int count)
{
if (ejtag_info->isa && ejtag_info->endianness)
for (int i = 0; i != count; i++)