Displaying 4 results from an estimated 4 matches for "r_arc_s25w_pcrel".
2017 Sep 14
4
Do I need to modify the AddrLoc of LLD for ARC target?
...> bl memset
>
> $ arc-elf32-gcc -mcpu=arc600 -o basic-arc.o -c
>
> $ arc-elf32-readelf -r basic-arc.o
>
> Relocation section '.rela.text' at offset 0xd4 contains 1 entries:
> Offset Info Type Sym.Value Sym. Name + Addend
> 00000000 00000611 R_ARC_S25W_PCREL 00000000 memset + 0
>
> High address: 0x0
>
> $ arc-elf32-ld -o basic-arc basic-arc.o
> -L/opt/arc-gnu/lib/gcc/arc-elf32/7.1.1/arc600
> -L/opt/arc-gnu/lib/gcc/arc-elf32/7.1.1/../../../../arc-elf32/lib/arc600
> -L/opt/arc-gnu/lib/gcc/arc-elf32/7.1.1
> -L/opt/arc-gnu/lib/gc...
2017 Sep 18
1
Do I need to modify the AddrLoc of LLD for ARC target?
...t;>>>> $ arc-elf32-readelf -r basic-arc.o
>>>>>
>>>>> Relocation section '.rela.text' at offset 0xd4 contains 1 entries:
>>>>> Offset Info Type Sym.Value Sym. Name + Addend
>>>>> 00000000 00000611 R_ARC_S25W_PCREL 00000000 memset + 0
>>>>>
>>>>> High address: 0x0
>>>>>
>>>>> $ arc-elf32-ld -o basic-arc basic-arc.o
>>>>> -L/opt/arc-gnu/lib/gcc/arc-elf32/7.1.1/arc600
>>>>> -L/opt/arc-gnu/lib/gcc/arc-elf32/7.1.1/../../....
2017 Sep 19
1
Do I need to modify the AddrLoc of LLD for ARC target?
...000000000000 0x4 basic-arc.o
>> .text 0x0000000000000004 0x7c ...
>> libc.a(lib_a-memset-bs.o)
>> 0x0000000000000004 memset
>> 0x0000000000000060 __strncpy_bzero
>
>
> Reloc type=R_ARC_S25W_PCREL, should_relocate = true
> offset = 0x0, addend = 0x0
> Symbol:
> value = 0x00000000
> Symbol Section:
> section name = .text, output_offset 0x00000006, output_section->vma =
> 0x00000006
> file: lib_a-memset-bs.o
> Input_section:
> section name = .text, ou...
2017 Sep 01
2
[RFC] Adding ARC backend
Hi Pete,
Thanks for your kind response!
I migrated AVR target for lld https://reviews.llvm.org/D32991 it is very beginning, only support R_AVR_CALL reloc, and ARC is more complex than AVR, I will learn it from binutils, also ARC related doc, then try to implement it.
发自我的iPhone
------------------ Original ------------------
From: Pete Couperus <Peter.J.Couperus at synopsys.com>
Date: