Fix bounds check in ocResolve_PEi386 for relocation values.

Authored by AndreasK on Sep 4 2019, 8:34 AM.

Description

Fix bounds check in ocResolve_PEi386 for relocation values.

The old test was wrong at least for gcc and the value -2287728808L.

It also relied on implementation defined behaviour (right shift
on a negative value), which might or might not be ok.
Either way it's now a simple comparison which will always work.

(cherry picked from commit abfbdff2b1d8c8baecb457cbf8bf6e2016c276ec)

Details

Committed
bgamariSun, Nov 3, 2:24 PM
Parents
rGHC996f281cb5e4: configure: Don't depend upon alex in source dist build
Branches
Unknown
Tags
Unknown