[CentOS] [OT] how does ELF record file scope things?
Michael Hennebry
hennebry at web.cs.ndsu.nodak.eduMon Feb 18 01:56:53 UTC 2013
- Previous message: [CentOS] add CA to centos clients
- Next message: [CentOS] [OT] how does ELF record file scope things?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
fred.c: static void sfunc(int *p) { *p=1; } static int x; void fred(void) { ... sfunc(&x); ... } greg.c: static void sfunc(int *p) { *p=2; } static int x; void greg(void) { ... sfunc(&x); ... } Once the object files from fred.c and greg.c are linked, how does ELF distinguish the sfunc's and the x's? I've been trying to RTFM, but it hasn't helped? -- Michael hennebry at web.cs.ndsu.NoDak.edu "On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword." -- Lily
- Previous message: [CentOS] add CA to centos clients
- Next message: [CentOS] [OT] how does ELF record file scope things?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list