[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/16011] New: [invalid-code] gnu as adds the unexpected offset to
From: |
jojelino at gmail dot com |
Subject: |
[Bug gas/16011] New: [invalid-code] gnu as adds the unexpected offset to operand annotated with .weak directive |
Date: |
Tue, 08 Oct 2013 01:40:01 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=16011
Bug ID: 16011
Summary: [invalid-code] gnu as adds the unexpected offset to
operand annotated with .weak directive
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: jojelino at gmail dot com
Created attachment 7224
--> http://sourceware.org/bugzilla/attachment.cgi?id=7224&action=edit
testsuite
/bin/as weak.S -o weak.o -v ;objdump -d weak.o|grep mov
GNU assembler version 2.24.51 (i686-pc-cygwin) using BFD version (GNU Binutils)
2.24.51.20131008
20: ba f0 ff ff ff mov $0xfffffff0,%edx
if you comment out .weak directive,
GNU assembler version 2.24.51 (i686-pc-cygwin) using BFD version (GNU Binutils)
2.24.51.20131008
20: ba 10 00 00 00 mov $0x10,%edx
in result, .weak directive corrupts output object file. please fix this.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/16011] New: [invalid-code] gnu as adds the unexpected offset to operand annotated with .weak directive,
jojelino at gmail dot com <=