diff options
| author | Ulrich Drepper <[email protected]> | 2006-05-31 15:50:43 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2006-05-31 15:50:43 +0000 |
| commit | 8c56fe3b2c753234beb6f58a81c8b96f008226ef (patch) | |
| tree | d61ffb7018be1081e3bba89ba3e7c17338509259 /src/ld.h | |
| parent | df72c45805a859891ed0dcb854ee766f8ebef372 (diff) | |
Handle as-needed options.
Diffstat (limited to 'src/ld.h')
| -rw-r--r-- | src/ld.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc. +/* Copyright (C) 2001, 2002, 2003, 2005, 2006 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <[email protected]>, 2001. @@ -115,6 +115,10 @@ struct usedfiles used in a reference. */ bool used; + /* True when file should be added to DT_NEEDED list only when + directly referenced. */ + bool as_needed; + /* If nonzero this is the archive sequence number which can be used to determine whether back refernces from -( -) or GROUP statements have to be followed. */ @@ -791,6 +795,10 @@ struct ld_state /* If true static linking is requested. */ bool statically; + /* If true, add DT_NEEDED entries for following files if they are + needed. */ + bool as_needed; + /* How to extract elements from archives. */ enum extract_rule extract_rule; |
