diff options
| author | Ulrich Drepper <[email protected]> | 2007-02-05 07:25:33 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2007-02-05 07:25:33 +0000 |
| commit | aa915fd3d70b4cbe4581f9ec170d986c6ba35063 (patch) | |
| tree | 7345e23df9aa4cfcab4eb9afafa0dac6ed16e182 /libebl/eblopenbackend.c | |
| parent | ce0bdb6ee5f977af9e565f2871ba2b1b37d162a5 (diff) | |
propagate from branch 'com.redhat.elfutils.roland.pending' (head c44dcfac5b545aecb173fede31f34cb003be0173)
to branch 'com.redhat.elfutils' (head 4196d4e01486bdeb0c0632291881d1c6d7163fab)
Diffstat (limited to 'libebl/eblopenbackend.c')
| -rw-r--r-- | libebl/eblopenbackend.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c index dba22ba1..5b1a7193 100644 --- a/libebl/eblopenbackend.c +++ b/libebl/eblopenbackend.c @@ -1,5 +1,5 @@ /* Generate ELF backend handle. - Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. + Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -171,6 +171,7 @@ static const char *default_section_name (int ignore, int ignore2, char *buf, size_t len); static const char *default_machine_flag_name (Elf64_Word *ignore); static bool default_machine_flag_check (Elf64_Word flags); +static bool default_machine_section_flag_check (GElf_Xword flags); static const char *default_symbol_type_name (int ignore, char *buf, size_t len); static const char *default_symbol_binding_name (int ignore, char *buf, @@ -221,6 +222,7 @@ fill_defaults (Ebl *result) result->section_name = default_section_name; result->machine_flag_name = default_machine_flag_name; result->machine_flag_check = default_machine_flag_check; + result->machine_section_flag_check = default_machine_section_flag_check; result->symbol_type_name = default_symbol_type_name; result->symbol_binding_name = default_symbol_binding_name; result->dynamic_tag_name = default_dynamic_tag_name; @@ -502,6 +504,12 @@ default_machine_flag_check (Elf64_Word flags __attribute__ ((unused))) return flags == 0; } +static bool +default_machine_section_flag_check (GElf_Xword flags) +{ + return flags == 0; +} + static const char * default_symbol_type_name (int ignore __attribute__ ((unused)), char *buf __attribute__ ((unused)), |
