Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Alternative PE ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 4623 of 4646
Post > Topic >>

Alternative PE linkers?

by Richard Russell <spamtrap@[EMAIL PROTECTED] > Apr 20, 2008 at 02:31 AM

I'm building my Windows project using nasm and (gcc's) ld, and I'm
trying to make the executable file as small as possible.  An annoying
overhead is ld's insistance on padding external symbols to 16-bytes,
as you can see in this extract from the map file:

..text          0x00411ef0        0x8 /MinGW/lib/
libwinmm.a(dgtfs00189.o)
               0x00411ef0                waveOutWrite@[EMAIL PROTECTED]
         0x00411ef8        0x8 00
..text          0x00411f00        0x8 /MinGW/lib/
libwinmm.a(dgtfs00188.o)
               0x00411f00                waveOutUnprepareHeader@[EMAIL PROTECTED]
         0x00411f08        0x8 00
..text          0x00411f10        0x8 /MinGW/lib/
libwinmm.a(dgtfs00183.o)
               0x00411f10                waveOutReset@[EMAIL PROTECTED]
         0x00411f18        0x8 00

I don't think this padding is essential, unless somebody knows
different.  Is there some way to stop ld doing this, or any
alternative PE-format linkers that I might use instead?

Richard.
http://www.rtrussell.co.uk/
To reply by email change 'news' to my forename.




 9 Posts in Topic:
Alternative PE linkers?
Richard Russell <spam  2008-04-20 02:31:32 
Re: Alternative PE linkers?
Tim Roberts <spamtrap  2008-04-22 03:00:42 
Re: Alternative PE linkers?
DJ Delorie <dj@[EMAIL   2008-04-21 23:55:05 
Re: Alternative PE linkers?
Richard Russell <spam  2008-04-22 01:56:44 
Re: Alternative PE linkers?
"robertwessel2@[EMAI  2008-04-22 14:46:10 
Re: Alternative PE linkers?
Richard Russell <spam  2008-04-23 01:14:34 
Re: Alternative PE linkers?
"Jim Carlock"   2008-04-27 18:45:15 
Re: Alternative PE linkers?
dila <spamtrap@[EMAIL  2008-04-25 10:12:34 
Re: Alternative PE linkers?
Richard Russell <spam  2008-04-28 02:18:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 8:06:56 CDT 2008.