Node: Literal Prefix Directive, Next: Freeregs Directive, Previous: Literal Position Directive, Up: Xtensa Directives

### literal_prefix

The `literal_prefix` directive allows you to specify different sections to hold literals from different portions of an assembly file. With this directive, a single assembly file can be used to generate code into multiple sections, including literals generated by the assembler.

             .begin literal_prefix [name]
             .end literal_prefix

For the code inside the delimited region, the assembler puts literals in the section ``name`.literal`. If this section does not yet exist, the assembler creates it. The name parameter is optional. If name is not specified, the literal prefix is set to the "default" for the file. This default is usually `.literal` but can be changed with the `--rename-section` command-line argument.