[Top][All Lists]

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

[Bug gas/12157] New: m68k statement ignored syntax error when @TLSLDO+4(

From: tg at mirbsd dot de
Subject: [Bug gas/12157] New: m68k statement ignored syntax error when @TLSLDO+4(%a0)
Date: Sun, 24 Oct 2010 11:47:11 +0000


           Summary: m68k statement ignored syntax error when
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden


we’re not sure if this is a binutils bug, for not accepting this, or a
gcc bug, for producing code like this. (Personally, I don’t even know
m68k well…) If it’s a gcc bug, please tell me so and I’ll submit it there.

Sample code and diagnostics:

address@hidden:~ # cat x.s
        .globl  __tls_get_addr
        add.l address@hidden,%a2
        move.l %a1,address@hidden(%a0)
        move.l %a2,address@hidden(%a0)
        .section        .tbss
        .align  2
        .type   last.5547, @object
        .size   last.5547, 8
        .zero   8
address@hidden:~ # as --version
GNU assembler (GNU Binutils for Debian) 2.20.1-system.20100303
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `m68k-linux-gnu'.
address@hidden:~ # dpkg-query -W binutils
binutils        2.20.1-15
address@hidden:~ # as x.s
x.s: Assembler messages:
x.s:5: Error: syntax error -- statement `move.l %a2,address@hidden(%a0)'

This is on Debian/m68k, which I’m currently putting through a transition
to do TLS manually. I’ve not tried any other version because building
binutils takes half a day or so, and maybe someone can shed some insight
into this already, but if it’s necessary, I will.

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]