[rfa:ppc64gnulinux] Call ".malloc"
Fri Nov 14 00:56:00 GMT 2003
When only minimal symbol information is available, the symbol "malloc",
which is found in a data section because it's a descriptor, gets turns
into a 32-bit int variable. Consequently, an attempt to call "malloc"
is turned into to jump to the code designated by that 32-bit integer
value found at malloc.
This patch avoids that problem entirely by specifying that on PPC64
GNU/Linux, the "malloc" function has the name ".malloc" (which is really
the function's start address).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Gdb-patches