From 7e9d30a43f9366b50189569177dedc02c2b19207 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 8 Nov 2004 08:12:40 +0000 Subject: [PATCH] Fix support for PECOFF weak symbols --- include/coff/ChangeLog | 6 ++++++ include/coff/pe.h | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 290a5070a..d107734e9 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,9 @@ +2004-11-08 Aaron W. LaFramboise + + * pe.h (IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY): Define. + (IMAGE_WEAK_EXTERN_SEARCH_LIBRARY): Same. + (IMAGE_WEAK_EXTERN_SEARCH_ALIAS): Same. + 2004-08-13 Mark Kettenis * symconst.h (langMax): Fix typo in comment. diff --git a/include/coff/pe.h b/include/coff/pe.h index 363d30737..46128dd82 100644 --- a/include/coff/pe.h +++ b/include/coff/pe.h @@ -1,6 +1,6 @@ /* pe.h - PE COFF header information - Copyright 2000, 2001, 2003 Free Software Foundation, Inc. + Copyright 2000, 2001, 2003, 2004 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -310,4 +310,9 @@ typedef struct #define IMPORT_NAME_NOPREFIX 2 #define IMPORT_NAME_UNDECORATE 3 +/* Weak external characteristics. */ +#define IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY 1 +#define IMAGE_WEAK_EXTERN_SEARCH_LIBRARY 2 +#define IMAGE_WEAK_EXTERN_SEARCH_ALIAS 3 + #endif /* _PE_H */