OSDN Git Service

Add sanity checks to ld.so DSBT support
authorMark Salter <msalter@redhat.com>
Wed, 2 Mar 2011 20:12:48 +0000 (21:12 +0100)
committerBernd Schmidt <bernds@codesourcery.com>
Sat, 5 Mar 2011 17:22:35 +0000 (18:22 +0100)
commit9b1507df250e90b74099e0d05170d7d95060b016
tree5c584ae35e79b2fb0bad533623345dd40514c0fc
parent46d6a24872b7fa2717f8f71b5e0598a14d38e1f6
Add sanity checks to ld.so DSBT support

This adds some DSBT index sanity checks to the runtime linker. It
catches libraries which have no index (index 0) and libraries which
try to use an already used index.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
ldso/ldso/dl-elf.c