summaryrefslogtreecommitdiffstats
path: root/libebl/eblelfdata.c
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-08-03 02:05:39 +0000
committerUlrich Drepper <[email protected]>2005-08-03 02:05:39 +0000
commita38998e815ccde5d90ff0800c31da255eb3430d3 (patch)
treee5f035b73eeaf4033f159351ecad375f63d3a0aa /libebl/eblelfdata.c
parentef9c9c8fca98a8f9b6aa7c3604ba47e74094e181 (diff)
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/eblelfdata.c')
-rw-r--r--libebl/eblelfdata.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/libebl/eblelfdata.c b/libebl/eblelfdata.c
new file mode 100644
index 00000000..a1b84768
--- /dev/null
+++ b/libebl/eblelfdata.c
@@ -0,0 +1,27 @@
+/* Return ELF data encoding.
+ Copyright (C) 2005 Red Hat, Inc.
+ Written by Ulrich Drepper <[email protected]>, 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_elfdata (ebl)
+ Ebl *ebl;
+{
+ return ebl->data;
+}