Bug #2312

Symbol errno is of size 0

Added by profmakx almost 3 years ago. Updated over 2 years ago.

Status:ResolvedStart date:02/25/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

If one compiles a simple test program that uses errno, then the symbol size is reported as 0 by readelf. Is this a bug or intendend behaviour?

readelf -s a.out | grep errno
1: 0000000000000000 0 TLS GLOBAL DEFAULT UND errno
51: 0000000000000000 0 TLS GLOBAL DEFAULT UND errno

History

#1 Updated by profmakx over 2 years ago

  • Status changed from New to Resolved

Ok, that was stupid of me, the symbol is external to a.out.

Also available in: Atom PDF