numam-dpdk/buildtools
Hemant Agrawal 74d6c4a72e pmdinfogen: fix cross compilation for ARM big endian
Cross compiling DPDK for BE mode on ARM results into errors
"PMDINFO portal/dpaa2_hw_dpio.o.pmd.c No drivers registered"

The original code assumes the sh_size to be 32 bit, while it can
be Elf32_Word or Elf64_Xword based on 32bit or 64 bit systems.

This patches replaces the sh_size conversion routines to use ADDR_SIZE

Fixes: 98b0fdb0ff ("pmdinfogen: add buildtools and pmdinfogen utility")
Cc: stable@dpdk.org

Signed-off-by: Jun Yang <jun.yang@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
2018-01-12 17:26:41 +01:00
..
pmdinfogen pmdinfogen: fix cross compilation for ARM big endian 2018-01-12 17:26:41 +01:00
auto-config-h.sh buildtools: fix icc build 2017-11-06 21:43:04 +01:00
gen-build-mk.sh tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gen-config-h.sh tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile
relpath.sh tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00