HC12 linker problem without CodeWarrior Error generated

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HC12 linker problem without CodeWarrior Error generated

1,609 Views
JustinMcCurdy
Contributor I

I have been modifying the naming a declarations of variables without changing any of the build settings.  What I noticed is that CodeWarrior thinks it is building everything correctly (yes I did a clean followed by a make), but when I examine the .map file, I find that two complete code modules are missing from the .map.  These are the two modules that I modified variable declarations in.  If I do a diff on the old and new .map files, all references to these two modules are gone, even though the files are still listed in the CodeWarrior build list.  I did absolutely nothing to any file or setting except the two code modules previously mentioned.  Does anyone know what could possibly cause this issue?  There are object files associated with both of those modules as well.

 

I even verified that when loading the .s2 via P&E, it is substantially smaller than before which makes sense if for some reason the two code modules appear to be missing.

 

Thanks in advance.

Labels (1)
0 Kudos
3 Replies

380 Views
pgo
Senior Contributor V

Dear Justin,

 

The Linker will delete unreferenced modules.  Is there any chance that the name changing has resulted in the modules not being referenced anywhere.

 

bye

 

0 Kudos

380 Views
JustinMcCurdy
Contributor I

Will do, thanks.

0 Kudos

380 Views
CrasyCat
Specialist III

Hello

 

I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.

 

CrasyCat

0 Kudos