Keil Logo

ARMLINK: L6314W: "No section matches pattern xxx.o (yy)"


Information in this knowledgebase article applies to:

  • MDK-ARM all versions

QUESTION

When I build my application in µVision, I get the following warning message from the linker:

.\Flash\Blinky.sct(21): warning: L6314W: No section matches pattern xxx.o(RO/RW/ZI).

How can I fix this?

ANSWER

It seems that one linker directive specifies a module which either does not exist or it does not contain the RO/RW/ZI data which you are trying to locate into a specific memory area.

Check if the µVision option Use Memory Layout from Target Dialog in the dialog Options for Target - Linker is set or not.

  • If the option Use Memory Layout from Target Dialog is set, µVision creates the linker scatter file based on the information provided in the dialog Options for Target - Target. You must have assigned a specific memory area to one or several modules in a Options for File or Options for Group dialog. Obviously, the specified module does not contain ZI, RO or RW data. The linker warning tells you which memory area (RO/RW/ZI) causes this warning and then you should select default for the corresponding memory area in the Options for File or Options for Group dialog.
  • If the option Use Memory Layout from Target Dialog is not set, you have provided a scatter file (*.sct) in the dialog Options for Target - Linker. Please search for L6314W in our Error and Warning Reference Guide to get a list of possible reasons for this warning.

MORE INFORMATION

  • Refer to Properties in the µVision User's Guide.

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Monday, February 4, 2019


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.