Claudiu Zissulescu-Ianculescu

Results 76 comments of Claudiu Zissulescu-Ianculescu

Proposed fix here: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commit/b974ff374d51e03d99271d6adde8eb39490a0185

Investigate/add shared memory test: http://diy.inria.fr/doc/index.html

There are a number of `R_ARC_GOTPC32` which are resolved to point to the first entry in the `.got` section. Here are the symbols in cause: ``` __call_tls_dtors __mq_notify_fork_subprocess __nss_database_fork_prepare_parent __nss_database_fork_subprocess...

A reduced test case: ```c #include #include # define weak_function __attribute__ ((weak)) void __pthread_initialize_minimal (void) weak_function; extern void abort (void); int main (void) { if (stderr == NULL) abort ();...

It is libgcc, it is unwind procedure, probably it is unwinding issue.

Fixed in this commit: [e54a551489c](https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commit/e54a551489c) "arc64: Don't use .di flag for ldl/stl instructions" A compiler warning (`-Waddress`) is emitted when one is trying to use `ldl/stl` with `.di` flag.

I do not understand what is the issue here. I do not see any issue related with to the compiler. The `vm_area_dup` duplicates some structures, thus, making use of `memcpy`...

Updated here: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commit/484bdc96a7358e64ac84954036a932df39643382

Mainline issue. errors reduced to: ``` arc-elf32-objdump: Warning: There is a hole [0x849 - 0x85b] in .debug_loclists section. arc-elf32-objdump: Warning: There is a hole [0x18bf - 0x18d1] in .debug_loclists section....