Bug 129601 - [PATCH] gas silently treats undefined symbols used as immediate as zero
[PATCH] gas silently treats undefined symbols used as immediate as zero
Product: Fedora
Classification: Fedora
Component: binutils (Show other bugs)
xscale Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
: EasyFix, Patch
Depends On:
  Show dependency treegraph
Reported: 2004-08-10 16:08 EDT by Lennert Buytenhek
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-10 16:34:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Lennert Buytenhek 2004-08-10 16:08:58 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

Description of problem:
See http://marc.theaimsgroup.com/?l=linux-kernel&m=108870136100682&w=2
and http://marc.theaimsgroup.com/?l=linux-kernel&m=108872084823635&w=2
and the thread that they are in.

Basically, the following program:

        .globl  _start
        add     r0, r0, #UNDEFINED_SYMBOL
        mov     pc, lr

assembles just fine, using zero for UNDEFINED_SYMBOL.  But instead, it
should complain about UNDEFINED_SYMBOL being undefined and abort.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Additional info:

This problem has been fixed in binutils CVS.  See:

Comment 1 Jakub Jelinek 2004-08-10 16:34:15 EDT
Given that Fedora Core is not ported to arm, nor to my knowledge is there
any Fedora Core based ARM disto, I doubt this needs to be fixed
in Fedora Core 2 binutils.
Things fixed in CVS binutils will be in Fedora Core 3.

Note You need to log in before you can comment on or make changes to this bug.