compiler question
Chris Johns
chrisj at rtems.org
Thu Dec 2 04:09:26 UTC 2004
D. Peter Siddons wrote:
> I just switched to gcc3.3.5 (m68k Coldfire project). Code which used to
> compile with gcc3.2.3 now fails in the following fragment:
>
> unsigned char *gethwaddr(int a){
>
> register long __result __asm__ ("%d0") = 12;
> register long __a __asm__ ("%d1") = (long)a;
> __asm__ __volatile__ ("trap #2" \
^^^^^^^ What is this code ?
I do not know of any code that hooks any trap vectors.
--
Chris Johns
More information about the users
mailing list