cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet: Porting memcopy.s to GCC

rickard
Associate II
Posted on August 29, 2008 at 11:17

Ethernet: Porting memcopy.s to GCC

1 REPLY 1
rickard
Associate II
Posted on May 17, 2011 at 09:55

I've working with the implementation of ethernet in ARM STR912W44. I found nice sample code in um0248 which is sample code for a webserver.

The problem is some functions in 91x_enet.c uses a fast memcopy in assembler found in memcopy.s. This assembler is for IAR (I think) and I am using GCC. Have anyone found this memcopy.s for GCC or ported it?

I've tried to port it myself but get the following error:

''relocation truncated to fit: R_ARM_ABS16 against `.text''' when I exhange the IAR DCW, DC32 to h.word and .word.