v6.20 problem?

Has anyone else tried C51 v6.20/uVision v2.20?

In one of my 'C' source files with inline assembler, the new Compiler
now creates an empty DATA Segment in the generated assembler. This
causes the Link to fail with Error L109, "Empty Relocatable Segment"

According to the online help & the PDF manual, L109 should not be a
fatal error; the Segment should simply be ignored.

So there are two issues here:
A. Why does the new compiler generate the empty Segment?

B. Why does the BL51 Link fail, when this should not be a Fatal error?
(the behaviour is the same for both the v4.14 & v4.20 Linkers).

Parents
  • I am currently experiencing exactly the same problem. The compiler is adding additional lines to my .a51 file and as you say, the linker is complaining. A temporary (but not good) fix is to remove the unwanted lines. The output file can then be built as normal. Have you had a solution from Keil? I would be grateful if you could pass on any information.

Reply
  • I am currently experiencing exactly the same problem. The compiler is adding additional lines to my .a51 file and as you say, the linker is complaining. A temporary (but not good) fix is to remove the unwanted lines. The output file can then be built as normal. Have you had a solution from Keil? I would be grateful if you could pass on any information.

Children
More questions in this forum