bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/26694] New: gas x86-32: "can't handle non absolute segment in `


From: u1049321969 at caramail dot com
Subject: [Bug gas/26694] New: gas x86-32: "can't handle non absolute segment in `lcall'" (or `ljmp')
Date: Thu, 01 Oct 2020 16:02:25 +0000

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

            Bug ID: 26694
           Summary: gas x86-32: "can't handle non absolute segment in
                    `lcall'" (or `ljmp')
           Product: binutils
           Version: 2.36 (HEAD)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: u1049321969 at caramail dot com
  Target Milestone: ---

Binutils's x86 assembler (as of commit
c81946efc22dbbe97ef8c934a5367e37bf101c48) does not allow me to use an
unresolved or non-absolute symbol as the segment operand of an immediate far
jump (`ljmp SEG, OFF') or far call (`lcall SEG, OFF').  I find this a rather
strange restriction.

======================================================================
$ cd .../binutils-gdb
$ cat >test5.s
        .code16
        lcall   $foo_seg, $foo_off

$ git log -1 | head -6
commit c81946efc22dbbe97ef8c934a5367e37bf101c48
Author: Alex Coplan <alex.coplan@arm.com>
Date:   Wed Sep 30 12:15:18 2020 +0100

    NEWS: Mention recent Arm CPU support

$ gas/as-new --32 test5.s
test5.s: Assembler messages:
test5.s:2: Error: can't handle non absolute segment in `lcall'
======================================================================

-- 
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]