Summary: With a sufficiently large TOC, it's possible to index out of range, as the immediate load instructions only permit 16-bit indices, allowing up to 64kB range (signed) from the base pointer. Allow +/- 2GB range, with the medium code model TOC accesses in asm. Patch originally by Brandon Bergren. The issue appears to impact ELFv2 more than ELFv1. Reviewed by: luporl Differential Revision: https://reviews.freebsd.org/D19708 |
||
---|---|---|
.. | ||
opal_async.c | ||
opal_console.c | ||
opal_dev.c | ||
opal_flash.c | ||
opal_hmi.c | ||
opal_i2c.c | ||
opal_i2cm.c | ||
opal_pci.c | ||
opal_sensor.c | ||
opal.c | ||
opal.h | ||
opalcall.S | ||
platform_powernv.c | ||
powernv_centaur.c | ||
powernv_xscom.c | ||
xive.c |