Return has_DT_SYMBOLIC flag.

This reverts commit 8f61d99183

 Despite the fact that static linker does all the work while linking
 -Bsymbolic executables, according to the SCO doc following DT_SYMBOLIC
 and DF_SYMBOLIC flags is still a requirement for the dynamic linker
 as well.

 (see http://www.sco.com/developers/gabi/2012-12-31/ch5.dynamic.html)

Bug: 18186310

(cherry picked from commit 96bc37f2e1)

Change-Id: Ie217be4f3305d877066e4cfe91975ae1c7768330
This commit is contained in:
Dmitriy Ivanov
2014-09-29 12:10:36 -07:00
parent 748fbe5c41
commit f90e21004e
2 changed files with 47 additions and 23 deletions

View File

@@ -197,7 +197,7 @@ struct soinfo {
#if !defined(__LP64__)
bool has_text_relocations;
#endif
bool unused4; // DO NOT USE, maintained for compatibility
bool has_DT_SYMBOLIC;
soinfo(const char* name, const struct stat* file_stat, off64_t file_offset, int rtld_flags);