removing a section
Do the following to remove unnecessary sections:
However, only user defined sections may be removed and standard sections cannot be removed.
(1) In the [GNU17 Linker Script Settings] page, click to select the section you want to remove from the section
list.
(2) Click the [Delete] button.
(3) A dialog box for confirmation will be displayed. Click [OK] to delete or [Cancel] to cancel.
(4) Click the [Apply] button if you want to change other sections or properties or the [OK] button to end prop-
erty settings.
If you haven't clicked [Apply], you can use the [Revert Settings] button to discard the changes made and
restore the status in which this page was opened.
* About changes in referenced sections pursuant to deletion
Section1
([Virtual map address] = 000000)
Section2
([Virtual map address] = Section1)
Section3
([Virtual map address] = Section2)
Section4
([Virtual map address] = Section3)
Removing Section2 in a section configuration like the one shown will automatically change Section3 so
that Section1 is referenced instead.
Section1
([Virtual map address] = 000000)
Section3
([Virtual map address] = Section1)
Section4
([Virtual map address] = Section3)
If Section1 is removed, the location address of Section2 changes to (0x)000000. If this results in problems,
reedit the section information.
Section2
([Virtual map address] = 000000)
Section3
([Virtual map address] = Section2)
Section4
([Virtual map address] = Section3)
Precautions
• No more than 255 characters may be entered for each of [Section name], [Virtual map address], and [Load
map address] in the [Edit Section] dialog box.
• A section name must begin with ".". Only single-byte alphanumeric characters, "_", and "." are valid for sec-
tion names.
• When entering an address in [Virtual map address] or [Load map address], use only 0–9 and A–F. Make sure
that the address entered is six characters or less. Otherwise, your entry will be interpreted as a section name,
not an address.
• Although the IDE checks backward and cyclic references from one section to another, this check is not nec-
essarily complete, and an error may result at linking.
• The object file (vector.o) to be mapped to the .vector section, which was specified in the [New
GNU17 Project] wizard, must be located in the project directory. The .vector section settings in the linker
script must be edited when the object file is located in another directory.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
5 gnU17 iDE
5
IDE
5-139
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?