mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-13 23:29:03 +00:00
c6a8f6e0ed
* elf32-tic6x.c (elf32_tic6x_final_link): New function. (elf32_tic6x_merge_attributes): Do not warn for PID or PIC mismatch. Choose the lower of the two values. (bfd_elf32_bfd_final_link): New macro. ld/testsuite/ * ld-tic6x/shared-nopic.d: New test. * ld-tic6x/shared-nopid.d: New test. * ld-tic6x/attr-pid-21.d: Don't expect a warning; check readelf output instead. * ld-tic6x/attr-pid-12.d: Likewise. * ld-tic6x/attr-pic-01.d: Likewise. * ld-tic6x/attr-pic-10.d: Likewise. * ld-tic6x/attr-pid-01.d: Likewise. * ld-tic6x/attr-pid-10.d: Likewise. * ld-tic6x/attr-pid-02.d: Likewise. * ld-tic6x/attr-pid-20.d: Likewise. * ld-tic6x/got-reloc-inrange.d: Pass -mpic and -mpid options to gas.
12 lines
266 B
Makefile
12 lines
266 B
Makefile
#name: C6X PID attribute merging, 2 1
|
|
#as: -mlittle-endian
|
|
#ld: -r -melf32_tic6x_le
|
|
#source: attr-pid-2.s
|
|
#source: attr-pid-1.s
|
|
#readelf: -A
|
|
|
|
Attribute Section: c6xabi
|
|
File Attributes
|
|
Tag_ISA: C674x
|
|
Tag_ABI_PID: Data addressing position-independent, GOT near DP
|