This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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-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


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