This is the mail archive of the binutils@sourceware.org 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]

ld's padding up with zeroes



Hi,


I have linked two short object files a.o and b.o into one binary c.bin. The first part of c.bin consists of machine code. The second part of c.bin consists of zeroes.

Apparantely, ld padds up the file c.bin with zeroes until it reaches 1024kbytes. Is there a switch to avoid this?

Thanks,

Steffen


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