It should be possible to specify the end address of a section in the linker script. Specifically, statements like the following should be possible in a linker script:
.foo 16K - SIZEOF(.foo) : { PROVIDE (_foo_begin = .); *(.foo) } PROVIDE (_foo_end = .); In this example _foo_end would always be 16K and _foo_begin would grow downwards depending on .foo's size. -- Summary: Specifying end address of a ELF section in linker script Product: binutils Version: unspecified Status: NEW Severity: enhancement Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jsteckli at os dot inf dot tu-dresden dot de CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=10317 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils