This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [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


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