public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* elf.sc and shared library for binutils
@ 1995-02-25 14:08 H.J. Lu
  1995-02-25 14:10 ` Eric Youngdale
  1995-02-25 14:17 ` Ian Lance Taylor
  0 siblings, 2 replies; 5+ messages in thread
From: H.J. Lu @ 1995-02-25 14:08 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gas2, Eric Youngdale

Here are some comments from elf.sc:

  /* Adjust the address for the data segment.  We want to adjust up to
     the same address within the page on the next page up.  It would
     be more correct to do this:
       ${RELOCATING+. = ${DATA_ADDR-ALIGN(${MAXPAGESIZE})
		+ ((ALIGN(8) + ${MAXPAGESIZE} - ALIGN(${MAXPAGESIZE}))
		   & (${MAXPAGESIZE} - 1)};}

I think the correct one should be

       ${RELOCATING+. = ALIGN(${MAXPAGESIZE})
		+ ((ALIGN(8) + ${MAXPAGESIZE} - ALIGN(${MAXPAGESIZE}))
		   & (${MAXPAGESIZE} - 1)};}

It should be independent of DATA_ADDR.

I have been adding the ELF shared library support for binutils under
Linux for a while. Any chance to support it in the official source?

H.J.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1995-02-27 21:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-02-25 14:08 elf.sc and shared library for binutils H.J. Lu
1995-02-25 14:10 ` Eric Youngdale
1995-02-27  6:54   ` Mike Meissner
1995-02-27 21:39     ` Ian Lance Taylor
1995-02-25 14:17 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).