diff options
| author | Roland McGrath <[email protected]> | 2007-04-27 04:07:41 +0000 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2007-04-27 04:07:41 +0000 |
| commit | 2be0291b2cc06fc253c73a1564b126580c8f5ea2 (patch) | |
| tree | 819a2488013d8990da11e8e00f8afccbafe0434c /backends/alpha_symbol.c | |
| parent | 420c8b5374fb39227d6eba5de2e760c3ba048002 (diff) | |
2007-04-26 Roland McGrath <[email protected]>
* run-elflint-self.sh: Run all tests even if one fails.
Diffstat (limited to 'backends/alpha_symbol.c')
| -rw-r--r-- | backends/alpha_symbol.c | 10 |
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; +} |
