Diab Linker Overflow specification?

I am looking at the linker manual for the Diab PowerPC linker command language, and cannot find any sufficient information on the use of the Overflow Specification - which is supposed to be the ability to have code that overflows one segment be directed to another.

Does anyone know of any better documentation on how to make use of this? Our code has grown to exceed one of the allocated blocks, and I'd like to append an overflow block to the end of the memory layout without moving the previous structures. Does anyone know the pitfalls of doing something like this?

Thanks for any information you may provide.

Reply to
BekAL
Loading thread data ...

I would guess the section definition would look something like this contrived example: GROUP : { .vectors (TEXT) ALIGN(65536) OVERFLOW(8192, .vectors_overflow) : {}

/* some section to make the example more interesting */ .text (TEXT) ALIGN(256) : { *(.text) *(.rodata) *(.rdata) *(.init) *(.fini) *(.eini) }

.vectors_overflow (TEXT) ALIGN(8) : {}

} > sdram

--
- Mark
Reply to
Mark Odell

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.