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] |
It means that between between section5 and .text there is a huge gap! Then I compile with: ld asm2.o asm3.o -T asm2.ld -o asm2 objcopy -O binary asm2 asm2.img
I want my final image, means asm2.img, becomes 4 mega bytes and the space between section5 and .text gets filled by 0xff.
I wonder if anybody knows how to do.
% ls -l asm asm.img -rwxrwx---. 1 nickc nickc 8656 May 17 16:06 asm* -rwxrwx---. 1 nickc nickc 4194316 May 17 16:06 asm.img*
% du -s -k asm asm.img 12 asm 12 asm.img
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |