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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to