This is the mail archive of the binutils@sources.redhat.com 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]

Shifting labels in constants


Hi,

I want to do something like this:


.section .text
.align 16
.L1:
        .long ((.L2) >> 1 )

.L2:
    nop


but I keep getting the following error:
Error: invalid section for operation

Any ideas why?

Thanks,
Raul.


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