https://sourceware.org/bugzilla/show_bug.cgi?id=26083

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|cris linker generate zero   |cris/csky linker generate
                   |sized PLTRELSZ              |zero sized PLTRELSZ

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
csky has the same issue:

[hjl@gnu-cfl-2 ld]$ ../gas/as-new  -mcpu=ck610  -o tmpdir/tls-ie-v1.o
/export/gnu/import/git/gitlab/x86-binutils/ld/testsuite/ld-csky/tls-ie-v1.s
[hjl@gnu-cfl-2 ld]$ ./ld-new -z norelro 
-L/export/gnu/import/git/gitlab/x86-binutils/ld/testsuite/ld-csky  -shared
--hash-style=sysv -o tmpdir/dump tmpdir/tls-ie-v1.o 
[hjl@gnu-cfl-2 ld]$ ../binutils/readelf  -d -r tmpdir/dump

Dynamic section at offset 0x1a8 contains 13 entries:
  Tag        Type                         Name/Value
 0x00000004 (HASH)                       0xb4
 0x00000005 (STRTAB)                     0x154
 0x00000006 (SYMTAB)                     0xe4
 0x0000000a (STRSZ)                      34 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000003 (PLTGOT)                     0x1238
 0x00000002 (PLTRELSZ)                   0 (bytes)
 0x00000014 (PLTREL)                     RELA
 0x00000017 (JMPREL)                     0x184
 0x00000007 (RELA)                       0x178
 0x00000008 (RELASZ)                     12 (bytes)
 0x00000009 (RELAENT)                    12 (bytes)
 0x00000000 (NULL)                       0x0

Relocation section '.rela.dyn' at offset 0x178 contains 1 entry:
 Offset     Info    Type            Sym.Value  Sym. Name + Addend
00001244  0000003a R_CKCORE_TLS_TPOF            0
[hjl@gnu-cfl-2 ld]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to