From a688a732b671263838c2cd056ab5dbb71be91468 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 10 Jun 2006 06:33:00 +0000 Subject: * i386_ld.c (elf_i386_finalize_plt): Don't change symbol table entries for PLT entries if there is no local definition. * ld.c (parse_option): Handle -z ignore like --as-needed and -z record like --no-as-needed. * ld.h (struct ld_state): Remove ignore_unused_dsos field. * ldgeneric.c (new_generated_scn): Always compute ndt_needed by looping over DSOs. When deciding about adding DT_NEEDED entries use ->as_needed instead of ignore_unused_dsos. --- src/addr2line.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/addr2line.c') diff --git a/src/addr2line.c b/src/addr2line.c index 1729058e..bc0ea803 100644 --- a/src/addr2line.c +++ b/src/addr2line.c @@ -258,8 +258,7 @@ print_dwarf_function (Dwfl_Module *mod, Dwarf_Addr addr) &attr_mem), &val) == 0) { const char *file = dwarf_filesrc (files, val, NULL, NULL); - unsigned int lineno = 0; - unsigned int colno = 0; + int lineno = 0, colno = 0; if (dwarf_formudata (dwarf_attr (&scopes[i], DW_AT_call_line, &attr_mem), &val) == 0) -- cgit v1.2.3