Home
last modified time | relevance | path

Searched hist:"0499 e9c6196651c7e0c9fdf9daf82529690c9477" (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/powerpc/powernv/
H A Dopalcall.Sdiff 0499e9c6196651c7e0c9fdf9daf82529690c9477 Fri Mar 29 03:38:30 CET 2019 Justin Hibbits <jhibbits@FreeBSD.org> powerpc64: Use medium code model in asm files for TOC references

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
/freebsd/sys/powerpc/ofw/
H A Dofwcall64.Sdiff 0499e9c6196651c7e0c9fdf9daf82529690c9477 Fri Mar 29 03:38:30 CET 2019 Justin Hibbits <jhibbits@FreeBSD.org> powerpc64: Use medium code model in asm files for TOC references

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
/freebsd/sys/powerpc/powerpc/
H A Dswtch64.Sdiff 0499e9c6196651c7e0c9fdf9daf82529690c9477 Fri Mar 29 03:38:30 CET 2019 Justin Hibbits <jhibbits@FreeBSD.org> powerpc64: Use medium code model in asm files for TOC references

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
/freebsd/sys/powerpc/aim/
H A Dtrap_subr64.Sdiff 0499e9c6196651c7e0c9fdf9daf82529690c9477 Fri Mar 29 03:38:30 CET 2019 Justin Hibbits <jhibbits@FreeBSD.org> powerpc64: Use medium code model in asm files for TOC references

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
/freebsd/sys/powerpc/booke/
H A Dlocore.Sdiff 0499e9c6196651c7e0c9fdf9daf82529690c9477 Fri Mar 29 03:38:30 CET 2019 Justin Hibbits <jhibbits@FreeBSD.org> powerpc64: Use medium code model in asm files for TOC references

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