[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/19140] New: __star_* and __stop_* symbols show up in dynamic r
From: |
rafael.espindola at gmail dot com |
Subject: |
[Bug gold/19140] New: __star_* and __stop_* symbols show up in dynamic relocation |
Date: |
Thu, 15 Oct 2015 19:15:42 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19140
Bug ID: 19140
Summary: __star_* and __stop_* symbols show up in dynamic
relocation
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: rafael.espindola at gmail dot com
CC: ian at airs dot com
Target Milestone: ---
Given
.long __start_bar - .
.long __init_array_start - .
.section bar,"a"
gold complains about the first but not the second relocation when creating a
shared library:
ld: error: test.o: requires dynamic R_X86_64_PC32 reloc against '__start_bar'
which may overflow at runtime; recompile with -fPIC
bfd ld complains about both.
Alternatively, given
.quad __start_bar
.quad __init_array_start
.section bar,"a"
gold creates a dynamic relocation for __start_bar but not __init_array_start.
With bfd ld one gets dynamic relocations for both.
Given what these symbols are, gold's behavior with __init_array_start seems the
most reasonable.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/19140] New: __star_* and __stop_* symbols show up in dynamic relocation,
rafael.espindola at gmail dot com <=
- [Bug gold/19140] __star_* and __stop_* symbols show up in dynamic relocation, ruiu at google dot com, 2015/10/15
- [Bug gold/19140] __star_* and __stop_* symbols show up in dynamic relocation, rafael.espindola at gmail dot com, 2015/10/16
- [Bug gold/19140] __star_* and __stop_* symbols show up in dynamic relocation, ccoutant at gmail dot com, 2015/10/16
- [Bug gold/19140] __star_* and __stop_* symbols show up in dynamic relocation, ccoutant at gmail dot com, 2015/10/16
- [Bug gold/19140] __star_* and __stop_* symbols show up in dynamic relocation, ccoutant at gmail dot com, 2015/10/16
- [Bug gold/19140] __star_* and __stop_* symbols show up in dynamic relocation, rafael.espindola at gmail dot com, 2015/10/16
- [Bug gold/19140] __star_* and __stop_* symbols show up in dynamic relocation, ccoutant at gmail dot com, 2015/10/16