[uClibc] Re: 0x10000 PT_LOAD Segment alignment on MIPS makes my ELF files 64 kb big

Ned Ludd solar at gentoo.org
Tue Feb 8 16:52:09 UTC 2005


On Tue, 2005-02-08 at 17:24 +0100, TINNES Julien RD-MAPS-ISS wrote:
> Mike Frysinger wrote:
> 
> >>
> >>the reason it's not for general use should be pretty obvious ... it breaks ABI
> 
> This is not true it does'nt break any ABI. p_align can be zero or 1 (try 
> -N switch), what is important is that p_vaddr and p_offset are congruent 
> modulo the page size: but this is not a problem since it won't make the 
> file bigger.
> 
> Erik Andersen wrote:
> 
>  > Well, that and using such a patched binutils on a mips system
>  > where the kernel is build using CONFIG_PAGE_SIZE_64KB would be
>  > a bad idea.
> 
> I was probably not very clear. What I was aking was:
> 
> Would it be a good thing to add an option to the buildroot config that 
> would allow the user to set the maximum page size and make buildroot:
>   1. #define CONFIG_PAGE_SIZE_GOOD_VALUE
>   2. add a #define MAXPAGESIZE GOOD_VALUE in elfxx-target.h in binutils

We seem to think this would be a good idea but preferably
via ./configure and also pushed back upstream to the binutils ml.

> 

-- 
Ned Ludd <solar at gentoo.org>
Gentoo Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20050208/c8967502/attachment-0002.pgp 


More information about the uClibc mailing list