glibc + add new function

Carlos O'Donell carlos@systemhalted.org
Mon Jun 22 12:36:00 GMT 2009


On Mon, Jun 22, 2009 at 8:17 AM, Ashutosh Sharma<ashu0204@yahoo.com> wrote:
> I tried objdump. i can't find the function in the libc-2.6.so.
>
> For experiment i changed name of the function to memcpy and name of the
> file to memcpy.S and compiled again.
>
> Now i can see memcpy function's implementation has been changed.

If your new function does not show up in libc then you have made a
mistake in the Makefile. Does your build log show your file being
compiled or linked into a library?

Cheers,
Carlos.



More information about the Libc-help mailing list