From aa915fd3d70b4cbe4581f9ec170d986c6ba35063 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 5 Feb 2007 07:25:33 +0000 Subject: propagate from branch 'com.redhat.elfutils.roland.pending' (head c44dcfac5b545aecb173fede31f34cb003be0173) to branch 'com.redhat.elfutils' (head 4196d4e01486bdeb0c0632291881d1c6d7163fab) --- backends/ia64_symbol.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'backends/ia64_symbol.c') diff --git a/backends/ia64_symbol.c b/backends/ia64_symbol.c index 4faec0c9..2609db0f 100644 --- a/backends/ia64_symbol.c +++ b/backends/ia64_symbol.c @@ -1,5 +1,5 @@ /* IA-64 specific symbolic name handling. - Copyright (C) 2002, 2003, 2005, 2006 Red Hat, Inc. + Copyright (C) 2002, 2003, 2005, 2006, 2007 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper , 2002. @@ -86,6 +86,13 @@ ia64_machine_flag_check (GElf_Word flags) return ((flags &~ EF_IA_64_ABI64) == 0); } +/* Check whether SHF_MASKPROC flags are valid. */ +bool +ia64_machine_section_flag_check (GElf_Xword sh_flags) +{ + return (sh_flags &~ (SHF_IA_64_SHORT | SHF_IA_64_NORECOV)) == 0; +} + /* Return symbolic representation of section type. */ const char * ia64_section_type_name (int type, @@ -97,7 +104,7 @@ ia64_section_type_name (int type, case SHT_IA_64_EXT: return "SHT_IA_64_EXT"; case SHT_IA_64_UNWIND: - return "HT_IA_64_UNWIND"; + return "SHT_IA_64_UNWIND"; } return NULL; -- cgit v1.2.1