Absolute Sections

Absolute sections are only supported by ELF object file formats. To define an absolute section with a fixed starting address, use the .section and .pushssection directives with an optional origin operand. The origin operand must be an absolute expression. Absolute section addresses cannot overlap. The linker does not merge absolute sections with other section types, or with other absolute sections.

The following example defines a new section name and assigns it new flags and type attributes, with a starting address specified by the origin parameter.

.section new_name, "aw","progbits",0x1000