[RFC PATCH] Smarter aligning of data segment
Hans-Peter Nilsson
hp@bitrange.com
Fri Feb 8 17:22:00 GMT 2002
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
More information about the Binutils
mailing list