binutils-gdb/ld/testsuite/ld-arc
Cupertino Miranda a0abe74332 [ARC] Fixed TLS for IE model.
In the case of static relocation, the GOT entries are fixed at link time
and are set by the linker.
In order to compute the right TLS offset it is necessary to add TCB_SIZE
to the offset, just in case the dynamic linker is not expected to be
executed (static linked case).
This problem does appear in dynamic linked applications, as the dynamic
linker is adding this TCB_SIZE by operating the TCB block structure.

Problem revealed in GLIBC with static linking.

bfd/ChangeLog:

    Cupertino Miranda  <cmiranda@synopsys.com>

	arc-got.h (relocate_fix_got_relocs_for_got_info): Added TCB_SIZE to
	patched section contents for TLS IE reloc.
	elf32-arc.c: Remove TCB_SIZE preprocessor macro.

Rebase to 0006
2017-06-08 19:00:36 +02:00
..
arc.exp Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
arclinux-nps.d [ARC] Add new linker emulation for nps 2017-01-10 10:55:13 +00:00
arclinux-nps.s [ARC] Add new linker emulation for nps 2017-01-10 10:55:13 +00:00
attr-merge-0.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-0.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-0e.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-1.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-1.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-1e.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-2.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-2.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-3.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-3.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-3e.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-4.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-5.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-5a.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-5b.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-conflict-isa.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-err-isa.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-err-quarkse.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-merge-incompatible-cpu.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-quarkse2.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
attr-quarkse.s [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
got-01.d [ARC] Object attributes. 2017-05-10 14:42:22 +02:00
got-01.s Fix segfault in ARC linker when generating got entries for local symbols. 2016-07-22 15:10:31 +01:00
nps-1.s
nps-1a.d
nps-1b.d
nps-1b.err [ARC] Update test. 2016-07-11 15:41:23 +02:00
sda-relocs.dd [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00
sda-relocs.ld [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00
sda-relocs.rd [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00
sda-relocs.s [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00
tls_gd-01.d Made tests to XFAIL for arc*-*-elf*. 2016-08-30 16:02:25 +02:00
tls_gd-01.s Dynamic TLS GOT entries would not be relocated. 2016-08-26 12:09:17 +02:00
tls_ie-01.d [ARC] Fixed TLS for IE model. 2017-06-08 19:00:36 +02:00
tls_ie-01.s Content for TLS_IE_GOT not written to .got. 2016-08-26 12:09:17 +02:00
tls-dtpoff.dd [ARC] Fix parsing dtpoff relocation expression. 2016-09-14 14:04:34 +02:00
tls-dtpoff.rd [ARC] Fix parsing dtpoff relocation expression. 2016-09-14 14:04:34 +02:00
tls-dtpoff.s [ARC] Fix parsing dtpoff relocation expression. 2016-09-14 14:04:34 +02:00
tls-relocs.ld [ARC] Fix parsing dtpoff relocation expression. 2016-09-14 14:04:34 +02:00