This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nisa binutils....


Seems no one can help....


What is the best way to debug gas parsing?

Tried to define YYDEBUG but this doesn't seem to work...
any other ideas to debug the parser?


rick

> Good evening...
> 
> 
> I know that the ADI nisa bintuils are not in the official
distribution.
> 
> 
> Anyway....just strange that with same source of binutils based either
on
> 2.9 or 2.14 gas behaves dofferent on Linux or OSX host...
> 
> Someone can give a hint where to look if one build doesn't recognizes
> certain instructions?
> 
> 
> as -a outpur from OSX:
> 
>   10 ???? 6701                  [--SP] = RETS;
>   11 ???? 4401                  [--SP] = R4;
>   12                            [--SP] = P4;
>   13                            P4 = 32;
>   14                            LSETUP (udiv_begin, udiv_end) LC0=P4;
>   15 ???? 0360                  R3=0;
> 
> 
> as -a output from Linux host:
> 
>   10 0000 6701                  [--SP] = RETS;
>   11 0002 4401                  [--SP] = R4;
>   12 0004 4C01                  [--SP] = P4;
>   13 0006 0469                  P4 = 32;
>   14 0008 A0E00040              LSETUP (udiv_begin, udiv_end) LC0=P4;
>   15 000c 0360                  R3=0;
> 
> 
> Strangely when changing P4 to P3 on OSX it assembles fine...
> 
> So I assume binutils stores variables different on Linux than OSX?
> 
> 
> rick
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]