NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/49273: 64-bit constant loads in as will be truncated to 32-bit.



On Sat, Oct 11, 2014 at 02:45:32PM +0200, Anders Magnusson wrote:
> Solving it from a compiler perspective is not a problem,
> but as should nevertheless either accept these values correctly
> or complain,  not just silently ignore them :-)

Bring it up with the binutils folks (and good luck).

There is a comment in the code:

                          p[0] = (operandP->vop_mode << 4) | 0xF;
                          if ((is_absolute) && (expP->X_op != O_big))  
                            {
                              /* If nbytes > 4, then we are scrod. We
                                 don't know if the high order bytes  
                                 are to be 0xFF or 0x00.  BSD4.2 & RMS
                                 say use 0x00. OK --- but this
                                 assembler needs ANOTHER rewrite to
                                 cope properly with this bug.  */

(gas/config/tc-vax.c:3312ff)


Martin


Home | Main Index | Thread Index | Old Index