Hi,
'scuse the schoolboy type question, but I'm not that familiar with FASM.  I thought I'd ask here as it's obvious that there are some very skilled fasm programmers around these parts.
Using FASM to create an MS COFF object file.
I'm just wondering under which circumstances code labels end up in the coff symbol table?  
If I use a regular unscoped label (e.g. MyLabel: etc.) which is accessible throughout the source file, does this end up in the symbol table and thus become accessible to all other object files being linked  (with the extern directive)?  I'm hoping not!
I'm hoping that there is some directive (e.g. global) which will cause the label to be placed in the symbol table so that I effectively can choose which labels end up in the symbol table.
Thanks in advance.
			
			
									
									Very basic FASM question?
Very basic FASM question?
I may look like a mule, but I'm not a complete ass.
						Code: Select all
public symbolWhich means that it can't be in the symbol table then! Good.
I mostly use GoAsm, which is great, but it places all unscoped code labels within the symbol table automatically, which is causing problems for a certain piece of code I'm working on. Hence the switch to FASM for this piece of code.
Thanks again.
			
			
									
									I mostly use GoAsm, which is great, but it places all unscoped code labels within the symbol table automatically, which is causing problems for a certain piece of code I'm working on. Hence the switch to FASM for this piece of code.
Thanks again.
I may look like a mule, but I'm not a complete ass.
						

