This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFC PATCH] Smarter aligning of data segment
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: <binutils at sources dot redhat dot com>, <drepper at redhat dot com>
- Date: Fri, 8 Feb 2002 20:06:53 -0500 (EST)
- Subject: Re: [RFC PATCH] Smarter aligning of data segment
On Fri, 8 Feb 2002, Jakub Jelinek wrote:
> What do you think?
Cool, but make it optional. There are systems that would trade
one or two memory pages for a page of what you refer to as disk
space. Think devices with flash file-systems; disk isn't cheap
there. For example (IIUC) I don't think this line is ok since
it seems to enforce the "smarter alignment" for all targets with
a 0x1000 page-size:
> --- ld/scripttempl/elf.sc.jj Wed Feb 6 18:51:42 2002
> +++ ld/scripttempl/elf.sc Fri Feb 8 16:36:32 2002
> @@ -70,6 +70,11 @@ if [ -z "$MACHINE" ]; then OUTPUT_ARCH=$
> +test -z "${COMMONPAGESIZE}" && test "${MAXPAGESIZE}" = 0x1000 && COMMONPAGESIZE=0x1000
brgds, H-P