[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/19823] gold produces copy reloc of protected symbols
From: |
rafael.espindola at gmail dot com |
Subject: |
[Bug gold/19823] gold produces copy reloc of protected symbols |
Date: |
Tue, 15 Mar 2016 14:27:26 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19823
Rafael Ávila de Espíndola <rafael.espindola at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|gold doesn't consider copy |gold produces copy reloc of
|reloc of protected symbols |protected symbols
--- Comment #3 from Rafael Ávila de Espíndola <rafael.espindola at gmail dot
com> ---
$ cat test.s
.global _start
_start:
.long foo
$ cat lib.s
.data
.global foo
.protected foo
.type foo, @object
.size foo, 4
foo:
.long 0
$ gcc -c lib.s test.s
$ ld.gold lib.o -shared -o lib.so
$ ld.gold test.o lib.so -o t
$ readelf -r t
Relocation section '.rela.dyn' at offset 0x230 contains 1 entries:
Offset Info Type Sym. Value Sym. Name +
Addend
000000401350 000100000005 R_X86_64_COPY 0000000000401350 foo + 0
address@hidden llvm]$ readelf -sW lib.so | grep foo
1: 0000000000001290 4 OBJECT GLOBAL PROTECTED 6 foo
2: 0000000000001290 4 OBJECT GLOBAL PROTECTED 6 foo
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/19823] New: gold doesn't consider copy reloc of protected symbols, rafael.espindola at gmail dot com, 2016/03/14
- [Bug gold/19823] gold doesn't consider copy reloc of protected symbols, ccoutant at gmail dot com, 2016/03/14
- [Bug gold/19823] gold doesn't consider copy reloc of protected symbols, hjl.tools at gmail dot com, 2016/03/15
- [Bug gold/19823] gold produces copy reloc of protected symbols,
rafael.espindola at gmail dot com <=
- [Bug gold/19823] gold produces copy reloc of protected symbols, hjl.tools at gmail dot com, 2016/03/15
- [Bug gold/19823] gold produces copy reloc of protected symbols, rafael.espindola at gmail dot com, 2016/03/15
- [Bug gold/19823] gold produces copy reloc of protected symbols, rafael.espindola at gmail dot com, 2016/03/21
- [Bug gold/19823] gold produces copy reloc of protected symbols, ccoutant at gmail dot com, 2016/03/31