This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: Last data page not being filled


On Jun 27, 2003, "D. J. Bernstein" <djb@cr.yp.to> wrote:

> gcc puts the 220 bytes into the data segment and the 444 bytes into
> the bss segment

GCC puts them in sections, not segments.  It's the linker that maps
sections to segments.  Assuming you're using the GNU linker, the
mailing list in which to discuss such issues is
binutils@sources.redhat.com.  Make sure you have a look at the
documentation of linker scripts in the GNU ld manual first, maybe this
will already solve the problem.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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