[patch] Updates/fixes for nios2 platform

Atle Nissestad atle.nissestad at norbit.no
Fri Jan 5 08:51:26 UTC 2007


Mike Frysinger wrote:

>
>> -    .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
>   
Probably. Its just a copy and paste from m68k crt1.S (same approach on
arm also), and it doesn't seem to make any difference if .type _init ..
.type _fini .. is  included or not when __UCLIBC_CTOR_DTOR__ is not
defined.

- Atle




More information about the uClibc mailing list