29.1.14 __builtin_section_end Built-in Function

Remember: This built-in function gets run-time information about section addresses and sizes.

Description

Return the end address of the quoted section name + 1.

Prototype

unsigned long __builtin_section_end(quoted-section-name);

Argument

quoted-section-name The name of the section.

Return Value

The end address of the section + 1.

Assembler Operator/ Machine Instruction

.endof.

Error Messages

An “undefined reference” error message will be displayed if the quoted section name does not exist in the link.