diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2005-08-03 02:05:39 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2005-08-03 02:05:39 +0000 |
| commit | a38998e815ccde5d90ff0800c31da255eb3430d3 (patch) | |
| tree | e5f035b73eeaf4033f159351ecad375f63d3a0aa /libebl/eblelfclass.c | |
| parent | ef9c9c8fca98a8f9b6aa7c3604ba47e74094e181 (diff) | |
| download | platform_external_elfutils-a38998e815ccde5d90ff0800c31da255eb3430d3.tar.gz platform_external_elfutils-a38998e815ccde5d90ff0800c31da255eb3430d3.tar.bz2 platform_external_elfutils-a38998e815ccde5d90ff0800c31da255eb3430d3.zip | |
Add some patches from the disasm-branch branch.
The asm_begin interface changed.
In text mode output is really written to the file.
Diffstat (limited to 'libebl/eblelfclass.c')
| -rw-r--r-- | libebl/eblelfclass.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libebl/eblelfclass.c b/libebl/eblelfclass.c new file mode 100644 index 00000000..9108050f --- /dev/null +++ b/libebl/eblelfclass.c @@ -0,0 +1,27 @@ +/* Return ELF class. + Copyright (C) 2005 Red Hat, Inc. + Written by Ulrich Drepper <drepper@redhat.com>, 2005. + + This program is Open Source software; you can redistribute it and/or + modify it under the terms of the Open Software License version 1.0 as + published by the Open Source Initiative. + + You should have received a copy of the Open Software License along + with this program; if not, you may obtain a copy of the Open Software + License version 1.0 from http://www.opensource.org/licenses/osl.php or + by writing the Open Source Initiative c/o Lawrence Rosen, Esq., + 3001 King Ranch Road, Ukiah, CA 95482. */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#include <libeblP.h> + + +int +ebl_get_elfclass (ebl) + Ebl *ebl; +{ + return ebl->class; +} |
