GNU Linker ld object alignment

James E Fisher
Sun Jan 31 23:58:00 GMT 1999

Thank you for your response.  I have reviewed the man page, the info, and
the documentation
"LD - The GNU Linker", and have looked at the default linker script.
Unfortunately, I am
not very fluent in LD command language.  I found information regarding
aligning data blocks
on page boundaries - however, I was unable to discover a method for forcing
alignment of
the double-words within my common blocks to 64-bit boundaries.  How can
this be done
easily?  What I really would like is a command line option that can be
passed to ld when it is
called by g77.
Thanks again
Jim Fisher on 01/06/99 07:34:45 PM

To:   James E Fisher/JEF/LMITCO/INEEL/US,
Subject:  Re: GNU Linker ld object alignment

In a message dated 1/6/99 11:16:18 AM Pacific Standard Time,

<< I am using GNU ld version 2.8.2, on Linux 2.0.34 i586.
   My application needs alignment of 64-bit objects on
  64-bit boundaries.  How do I cause ld to do this? >>
There's quite a bit written on this in the and files.
are in the full-man on the egcs distributions.

More information about the Gcc mailing list