IJ02718: FUNCTION CALL NOT USING -QPIC=LARGE TOC ACCESS
Closed as program error.
In a large application with more than 64k TOC data the -qpic=large option is used to generate two instructions for each TOC access to avoid TOC overflow code-fixes by the linker. In most cases the two instruction TOC access is used, however in certain cases related to compiler-generated C++ helper functions, the old one instruction TOC access is used, causing the linker to generate fix-up code and issue a warning: ld: 0711-783 WARNING: TOC overflow. TOC size: 160240 Maximum size: 65536 Extra instructions are being generated for each reference to a TOC symbol if the symbol is in the TOC overflow area.
PROBLEM DESCRIPTION: When building -qpic=large large TOC code, the compiler is not generating the correct two instruction sequence for compiler-generated thunk functions. USERS AFFECTED: Users compiling with -qpic=large
The problem has been fixed, and the correct code sequence is now generated.
Reported component name
XL C/C++ FOR AI
Reported component ID
NoSpecatt / Xsystem
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
XL C FOR AIX
Fixed component ID