summaryrefslogtreecommitdiffstats
path: root/backends/alpha_symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/alpha_symbol.c')
-rw-r--r--backends/alpha_symbol.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/backends/alpha_symbol.c b/backends/alpha_symbol.c
index ca93e2a8..dc3cce56 100644
--- a/backends/alpha_symbol.c
+++ b/backends/alpha_symbol.c
@@ -1,5 +1,5 @@
/* Alpha specific symbolic name handling.
- Copyright (C) 2002, 2005 Red Hat, Inc.
+ Copyright (C) 2002, 2005, 2007 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <[email protected]>, 2002.
@@ -69,3 +69,11 @@ alpha_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type)
return ELF_T_NUM;
}
}
+
+
+/* Check whether SHF_MASKPROC flags are valid. */
+bool
+alpha_machine_section_flag_check (GElf_Xword sh_flags)
+{
+ return (sh_flags &~ (SHF_ALPHA_GPREL)) == 0;
+}