[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20244] New: ld fails to handle "op $imm, address@hidden"
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/20244] New: ld fails to handle "op $imm, address@hidden" |
Date: |
Sun, 12 Jun 2016 03:22:15 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20244
Bug ID: 20244
Summary: ld fails to handle "op $imm, address@hidden"
Product: binutils
Version: 2.27 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
Target: i386
address@hidden got-4]$ cat x.S
.data
.type bar, @object
bar:
.byte 1
.size bar, .-bar
.globl foo
.type foo, @object
foo:
.byte 1
.size foo, .-foo
.text
.globl _start
.type _start, @function
_start:
movl $0, address@hidden
movl $0, address@hidden
address@hidden got-4]$ make LD=ld
gcc -B./ -m32 -fno-lto -c -o x.o x.S
ld -m elf_i386 -o x x.o
./objdump -dwr x
x: file format elf32-i386
Disassembly of section .text:
08048074 <_start>:
8048074: c7 05 f8 ff ff ff 00 00 00 00 movl $0x0,0xfffffff8
804807e: c7 05 fc ff ff ff 00 00 00 00 movl $0x0,0xfffffffc
address@hidden got-4]$
address@hidden should be the memory address, not the offset from GOT base.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/20244] New: ld fails to handle "op $imm, address@hidden",
hjl.tools at gmail dot com <=
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", cvs-commit at gcc dot gnu.org, 2016/06/12
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", hjl.tools at gmail dot com, 2016/06/12
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", cvs-commit at gcc dot gnu.org, 2016/06/13
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", cvs-commit at gcc dot gnu.org, 2016/06/14
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", cvs-commit at gcc dot gnu.org, 2016/06/14
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", hjl.tools at gmail dot com, 2016/06/14