Page MenuHomeFreeBSD

devel/pcre2: Correctly detect OpenPOWER 64-bit ELFv2 ABI

Authored by pkubaj on Jul 25 2019, 7:18 AM.



Although the majority of OpenPOWER ELF V2 ABI use is on Little Endian, it is fully specified and is used in Big Endian mode as well.

As such, the correct detection of an ELFv2 system is via the _CALL_ELF preprocessor define, not the endianness.

This fixes JIT crashes on:
Adélie Linux
FreeBSD PowerPC64 ELFv2 variant (an experimental build)

on systems such as the Raptor Computing Systems TALOS II.

Original bug report at

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.Jul 25 2019, 7:18 AM
linimon accepted this revision.Jul 29 2019, 8:25 PM
This revision is now accepted and ready to land.Jul 29 2019, 8:25 PM
This revision was automatically updated to reflect the committed changes.