Ignore:
Timestamp:
Jan 10, 2015, 7:04:06 PM (7 years ago)
Author:
Anthony Green <green@…>
Branches:
4.11, 5, master
Children:
99a1f122
Parents:
5759510
git-author:
Anthony Green <green@…> (01/10/15 19:04:06)
git-committer:
Joel Sherrill <joel.sherrill@…> (01/10/15 19:04:06)
Message:

moxiesim: Add conditional logic to handle old and new gas syntax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/moxie/moxiesim/start/start.S

    r5759510 r5139d21  
    1 /* Copyright (C) 2011, 2013  Anthony Green */
     1/* Copyright (C) 2011, 2013, 2014  Anthony Green */
    22
    33/* moxie start up file. */
    44
     5#include "bspopts.h"
     6
     7#if defined(HAVE_OLD_MOXIE_ASM)
     8#define sub sub.l
     9#endif
     10       
    511        .text
    612        .global _start
     
    1319        xor     $r1, $r1
    1420        ldi.l   $r2, __bss_end__
    15         sub.l   $r2, $r0
     21        sub     $r2, $r0
    1622        jsra    memset
    1723
Note: See TracChangeset for help on using the changeset viewer.