This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
ld-linker-script: fill bytes between sections
- From: Josef Angermeier <sijoange at cip dot informatik dot uni-erlangen dot de>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 11 Oct 2005 10:50:30 +0200
- Subject: ld-linker-script: fill bytes between sections
Hello
Using the ld linker script, you can specify the fill bytes *in* a output
section. but how can i you specify the fill bytes between output
sections.
An example
sec_a 0x1000 : AT(bla) {
...
}
sec_b 0x5000 : AT(bla) {
...
}
sec_a ends depending on its size, somewhere before 0x5000 (where sec_b
starts). now how can you speficy the fill bytes between ENDOF(sec_a) and
0x5000 ??
thanks in advance
josef