[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/528] New: .set is broken on ELF/x86-64
From: |
hjl at lucon dot org |
Subject: |
[Bug gas/528] New: .set is broken on ELF/x86-64 |
Date: |
8 Nov 2004 23:56:34 -0000 |
address@hidden src]$ cat foo.s
.set .LTHUNK0,bar
.text
.type foo,@function
foo:
jmp .LTHUNK0
.weak bar
.type bar, @function
bar:
nop
address@hidden src]$ /usr/local/bin/as -v -o foo.o foo.s
GNU assembler version 2.15.94.0.1 (x86_64-unknown-linux-gnu) using BFD version
2.15.94.0.1 20041108
address@hidden src]$ readelf -r foo.o
Relocation section '.rela.text' at offset 0x320 contains 1 entries:
Offset Info Type Sym. Value Sym. Name +
Addend000000000001 000500000002 R_X86_64_PC32 0000000000000005 bar +
fffffffffffffffc
address@hidden src]$ /usr/bin/as -v -o foo.o foo.s
GNU assembler version 2.14.90.0.4 (x86_64-redhat-linux) using BFD version
2.14.90.0.4 20030523
address@hidden src]$ readelf -r foo.o
There are no relocations in this file.
address@hidden src]$
.set should only copy the value, not other flags.
--
Summary: .set is broken on ELF/x86-64
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://sources.redhat.com/bugzilla/show_bug.cgi?id=528
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gas/528] New: .set is broken on ELF/x86-64,
hjl at lucon dot org <=