[ECOS] How to use the ARM directive DCB in Vectors.S

Andrew Lunn andrew@lunn.ch
Thu Apr 13 13:28:00 GMT 2006


On Thu, Apr 13, 2006 at 09:53:30AM +0200, Birahim Larou Fall wrote:
> I have modified the source file vectors.s for arm achitecture, and I can't 
> compile theis file because DCB is seen as a bad instrucetion.
> packages/hal/arm/arch/current/src/vectors.S:517: Error: bad instruction 
> `c_string DCB "C_string",0'
> How to tell ecos to support ARM directives (DCD, DCB...?

The problem is DCD, DCB are directives for ARM's assemble. eCos uses
gas, so you need to use the gas equivelent. I suggest you read the gas
documentation.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list