This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

'dollar local labels' in GAS do not appear to be implemented


I cannot get 'dolloar local labels' that are described in the GNU
assembly manual to work.  Here is what I tried to assemble:

        .file 1 "trouble.s"
        .arch core2,nojumps

        .section .text,"ax",@progbits
        .globl  _start
        .type   main, @function
        .align 16, 0x90
        jmp     55$f
        movabsq $0, %rdi # return code indicates success
        movabsq $__NR_exit, %rax
        .section .note.GNU-stack,"",@progbits

Here is what it says:

as trouble.s -o trouble.o
trouble.s: Assembler messages:
trouble.s:12: Error: junk `$f' after expression
trouble.s:13: Error: junk at end of line, first unrecognized character is `5'

as --version
GNU assembler (GNU Binutils for Ubuntu) 2.25
Copyright (C) 2014 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 `x86_64-linux-gnu'.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]