exporting argc/argv to applets

Mike Frysinger vapier at gentoo.org
Fri Jul 7 13:09:04 PDT 2006


On Friday 07 July 2006 01:08, Rich Felker wrote:
> On Thu, Jul 06, 2006 at 08:34:54PM -0400, Mike Frysinger wrote:
> > On Thursday 06 July 2006 15:18, Rich Felker wrote:
> > > Global variables are not bp+offset, just fixed address.
> >
> > that depends on your build ... with a non-pic binary this is correct
>
> Yes we're talking about i386 which always has MMU (afaik anyway), so
> building with PIC would be rather stupid..

not really, building busybox as a PIE in a standalone system gives some nice 
benefits actually due to the ability to share the relocatable code segment

> > throw in the shared busybox lib and it all goes to hell ;)
>
> Also sounds like a very bad idea..

not when you're pressured to reduce runtime memory overhead
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20060707/49bcf473/attachment.pgp


More information about the busybox mailing list