4.7.3 Endof Operator

The .endof.(section_name) operator can be used to obtain the end address of a specific section after the link process has completed. For example, to obtain the end address of the .data section, use:
.word .endof.(.data)