bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/23040] New: .uleb128 directive doesn't accept some valid expres


From: mswan at fastmail dot com
Subject: [Bug gas/23040] New: .uleb128 directive doesn't accept some valid expressions
Date: Mon, 09 Apr 2018 03:20:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23040

            Bug ID: 23040
           Summary: .uleb128 directive doesn't accept some valid
                    expressions
           Product: binutils
           Version: 2.31 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: mswan at fastmail dot com
  Target Milestone: ---

The following code appears throughout assembly spit out by GHC:

   ...
   .uleb128 1f-.-1
1:
   ...

And it produces an error on the latest version of GAS, and I don't see how this
could be considered incorrect. If you replace 'uleb128' with 'long', you find
that it compiles. I looked into this issue and solved it for my current problem
by replacing 'deferred_expression (&exp)' with 'expression (&exp)'. I do not
know if this will somehow cause a problem elsewhere. I honestly don't even know
what the semantics of 'deferred_expression' vs regular 'expression' is.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]