A.2.1 Changing area to be allocated to

When changing a program area's section name, specify the function using the #pragma section directive as shown below.

#pragma section text  ["section name"]

 

If you create an arbitrary section with a text attribute using the #pragma section directive, the name of the section that is generated will be "specified-string + text".

Specify the start address of the section with the -start option, as follows.

-start=sec.text/1000

 

Specify the address as a base-16 number. If the address is not specified, it will be assigned from address 0.