Getting locations for local and global variable declarations
Implemented linker error