summaryrefslogtreecommitdiff
path: root/ld/ldexp.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-08-05 13:52:13 +0000
committerH.J. Lu <hjl@lucon.org>2005-08-05 13:52:13 +0000
commitead0700b97a141c5f4ae240669952fa09f8d3a99 (patch)
tree47e2fece200da2268b7e18981a9bac236cecbf7d /ld/ldexp.h
parent269673994e3ce6b48f0e00e85b68575eb810d5a3 (diff)
downloadbinutils-redhat-ead0700b97a141c5f4ae240669952fa09f8d3a99.tar.gz
bfd/
2005-08-05 H.J. Lu <hongjiu.lu@intel.com> * bfd.c (bfd_hide_symbol): New. * bfd-in2.h: Regenerated. ld/ 2005-08-05 H.J. Lu <hongjiu.lu@intel.com> * ld.texinfo: Document PROVIDE_HIDDEN. * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked. (exp_provide): Add and set hidden. * ldexp.h (etree_type): Add hidden to assign. * ldgram.y (PROVIDE_HIDDEN): New. * ldlex.l (PROVIDE_HIDDEN): Likewise. * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound symbols.
Diffstat (limited to 'ld/ldexp.h')
-rw-r--r--ld/ldexp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldexp.h b/ld/ldexp.h
index 7cf8ea7374..fed3a0da44 100644
--- a/ld/ldexp.h
+++ b/ld/ldexp.h
@@ -63,6 +63,7 @@ typedef union etree_union {
node_type type;
const char *dst;
union etree_union *src;
+ bfd_boolean hidden;
} assign;
struct {
node_type type;
@@ -165,7 +166,7 @@ etree_type *exp_nameop
etree_type *exp_assop
(int, const char *, etree_type *);
etree_type *exp_provide
- (const char *, etree_type *);
+ (const char *, etree_type *, bfd_boolean);
etree_type *exp_assert
(etree_type *, const char *);
void exp_print_tree