What does __sn mean in the map file generated by the GNU linker?

andrew_s_greten@mail.northgrum.com (Andy)
30 Jan 2002 20:41:28 -0500

          From comp.compilers

Related articles
What does __sn mean in the map file generated by the GNU linker? andrew_s_greten@mail.northgrum.com (2002-01-30)
| List of all articles for this month |

From: andrew_s_greten@mail.northgrum.com (Andy)
Newsgroups: comp.compilers
Date: 30 Jan 2002 20:41:28 -0500
Organization: http://groups.google.com/
Keywords: linker, question
Posted-Date: 30 Jan 2002 20:41:28 EST

Hello --


I am in the midst of debugging a problem that is causing me to look at
the MAP file generated by the linker. In doing so, I came across a
symbol that I cannot understand.


The code has numerous global variables. However, in the map file,
some of these global variables, in addition to their normal entry in
the MAP file, have an additional entry. This additional entry is the
one I can't understand. Here's an example:


      I have the following global variable:
      nuHRD HRDElem;


where nuHRD is a class.


      In the map file, I saw the following 2 lines:


      Allocating common HRDElem: 2f0 at 368 nuINSInterface.o
      Allocating common __snHRDElem.112: 4 at 1c nuINSInterface.o


The first makes sense to me, but I have no idea what the second one
is. What's meant by "__sn"???


Andy


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.