The inline assembly used in include/errno.h to generate the einfo blocks requires the ability to generate an immediate constant with no immediate-value prefix (such as the dollar sign for x86 assembly). We currently achieve this via the undocumented "%c0" form of operand. This causes an "invalid operand prefix" error on GCC 4.8 for ARM64 builds. Fix by switching to the equally undocumented "%a0" form of operand, which appears to work correctly on all tested versions of GCC. Reported-by: Benjamin S. Allen <bsallen@alcf.anl.gov> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
262 |
|
262 |
|
263 |
|
263 |
|
264 |
|
264 |
|
265 |
|
|
|
|
265 |
|
|
266 |
|
266 |
|
267 |
|
267 |
|
268 |
|
|
|
|
268 |
|
|
269 |
|
269 |
|
270 |
|
270 |
|
271 |
|
271 |
|