Re: [uclibc-ng-devel] ARC uClibc-ng testsuite runs empty ?

2017-01-13 Thread Cupertino Miranda
Hi Waldemar, I have looked into the OpenADK uclibc-tests segmentation fault at hand. Although, I haven't fully tested the patch I think it is a fix for the issue. Considering how long I took to look into this problem, I decided to provide you a patch immediately for you to try it. BTW, in my case

[uclibc-ng-devel] [PATCH v2 0/2] ARC ldso rework elf_machine_*()

2017-01-13 Thread Vineet Gupta
Hi, This came out as a precursor to removal of binutils hack which converts _DYNAMIC@ to _GLOBAL_OFFSET_TABLE_ More details in respective patches ! Thx, -Vineet Vineet Gupta (2): ARC: ldso: don't use _DYNAMIC@gotpc construct #1 ARC: ldso: don't use _DYNAMIC@gotpc construct #2 ldso/ldso/ar

[uclibc-ng-devel] [PATCH v2 1/2] ARC: ldso: don't use _DYNAMIC@gotpc construct #1

2017-01-13 Thread Vineet Gupta
This converts elf_machine_dynamic() to not use the _DYNAMIC@xx construct which was histroically converted by assembler into _GLOBAL_OFFSET_TABLE Now that "hack" is being removed from assembler, we need to make sure that no code relies on that magic "conversion" Signed-off-by: Vineet Gupta --- l

[uclibc-ng-devel] [PATCH v2 2/2] ARC: ldso: don't use _DYNAMIC@gotpc construct #2

2017-01-13 Thread Vineet Gupta
This removes _DYNAMIC@gotpc from elf_machine_load_address() This is a seperate commit to callout the fact that old code was actually broken but was NOT caught since it never gets called (and will never be) since ld.so only calls it if kernel doesn't pass AT_BASE auxvt, which is not true for Linux.