This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Zeros in same section in ld
- From: pocmatos at gmail dot com (Paulo J. Matos)
- To: binutils at sources dot redhat dot com
- Date: Thu, 15 Jul 2010 11:42:15 +0100
- Subject: Zeros in same section in ld
Hello,
I have the following sections description in ld:
,----
| dm1_region :
| {
| . += (0x000000);
| . = ALIGN(0x4);
| test4.o*(DM1_1\?$M.main.foo)
| . += (0x002000);
| . = ALIGN(0x4);
| test4.o*(DM1_2\?$M.main2.bar)
| } > DM1_REGION :DM1_REGION
`----
However, in my output file I get some data at 0x0, then a huge amount
of zeros and then some data at 0x2000.
Isn't it possible to avoid the zeros in the output file within the same
section?
Cheers,
--
PMatos