This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
.macro lwi reg,val lis \reg,\val@H ori \reg,\reg,\val@L .endm
.globl pumadn1_init pumadn1_init: li r20,0 li r23,20
/* Relocate galileo's regs */ lwi r25,(GT64260_INTERNAL_SPACE_DEFAULT_ADDR+GT64260_INTERNAL_SPACE_DECODE)
# Load immediate word, has to be done with 2 instructions
.macro lwi reg,val
lis \reg,\val@H
ori \reg,\reg,\val@L
.endm .globl pumadn1_init
pumadn1_init:
li 20,0
li 23,20When I change lwi 25,(0x80000000 +0x0068) to lwi 25,(0x80000000+0x0068) (that is, I remove the space before the + sign), it assembles.
Maybe the cpp should not add the space, and as should be okay with it. Anybody else see this?
-- eo99@hotmail.net
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |