Linking with nonstandard malloc
Enrico Weigelt
weigelt@metux.de
Thu Jan 6 19:48:00 GMT 2011
* Patrick Horgan <phorgan1@yahoo.com> wrote:
> It's the order that they're seen by the linker. Once the symbols are
> resolved they aren't looked for anymore, so your malloc.o would resolve
> malloc() and when glibc is looked at later, the linker would never look
> for malloc in there since it's already resolved.
What happens to references to malloc() from libc or other
libraries ? Do they also get the own symbol ?
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
More information about the Gcc-help
mailing list