http://sourceware.org/bugzilla/show_bug.cgi?id=12157

           Summary: m68k statement ignored syntax error when
                    @TLSLDO+4(%a0)
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassig...@sources.redhat.com
        ReportedBy: t...@mirbsd.de


Hi,

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:

r...@aranym:~ # cat x.s
        .globl  __tls_get_addr
        .text
        add.l #last.5...@tlsldo,%a2
        move.l %a1,last.5...@tlsldo(%a0)
        move.l %a2,last.5...@tlsldo+4(%a0)
        .section        .tbss
        .align  2
        .type   last.5547, @object
        .size   last.5547, 8
last.5547:
        .zero   8
r...@aranym:~ # 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'.
r...@aranym:~ # dpkg-query -W binutils
binutils        2.20.1-15
r...@aranym:~ # as x.s
x.s: Assembler messages:
x.s:5: Error: syntax error -- statement `move.l %a2,last.5...@tlsldo+4(%a0)'
ignored

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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to