Skip to content

cppapi/server/jpeg_mmx/jpeg_dct_mmx.cpp: Remove calling GCC internal functions

The JPEG code has a MMX assembler routines which have optimized code for 32bit OS.

This code uses GCC internals like __i686.get_pc_thunk.bx, which loads the position of the code into a register. This is required for position independent code 1.

The name of that function changed in the GCC repository in a3330c9d (morestack.S (__i686.get_pc_thunk.bx): Rename to..., 2011-05-04).

So let's use the new name.

This bug was already reported earlier 2, but the fix never made it into the code.

Merge request reports