Skip to main content
Visitor II
August 29, 2008
Question

Ethernet: Porting memcopy.s to GCC

  • August 29, 2008
  • 1 reply
  • 651 views
Posted on August 29, 2008 at 11:17

Ethernet: Porting memcopy.s to GCC

    This topic has been closed for replies.

    1 reply

    rickardAuthor
    Visitor II
    May 17, 2011
    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.