glibc + add new function

Ashutosh Sharma ashu0204@yahoo.com
Mon Jun 22 12:17:00 GMT 2009


Hello

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.

regards,
+--------------------+     \\//     +-----------------------------+
| Ashutosh Sharma    |    ( .. )    |      ashu0204@yahoo.com     |
+--------------------+-ooO-(__)-Ooo-+-----------------------------+


--- On Mon, 6/22/09, Carlos O'Donell <carlos@systemhalted.org> wrote:

> From: Carlos O'Donell <carlos@systemhalted.org>
> Subject: Re: glibc + add new function
> To: "Ashutosh Sharma" <ashu0204@yahoo.com>
> Cc: libc-help@sourceware.org
> Date: Monday, June 22, 2009, 5:37 PM
> On Mon, Jun 22, 2009 at 1:39 AM,
> Ashutosh Sharma<ashu0204@yahoo.com>
> wrote:
> > Yes i have added declarations in string/string.h.
> 
> What does readelf show about your final libc.so? Is the
> function
> present? What visibility does it have?
> 
> Cheers,
> Carlos.
> 


      



More information about the Libc-help mailing list