[patch] Updates/fixes for nios2 platform

Mike Frysinger vapier at gentoo.org
Fri Jan 5 08:31:09 UTC 2007


On Thursday 04 January 2007 10:35, Atle Nissestad wrote:
> The attached patch fixes compilation of the current svn on the nios2
> platform, and updates the crt1/n/i.S files to get CTOR/DTOR-support to
> work. If someone are interested (not a huge amount of nios2-people on this
> list ...), please take a look.

awesome !

> -    .type   __start, at function
> +    .type   _start, at function
> +    .type      _init,%function
> +    .type      _fini,%function
> +#ifndef __UCLIBC_CTOR_DTOR__
>      .weak   _init
>      .weak   _fini
> +#endif

shouldnt that be:
#ifndef __UCLIBC_CTOR_DTOR__
	.weak ...
#else
	.type ...
#endif
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070105/068dd8a3/attachment-0002.pgp 


More information about the uClibc mailing list