Deleted Added
full compact
elfcopy.h (280932) elfcopy.h (283616)
1/*-
2 * Copyright (c) 2007-2013 Kai Wang
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2007-2013 Kai Wang
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $Id: elfcopy.h 3173 2015-03-27 16:46:13Z emaste $
26 * $Id: elfcopy.h 3221 2015-05-24 23:42:43Z kaiwang27 $
27 */
28
29#include <sys/queue.h>
30#include <gelf.h>
31#include <libelftc.h>
32
33#include "_elftc.h"
34

--- 197 unchanged lines hidden (view full) ---

232 char *prefix_sym; /* symbol prefix. */
233 char *debuglink; /* GNU debuglink file. */
234 struct section *symtab; /* .symtab section. */
235 struct section *strtab; /* .strtab section. */
236 struct section *shstrtab; /* .shstrtab section. */
237 uint64_t *secndx; /* section index map. */
238 uint64_t *symndx; /* symbol index map. */
239 unsigned char *v_rel; /* symbols needed by relocation. */
27 */
28
29#include <sys/queue.h>
30#include <gelf.h>
31#include <libelftc.h>
32
33#include "_elftc.h"
34

--- 197 unchanged lines hidden (view full) ---

232 char *prefix_sym; /* symbol prefix. */
233 char *debuglink; /* GNU debuglink file. */
234 struct section *symtab; /* .symtab section. */
235 struct section *strtab; /* .strtab section. */
236 struct section *shstrtab; /* .shstrtab section. */
237 uint64_t *secndx; /* section index map. */
238 uint64_t *symndx; /* symbol index map. */
239 unsigned char *v_rel; /* symbols needed by relocation. */
240 unsigned char *v_grp; /* symbols refered by section group. */
240 unsigned char *v_secsym; /* sections with section symbol. */
241 STAILQ_HEAD(, segment) v_seg; /* list of segments. */
242 STAILQ_HEAD(, sec_action) v_sac;/* list of section operations. */
243 STAILQ_HEAD(, sec_add) v_sadd; /* list of sections to add. */
244 STAILQ_HEAD(, symop) v_symop; /* list of symbols operations. */
245 STAILQ_HEAD(, symfile) v_symfile; /* list of symlist files. */
246 TAILQ_HEAD(, section) v_sec; /* list of sections. */
247

--- 70 unchanged lines hidden ---
241 unsigned char *v_secsym; /* sections with section symbol. */
242 STAILQ_HEAD(, segment) v_seg; /* list of segments. */
243 STAILQ_HEAD(, sec_action) v_sac;/* list of section operations. */
244 STAILQ_HEAD(, sec_add) v_sadd; /* list of sections to add. */
245 STAILQ_HEAD(, symop) v_symop; /* list of symbols operations. */
246 STAILQ_HEAD(, symfile) v_symfile; /* list of symlist files. */
247 TAILQ_HEAD(, section) v_sec; /* list of sections. */
248

--- 70 unchanged lines hidden ---