ARM Technical Support Knowledge Articles

WARNING L16 (UNCALLED FUNCTION)

Applies to: L251 Linker/Locator

Answer


Information in this article applies to:


SYMPTOMS

When I compile and link the following program:

void func_a (void);
void func_b (void);

void main (void)
{
while (1)
  {
  func_a ();
  func_b ();
  }
}

void func_a (void)
{
}

void func_b (void)
{
}

I receive the following linker errors:

*** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS
    NAME:    func_a/TST2

*** WARNING L16: UNCALLED FUNCTION, IGNORED FOR OVERLAY PROCESS
    NAME:    func_b/TST2

What causes this problem and how can I correct it?

CAUSE

This problem is caused when you compile with the C251 Version 2 compiler using the ORDER directive with the compiler.

RESOLUTION

The ORDER directive causes some side-effects that are not yet corrected in C251 V2.14. To avoid this problem, discontinue use of the ORDER directive.

Article last edited on: 2006-01-31 18:20:14

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential