1a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper/* Return ELF data encoding. 2a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper Copyright (C) 2005 Red Hat, Inc. 3de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard This file is part of elfutils. 4a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper Written by Ulrich Drepper <drepper@redhat.com>, 2005. 5a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper 6de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard This file is free software; you can redistribute it and/or modify 7de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard it under the terms of either 8a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper 9de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard * the GNU Lesser General Public License as published by the Free 10de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard Software Foundation; either version 3 of the License, or (at 11de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard your option) any later version 12de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard 13de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard or 14de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard 15de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard * the GNU General Public License as published by the Free 16de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard Software Foundation; either version 2 of the License, or (at 17de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard your option) any later version 18de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard 19de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard or both in parallel, as here. 20de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard 21de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard elfutils is distributed in the hope that it will be useful, but 22361df7da6dfecd817b27e62b91752ac316d7cdd4Ulrich Drepper WITHOUT ANY WARRANTY; without even the implied warranty of 23361df7da6dfecd817b27e62b91752ac316d7cdd4Ulrich Drepper MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 24361df7da6dfecd817b27e62b91752ac316d7cdd4Ulrich Drepper General Public License for more details. 25361df7da6dfecd817b27e62b91752ac316d7cdd4Ulrich Drepper 26de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard You should have received copies of the GNU General Public License and 27de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard the GNU Lesser General Public License along with this program. If 28de2ed97f33139af5c7a0811e4ec66fc896a13cf2Mark Wielaard not, see <http://www.gnu.org/licenses/>. */ 29a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper 30a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper#ifdef HAVE_CONFIG_H 31a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper# include <config.h> 32a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper#endif 33a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper 34a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper#include <libeblP.h> 35a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper 36a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper 37a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepperint 381ccdfb683ad6c7e59793136c3a657ddf131cafd1Mark Wielaardebl_get_elfdata (Ebl *ebl) 39a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper{ 40a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper return ebl->data; 41a38998e815ccde5d90ff0800c31da255eb3430d3Ulrich Drepper} 42