mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
ca3fee442e
The old get_arch() function would only work on systems configured in English, since it looked for the 'Class:' string. The new get_arch() function uses the 'magic' information from the readelf output to determine the architecture of the build from generated binary. Signed-off-by: Rodolfo Silva <rodolfo@grupomarinho.com.br>