This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
@ha @l not working
- From: "Igor Ageyev" <igor at icrow dot digipark dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Mon, 15 Sep 2003 17:29:51 -0700
- Subject: @ha @l not working
Hi,
I am using this code to load a 32-bit immediate in a register:
lis reg, imm@ha
addi reg, reg, imm@l
When I try to build this code, I get errors:
-> as -v -D test.S
GNU assembler version 2.14 (powerpc-ibm-aix5.1.0.0) using BFD version 2.14
20030612
test.S: Assembler messages:
test.S:15: Error: syntax error; found `@' but expected `,'
test.S:15: Error: junk at end of line: `@ha'
test.S:15: Error: syntax error; found `@' but expected `,'
test.S:15: Error: junk at end of line: `@l'
I have seen posts to binutils mailing lists refering to similar syntax using
@ha and @l, and this code builds with a different assembler. I am concenrned
that maybe I built binutils incorrectly. Does anybody know what is going on?
Thank you,
Igor Ageyev