[Tfug] gnu ld

Jim Secan jim at nwra.com
Fri Aug 11 14:21:06 MST 2006


At 02:09 PM 8/11/2006 -0700, you wrote:
>There hopefully is some way to declare the alignment of variables to
>byte/word/doubleword hardware boundaries that will solve this.  Seems
>like there is some implicit declaration of hardware alignment happening.
>Possibly some slight rearrangement of your common variables may solve this.
>
>OTOH there may be no problem if the variable values are being stored
>from the side with the smaller alignment.

Probably is, but I don't want to muck about in the blind.  I suspect that
since things link just fine when everything's compiled as one file that
it's a hand-off problem between the Lahey compiler and gnu ld that is tied
to how the compiler deals with blockdata routines.  Sounds like a bug to me.

Jim
*---------------------*-------------------------------*
| Jim Secan           | Northwest Research Assoc, Inc |
| (jim at nwra.com)      | 2455 E. Speedway, Suite 204   |
| (520) 319-7773      | Tucson, Arizona 85719         |
*---------------------*-------------------------------*




More information about the tfug mailing list