diff options
Diffstat (limited to 'src/format/elf')
-rw-r--r-- | src/format/elf/Makefile.am | 8 | ||||
-rw-r--r-- | src/format/elf/e_elf.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/format/elf/Makefile.am b/src/format/elf/Makefile.am index 663194e..c64fc5c 100644 --- a/src/format/elf/Makefile.am +++ b/src/format/elf/Makefile.am @@ -1,14 +1,16 @@ -lib_LIBRARIES = libformatelf.a +lib_LTLIBRARIES = libformatelf.la -libformatelf_a_SOURCES = \ +libformatelf_la_SOURCES = \ e_elf.h e_elf.c \ elf-int.h \ section.h section.c \ strings.h strings.c \ symbol.h symbol.c -libformatelf_a_CFLAGS = $(AM_CFLAGS) +libformatelf_la_LDFLAGS = $(LIBGTK_LIBS) \ + -L../../common/.libs -common \ + -L../../arch/.libs -larch INCLUDES = $(LIBGTK_CFLAGS) diff --git a/src/format/elf/e_elf.c b/src/format/elf/e_elf.c index 1a1fe8d..c52a304 100644 --- a/src/format/elf/e_elf.c +++ b/src/format/elf/e_elf.c @@ -33,6 +33,7 @@ #include "strings.h" #include "symbol.h" #include "../../panel/log.h" +#include "../../common/extstr.h" @@ -47,9 +48,6 @@ uint64_t get_elf_entry_point(const elf_format *); -/* S'assure qu'une chaîne de caractère tient sur une ligne. */ -extern char *escape_crlf_bin_string(char *); - /* Récupère tous les éléments identifiées dans le binaire. */ size_t get_elf_resolved_items(const elf_format *, char ***, ResolvedType **, uint64_t **); @@ -462,7 +460,7 @@ size_t get_elf_resolved_items(const elf_format *format, char ***labels, Resolved (*types)[start + i] = RTP_STRING; (*offsets)[start + i] = format->strings[i].vaddress; - (*labels)[start + i] = escape_crlf_bin_string((*labels)[start + i]); + (*labels)[start + i] = escape_crlf((*labels)[start + i]); } |