mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08: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
202 B
Makefile
12 lines
202 B
Makefile
#name: C6X PID attribute merging, 0 1
|
|
#as: -mlittle-endian
|
|
#ld: -r -melf32_tic6x_le
|
|
#source: attr-pid-0.s
|
|
#source: attr-pid-1.s
|
|
#readelf: -A
|
|
|
|
Attribute Section: c6xabi
|
|
File Attributes
|
|
Tag_ISA: C674x
|
|
|