diff options
author | jdp <jdp@FreeBSD.org> | 1997-12-06 17:59:52 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-12-06 17:59:52 +0000 |
commit | b62e86b3831919a70572235013010746e9b442fa (patch) | |
tree | 566237f81bdbe7f1cc64358283a34f4cf4992371 /include/link.h | |
parent | 5ec301cdc6789cc7aaa50f21a05a033d21def072 (diff) | |
download | FreeBSD-src-b62e86b3831919a70572235013010746e9b442fa.zip FreeBSD-src-b62e86b3831919a70572235013010746e9b442fa.tar.gz |
Move nlist related defines from link.h into nlist.h. Clean up
nlist.h.
Diffstat (limited to 'include/link.h')
-rw-r--r-- | include/link.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/include/link.h b/include/link.h index 870e13d..5ff1f78 100644 --- a/include/link.h +++ b/include/link.h @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: link.h,v 1.15 1997/11/22 03:34:39 brian Exp $ + * $Id: link.h,v 1.16 1997/11/28 19:05:11 jdp Exp $ */ /* @@ -84,6 +84,8 @@ struct so_map { /* Shared Object Map */ struct nzlist { struct nlist nlist; u_long nz_size; +}; + #define nz_un nlist.n_un #define nz_strx nlist.n_un.n_strx #define nz_name nlist.n_un.n_name @@ -91,18 +93,6 @@ struct nzlist { #define nz_value nlist.n_value #define nz_desc nlist.n_desc #define nz_other nlist.n_other -}; - -#define N_AUX(p) ((p)->n_other & 0xf) -#define N_BIND(p) (((unsigned int)(p)->n_other >> 4) & 0xf) -#define N_OTHER(r, v) (((unsigned int)(r) << 4) | ((v) & 0xf)) - -#define AUX_OBJECT 1 -#define AUX_FUNC 2 -/*#define BIND_LOCAL 0 not used */ -/*#define BIND_GLOBAL 1 not used */ -#define BIND_WEAK 2 - /* * The `section_dispatch_table' structure contains offsets to various data @@ -290,4 +280,3 @@ struct hints_bucket { #define _PATH_LD_HINTS "/var/run/ld.so.hints" #endif /* _LINK_H_ */ - |