fix symbol acceptance/rejection rules for TLS
authorRich Felker <dalias@aerifal.cx>
Sat, 6 Oct 2012 05:36:11 +0000 (01:36 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 6 Oct 2012 05:36:11 +0000 (01:36 -0400)
commitbd17431a2cba8aafd1e4f95f9b70e5800ee51d24
tree7dbe1f313dbdcb2275452b921b02ec58085be94a
parentcf3fd3d002c728ed0ef5d3aef856ff3e1d418da0
fix symbol acceptance/rejection rules for TLS

symbol value of 0 is not "undefined" for TLS; it's the address of the
first symbol in the TLS segment. however, non-definition TLS
references also have values of 0, so check the section.

hopefully the new logic is more clear, too.
src/ldso/dynlink.c