[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26080] New: Incorrect "Common symbol override test"
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/26080] New: Incorrect "Common symbol override test" |
Date: |
Wed, 03 Jun 2020 14:20:17 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26080
Bug ID: 26080
Summary: Incorrect "Common symbol override test"
Product: binutils
Version: 2.35 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: macro@linux-mips.org
Target Milestone: ---
comm-data2.s of "Common symbol override test" has
---
.text
.globl _start
.globl __start
_start:
__start:
.ifdef HPUX
foo .comm 4
.else
.comm foo, 4, 4
.endif
.section .debug_foo,"",%progbits
.balign 16
.ifdef ELF64
.8byte foo
.else
.4byte foo
.endif
.balign 16
---
foo is referenced from a debug section which has no impact on run-time
behavior. When resolving such relocations, linker should never generate
dynamic relocations and ignore any relocation errors for such relocations.
But comm-data2r.rd has
Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entry:
+Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
0*12340000 +[0-9a-f]+ +R_.*_COPY +0*12340000 +foo \+ 0
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26080] New: Incorrect "Common symbol override test",
hjl.tools at gmail dot com <=
- [Bug ld/26080] Incorrect "Common symbol override test", address@hidden, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", address@hidden, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/03
- [Bug ld/26080] Incorrect "Common symbol override test", cvs-commit at gcc dot gnu.org, 2020/06/04
- [Bug ld/26080] Incorrect "Common symbol override test", hjl.tools at gmail dot com, 2020/06/04