This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Introduce <elf-initfini.h> and ELF_INITFINI for all architectures


* Adhemerval Zanella:

>> @@ -40,11 +41,6 @@ call_init (struct link_map *l, int argc, char **argv, char **env)
>>        && l->l_type == lt_executable)
>>      return;
>>  
>> -  /* Are there any constructors?  */
>> -  if (l->l_info[DT_INIT] == NULL
>> -      && __builtin_expect (l->l_info[DT_INIT_ARRAY] == NULL, 1))
>> -    return;
>> -
>
> Is the idea of removing the early return to always print the debug
> message below?

Yes, I think this message is helpful to show what is going on,
although like so many dynamic linker log messages, its wording could
probably be improved.

I do not think it matters today because every object linked by current
GCC contains an ELF constructor (the _ITM_registerTMCloneTable stuff).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]