Ulrich Drepper | a688a73 | 2006-06-10 06:33:00 +0000 | [diff] [blame] | 1 | 2006-06-09 Ulrich Drepper <drepper@redhat.com> |
| 2 | |
| 3 | * i386_ld.c (elf_i386_finalize_plt): Don't change symbol table entries |
| 4 | for PLT entries if there is no local definition. |
| 5 | |
| 6 | * ld.c (parse_option): Handle -z ignore like --as-needed and |
| 7 | -z record like --no-as-needed. |
| 8 | * ld.h (struct ld_state): Remove ignore_unused_dsos field. |
| 9 | * ldgeneric.c (new_generated_scn): Always compute ndt_needed by |
| 10 | looping over DSOs. When deciding about adding DT_NEEDED entries |
| 11 | use ->as_needed instead of ignore_unused_dsos. |
| 12 | |
Ulrich Drepper | 8c56fe3 | 2006-05-31 15:50:43 +0000 | [diff] [blame] | 13 | 2006-05-31 Ulrich Drepper <drepper@redhat.com> |
Ulrich Drepper | 11b030e | 2006-05-28 20:28:19 +0000 | [diff] [blame] | 14 | |
Ulrich Drepper | 8c56fe3 | 2006-05-31 15:50:43 +0000 | [diff] [blame] | 15 | * ld.c: Recognize --as-needed and --no-as-needed options. |
| 16 | * ld.h (struct usedfile): Add as_needed field. |
| 17 | (struct ld_state): Likewise. |
| 18 | * ldgeneric.c (ld_handle_filename_list): Copy as_needed flag from |
| 19 | the list. |
| 20 | * ldscript.y (filename_id_list): Split to correctly parse all |
| 21 | combinations. |
| 22 | (mark_as_needed): Fix loop. |
Ulrich Drepper | 11b030e | 2006-05-28 20:28:19 +0000 | [diff] [blame] | 23 | |
Ulrich Drepper | 697f4db | 2006-06-10 06:50:47 +0000 | [diff] [blame^] | 24 | 2006-05-28 Ulrich Drepper <drepper@redhat.com> |
| 25 | |
| 26 | * addr2line.c (print_dwarf_function): Use unsigned type for lineno |
| 27 | and colno. |
| 28 | |
Ulrich Drepper | 2cb8e73 | 2006-05-27 21:57:27 +0000 | [diff] [blame] | 29 | 2006-05-27 Ulrich Drepper <drepper@redhat.com> |
| 30 | |
| 31 | * readelf.c (handle_relocs_rela): Better notations for addon value. |
Ulrich Drepper | 41a9908 | 2006-05-28 00:01:43 +0000 | [diff] [blame] | 32 | (print_ehdr): Distinguish e_ident[EI_VERSION] from e_version. |
Ulrich Drepper | 2cb8e73 | 2006-05-27 21:57:27 +0000 | [diff] [blame] | 33 | |
Ulrich Drepper | 82c345d | 2006-04-04 22:07:54 +0000 | [diff] [blame] | 34 | 2006-04-04 Ulrich Drepper <drepper@redhat.com> |
| 35 | |
| 36 | * addr2line.c: Update copyright year. |
| 37 | * elfcmp.c: Likewise. |
| 38 | * elflint.c: Likewise. |
| 39 | * findtextrel.c: Likewise. |
| 40 | * ld.c: Likewise. |
| 41 | * nm.c: Likewise. |
| 42 | * objdump.c: Likewise. |
| 43 | * ranlib.c: Likewise. |
| 44 | * readelf.c: Likewise. |
| 45 | * size.c: Likewise. |
| 46 | * strings.c: Likewise. |
| 47 | * strip.c: Likewise. |
| 48 | |
Roland McGrath | dd7e22b | 2006-03-09 23:05:47 +0000 | [diff] [blame] | 49 | 2006-03-09 Roland McGrath <roland@redhat.com> |
| 50 | |
| 51 | * Makefile.am (AM_LDFLAGS): New variable. |
| 52 | |
Roland McGrath | 060fa05 | 2006-03-02 07:51:50 +0000 | [diff] [blame] | 53 | 2006-03-01 Roland McGrath <roland@redhat.com> |
| 54 | |
| 55 | * readelf.c (dwarf_tag_string, dwarf_attr_string): Update name tables |
| 56 | for dwarf.h changes matching 3.0 spec. |
| 57 | (dwarf_encoding_string, dwarf_lang_string, print_ops): Likewise. |
| 58 | |
Ulrich Drepper | 038129b | 2005-12-04 16:47:24 +0000 | [diff] [blame] | 59 | 2005-12-04 Ulrich Drepper <drepper@redhat.com> |
| 60 | |
| 61 | * elflint.c (check_one_reloc): If relocation section is not loaded, |
| 62 | don't check whether the relocations modify read-only sections or |
| 63 | loaded and unloaded sections. |
| 64 | |
Ulrich Drepper | 607e054 | 2005-12-04 15:51:06 +0000 | [diff] [blame] | 65 | 2005-11-28 Ulrich Drepper <drepper@redhat.com> |
| 66 | |
| 67 | * elflint.c (check_one_reloc): Take additional parameters. Use |
| 68 | them to determine whether relocation is valid in this type of |
| 69 | file. DSOs and executables can contain relocation sections in |
| 70 | unloaded sections which just show the relocations the linker |
| 71 | applied. Adjust all callers. |
| 72 | (check_program_header): Check that PT_PHDR is loaded and that offset |
| 73 | matches the one in the ELF header. |
| 74 | |
Roland McGrath | 6724c90 | 2005-10-28 07:07:19 +0000 | [diff] [blame] | 75 | 2005-10-26 Roland McGrath <roland@redhat.com> |
| 76 | |
| 77 | * nm.c (get_var_range): dwarf_getloclist -> dwarf_getlocation. |
| 78 | |
Ulrich Drepper | d044952 | 2005-09-03 07:23:52 +0000 | [diff] [blame] | 79 | 2005-09-03 Ulrich Drepper <drepper@redhat.com> |
| 80 | |
Ulrich Drepper | e3f9b7d | 2005-09-03 16:42:46 +0000 | [diff] [blame] | 81 | * strip.c (handle_elf): Unify some error messages. |
| 82 | * ld.c (main): Likewise. |
| 83 | * ldgeneric.c (open_elf): Likewise. |
| 84 | * elfcmp.c (main): Likewise. |
| 85 | * elflint.c (check_elf_header): Likewise. |
| 86 | |
| 87 | * size.c (process_file): Fix typo in error message. |
| 88 | |
Ulrich Drepper | d044952 | 2005-09-03 07:23:52 +0000 | [diff] [blame] | 89 | * readelf.c: Lots of little cleanups. Use _unlocked functions. |
| 90 | |
Ulrich Drepper | a60501e | 2005-09-02 19:50:17 +0000 | [diff] [blame] | 91 | 2005-09-02 Ulrich Drepper <drepper@redhat.com> |
| 92 | |
Ulrich Drepper | e3f9b7d | 2005-09-03 16:42:46 +0000 | [diff] [blame] | 93 | * strings.c (main): Reset elfmap variable after munmap call. |
Ulrich Drepper | 618795f | 2005-09-02 20:01:37 +0000 | [diff] [blame] | 94 | [_MUDFLAP] (map_file): Simplify mudflap debugging by not using mmap. |
Ulrich Drepper | a60501e | 2005-09-02 19:50:17 +0000 | [diff] [blame] | 95 | |
Ulrich Drepper | fbe998a | 2005-08-29 16:27:10 +0000 | [diff] [blame] | 96 | 2005-08-28 Ulrich Drepper <drepper@redhat.com> |
| 97 | |
| 98 | * ranlib.c: Don't define pread_retry and write_retry here. |
| 99 | |
| 100 | * Makefile.an [BUILD_STATIC] (libdw): Add -ldl. |
| 101 | (CLEANFILES): Add *.gcno *.gcda *.gconv. |
| 102 | |
| 103 | * strings.c (process_chunk): Reorder expressions in conditional |
| 104 | (process_chunk_mb): Likewise. |
| 105 | |
| 106 | * strings.c: New file. |
| 107 | * Makefile.am (bin_PROGRAMS): Add strings. |
| 108 | (strings_no_Wstring): Define. |
| 109 | (strings_LDADD): Define. |
| 110 | |
Roland McGrath | 71e15a0 | 2005-08-27 10:33:26 +0000 | [diff] [blame] | 111 | 2005-08-27 Roland McGrath <roland@redhat.com> |
| 112 | |
| 113 | * addr2line.c (dwarf_diename_integrate): Function removed. |
| 114 | (print_dwarf_function): Use plain dwarf_diename. |
| 115 | |
Ulrich Drepper | c5a06cd | 2005-08-24 19:50:14 +0000 | [diff] [blame] | 116 | 2005-08-24 Ulrich Drepper <drepper@redhat.com> |
| 117 | |
| 118 | * elflint.c (check_versym): Versioned symbols should not have |
| 119 | local binding. |
| 120 | |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 121 | 2005-08-15 Ulrich Drepper <drepper@redhat.com> |
| 122 | |
Ulrich Drepper | 61655e0 | 2005-08-16 04:23:02 +0000 | [diff] [blame] | 123 | * elflint.c (check_versym): Allow VER_NDX_LOCAL symbols to be |
| 124 | undefined. |
| 125 | |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 126 | * Makefile.am: Add rules to build ranlib. |
| 127 | * ranlib.c: New file. |
| 128 | |
Roland McGrath | 18e1342 | 2005-08-15 08:01:25 +0000 | [diff] [blame] | 129 | 2005-08-14 Roland McGrath <roland@redhat.com> |
| 130 | |
| 131 | * elflint.c (check_sections): Use ebl_section_type_name and allow any |
| 132 | sh_type it recognizes. |
| 133 | |
| 134 | * elflint.c (check_sections): Print unknown flags in hex, don't |
| 135 | truncate high bits. Print section number and name for unknown type. |
| 136 | |
Roland McGrath | f689504 | 2005-08-13 20:56:52 +0000 | [diff] [blame] | 137 | 2005-08-13 Roland McGrath <roland@redhat.com> |
| 138 | |
| 139 | * elflint.c (check_program_header): Use ebl_segment_type_name and |
| 140 | allow any p_type it recognizes. Include p_type value in error |
| 141 | message for unknown type. |
| 142 | |
Ulrich Drepper | c5c33a6 | 2005-08-13 17:50:47 +0000 | [diff] [blame] | 143 | 2005-08-13 Ulrich Drepper <drepper@redhat.com> |
| 144 | |
| 145 | * elflint.c (check_symtab): Simplify last change a bit. Pass ehdr |
| 146 | to ebl_check_special_symbol. |
| 147 | (check_sections): Pass ehdr to ebl_bss_plt_p. |
| 148 | |
Roland McGrath | 653d376 | 2005-08-13 01:59:10 +0000 | [diff] [blame] | 149 | 2005-08-12 Roland McGrath <roland@redhat.com> |
| 150 | |
| 151 | * elflint.c (check_symtab): Check that _GLOBAL_OFFSET_TABLE_ st_shndx |
| 152 | refers to the right section if it's not SHN_ABS. |
| 153 | Let ebl_check_special_symbol override _G_O_T_ value and size checks. |
| 154 | |
| 155 | * elflint.c (check_sections): Don't complain about a non-NOBITS |
| 156 | section taking no segment space, if it's sh_size is 0. |
| 157 | |
| 158 | * elflint.c (check_sections): Use ebl_bss_plt_p to see if .plt should |
| 159 | be PROGBITS or NOBITS. |
| 160 | |
| 161 | * elflint.c (check_symtab): Use ebl_check_special_symbol to override |
| 162 | standard st_value and st_size checks. |
| 163 | |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 164 | 2005-07-28 Roland McGrath <roland@redhat.com> |
Ulrich Drepper | faf4d19 | 2005-08-11 05:12:05 +0000 | [diff] [blame] | 165 | |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 166 | * addr2line.c (options, parse_opt): Don't handle -e here. |
| 167 | (executable): Variable removed. |
| 168 | (argp_children): New static variable. |
| 169 | (argp): Use it. Make const. |
| 170 | (main): Fill in argp_children from dwfl_standard_argp (). |
| 171 | Let libdwfl handle file selection, pass Dwfl handle to handle_address. |
| 172 | (print_dwarf_function): New function. Try to figure out inline chain. |
| 173 | (elf_getname): Function removed, libdwfl does it for us. |
| 174 | (handle_address): Take Dwfl handle instead of Elf, Dwarf handles. |
| 175 | Use dwfl_module_addrname instead of elf_getname. |
| 176 | Use dwfl_module_getsrc and dwfl_lineinfo instead of libdw calls. |
| 177 | * Makefile.am (INCLUDES): Add libdwfl directory to path. |
| 178 | |
| 179 | 2005-08-10 Ulrich Drepper <drepper@redhat.com> |
| 180 | |
| 181 | * strip.c (parse_opt): STATE parameter is now used. |
| 182 | Various little cleanups. |
| 183 | |
| 184 | * readelf.c (print_debug_line_section): Correct fallout of renaming |
| 185 | of DW_LNS_set_epilog_begin. |
Ulrich Drepper | 6d5c3bd | 2005-08-11 04:37:52 +0000 | [diff] [blame] | 186 | |
Roland McGrath | 8f31c2c | 2005-08-09 04:58:05 +0000 | [diff] [blame] | 187 | 2005-08-08 Roland McGrath <roland@redhat.com> |
| 188 | |
| 189 | * strip.c (options, parse_opt): Grok -R .comment for compatibility |
| 190 | with binutils strip. Likewise -d, -S, as aliases for -g. |
| 191 | Likewise ignore -s/--strip-all. |
| 192 | |
Roland McGrath | 095a01b | 2005-08-08 03:49:35 +0000 | [diff] [blame] | 193 | 2005-08-07 Roland McGrath <roland@redhat.com> |
| 194 | |
| 195 | * strip.c (process_file): Open read-only when using a different output |
| 196 | file. |
| 197 | |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 198 | 2005-08-06 Ulrich Drepper <drepper@redhat.com> |
| 199 | |
Ulrich Drepper | 637963b | 2005-08-07 05:33:07 +0000 | [diff] [blame] | 200 | * elflint.c (in_nobits_scn): New function. |
| 201 | (check_versym): Allow references for defined symbols against versions |
| 202 | of other DSOs also for symbols in nobits sections. |
| 203 | Move a few variables around. |
| 204 | |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 205 | * Makefile.am (AM_CFLAGS): Avoid duplication. |
| 206 | Link with statis libs if BUILD_STATIC. |
| 207 | |
Ulrich Drepper | dbace23 | 2005-08-06 01:37:23 +0000 | [diff] [blame] | 208 | 2005-08-05 Ulrich Drepper <drepper@redhat.com> |
| 209 | |
| 210 | * elflint.c: Many, many more tests. Mostly related to symbol |
| 211 | versioning. Those sections should now be completely checked. |
| 212 | |
| 213 | * readelf.c (print_dynamic): Use gelf_offscn. |
| 214 | |
Ulrich Drepper | acb8983 | 2005-08-04 07:01:49 +0000 | [diff] [blame] | 215 | 2005-08-04 Ulrich Drepper <drepper@redhat.com> |
| 216 | |
| 217 | * elflint.c: Add lots more tests: more extension symbol table sanity, |
| 218 | versioning section tests, hash table tests. General cleanup. |
| 219 | |
Ulrich Drepper | c911c9e | 2005-08-02 16:07:42 +0000 | [diff] [blame] | 220 | 2005-08-02 Ulrich Drepper <drepper@redhat.com> |
| 221 | |
Ulrich Drepper | 8a68774 | 2005-08-03 02:24:12 +0000 | [diff] [blame] | 222 | * objdump.c: New file. |
| 223 | * Makefile.am (bin_PROGRAMS): Add objdump. |
| 224 | (objdump_LDADD): Define. |
| 225 | |
Ulrich Drepper | c911c9e | 2005-08-02 16:07:42 +0000 | [diff] [blame] | 226 | * elflint.c (check_reloc_shdr): New function split out from check_rela |
| 227 | and check_rel. |
| 228 | (check_one_reloc): New function. Likewise. |
| 229 | (check_rela): Use check_reloc_shdr and check_one_reloc. |
| 230 | (check_rel): Likewise. |
Ulrich Drepper | 41de488 | 2005-08-03 00:02:56 +0000 | [diff] [blame] | 231 | (check_program_header): Check that PT_DYNAMIC entry matches .dynamic |
| 232 | section. |
| 233 | Add checks that relocations against read-only segments are flagged, |
| 234 | that the text relocation flag is not set unnecessarily, and that |
| 235 | relocations in one section are either against loaded or not-loaded |
| 236 | segments. |
Ulrich Drepper | c911c9e | 2005-08-02 16:07:42 +0000 | [diff] [blame] | 237 | |
Ulrich Drepper | 8533dcf | 2005-08-01 07:18:47 +0000 | [diff] [blame] | 238 | 2005-08-01 Ulrich Drepper <drepper@redhat.com> |
| 239 | |
| 240 | * elfcmp.c (main): Ignore section count and section name string table |
| 241 | section index. |
| 242 | |
Roland McGrath | f9ece8a | 2005-07-28 07:03:04 +0000 | [diff] [blame] | 243 | 2005-07-27 Roland McGrath <roland@redhat.com> |
| 244 | |
| 245 | * elfcmp.c: Include <locale.h>. |
| 246 | |
Ulrich Drepper | 7d48d6a | 2005-07-27 10:13:23 +0000 | [diff] [blame] | 247 | 2005-07-27 Ulrich Drepper <drepper@redhat.com> |
| 248 | |
| 249 | * elfcmp.c: Print name and index of differing section. |
| 250 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 251 | 2005-07-24 Ulrich Drepper <drepper@redhat.com> |
| 252 | |
| 253 | * elfcmp.c: Implement comparing gaps between sections. |
| 254 | |
| 255 | 2005-07-23 Ulrich Drepper <drepper@redhat.com> |
| 256 | |
| 257 | * elflint.c: Include libeblP.h instead of libebl.h. |
| 258 | * nm.c: Likewise. |
| 259 | * readelf.c: Likewise. |
| 260 | * elfcmp.c: Likewise. |
| 261 | |
| 262 | * elfcmp.c (main): Compare individual ELF header fields, excluding |
| 263 | e_shoff instead of the whole struct at once. |
| 264 | Use ebl_section_strip_p instead of SECTION_STRIP_P. |
| 265 | * strip.c: Use ebl_section_strip_p instead of SECTION_STRIP_P. |
| 266 | |
| 267 | 2005-07-22 Ulrich Drepper <drepper@redhat.com> |
| 268 | |
| 269 | * elfcmp.c (main): Take empty section into account when comparing |
| 270 | section content. |
| 271 | |
| 272 | * elflint.c (check_dynamic): Check that d_tag value is >= 0 before |
| 273 | using it. |
| 274 | |
| 275 | 2005-07-21 Ulrich Drepper <drepper@redhat.com> |
| 276 | |
| 277 | * elfcmp.c: New file. |
| 278 | * Makefile.am (bin_PROGRAMS): Add elfcmp. |
| 279 | (elfcmp_LDADD): Define. |
| 280 | |
| 281 | * elflint.c (check_rela): Check that copy relocations only reference |
| 282 | object symbols or symbols with unknown type. |
| 283 | (check_rel): Likewise. |
| 284 | |
| 285 | 2005-06-08 Roland McGrath <roland@redhat.com> |
| 286 | |
| 287 | * readelf.c (print_ops): Add consts. |
| 288 | |
| 289 | 2005-05-31 Roland McGrath <roland@redhat.com> |
| 290 | |
| 291 | * readelf.c (print_debug_abbrev_section): Don't bail after first CU's |
| 292 | abbreviations. Print a header line before each CU section. |
| 293 | |
| 294 | * readelf.c (print_debug_loc_section): Fix indentation for larger |
| 295 | address size. |
| 296 | |
| 297 | 2005-05-30 Roland McGrath <roland@redhat.com> |
| 298 | |
| 299 | * readelf.c (print_debug_line_section): Print section offset of each |
| 300 | CU's table, so they are easy to find from seeing the stmt_list value. |
| 301 | |
| 302 | * readelf.c (dwarf_attr_string): Add all attributes in <dwarf.h>. |
| 303 | (attr_callback): Grok DW_AT_ranges and print offset in hex. |
| 304 | |
| 305 | * readelf.c (attr_callback): Add 2 to addrsize * 2 for %#0* format. |
| 306 | (print_debug_ranges_section, print_debug_loc_section): Likewise. |
| 307 | |
| 308 | * readelf.c (print_ops): Take different args for indentation control. |
| 309 | (attr_callback): Caller updated. |
| 310 | Grok several more block-form attributes as being location expressions. |
| 311 | For those same attributes with udata forms, format output differently |
| 312 | for location list offset. |
| 313 | (print_debug_loc_section): Implement it for real. |
| 314 | |
| 315 | * readelf.c (options): Mention ranges for --debug-dump. |
| 316 | (enum section_e): Add section_ranges. |
| 317 | (parse_opt): Grok "ranges" for -w/--debug-dump. |
| 318 | (print_debug_ranges_section): New function. |
| 319 | (print_debug): Handle .debug_ranges section. |
| 320 | |
| 321 | 2005-05-30 Ulrich Drepper <drepper@redhat.com> |
| 322 | |
| 323 | * readelf.c (handle_notes): At least x86-64 need not have the note |
| 324 | section values aligned to 8 bytes. |
| 325 | |
| 326 | 2005-05-18 Ulrich Drepper <drepper@redhat.com> |
| 327 | |
| 328 | * readelf.c (dwarf_tag_string): Add new tags. |
| 329 | |
| 330 | 2005-05-08 Roland McGrath <roland@redhat.com> |
| 331 | |
| 332 | * strip.c (handle_elf): Don't translate hash and versym data formats, |
| 333 | elf_getdata already did it for us. |
| 334 | |
| 335 | 2005-05-07 Ulrich Drepper <drepper@redhat.com> |
| 336 | |
| 337 | * Makefile.am (findtextrel_LDADD): Add $(libmudflap). |
| 338 | (addr2line_LDADD): Likewise. |
| 339 | |
| 340 | 2005-05-03 Roland McGrath <roland@redhat.com> |
| 341 | |
| 342 | * strip.c (handle_elf): Apply symbol table fixups to discarded |
| 343 | relocation sections when they are being saved in the debug file. |
| 344 | |
| 345 | * strip.c (handle_elf): Pass EHDR->e_ident[EI_DATA] to gelf_xlatetom |
| 346 | and gelf_xlatetof, not the native byte order. |
| 347 | |
| 348 | * strip.c (parse_opt): Give error if -f or -o is repeated. |
| 349 | (main): Exit if argp_parse returns nonzero. |
| 350 | |
| 351 | * strip.c (debug_fname_embed): New variable. |
| 352 | (options, parse_opt): New option -F to set it. |
| 353 | |
| 354 | 2005-05-07 Ulrich Drepper <drepper@redhat.com> |
| 355 | |
| 356 | * readelf.c (parse_opt): Make any_control_option variable |
| 357 | local. Simplify some tests. |
| 358 | |
| 359 | 2005-05-03 Roland McGrath <roland@redhat.com> |
| 360 | |
| 361 | * strip.c (crc32_file): Function removed (now in ../lib). |
| 362 | |
| 363 | 2005-05-03 Roland McGrath <roland@redhat.com> |
| 364 | |
| 365 | * elflint.c (is_debuginfo): New variable. |
| 366 | (options, parse_opt): New option --debuginfo/-d to set it. |
| 367 | (check_sections): If is_debuginfo, don't complain about SHT_NOBITS. |
| 368 | (check_note): If is_debuginfo, don't try to get note contents. |
| 369 | |
| 370 | 2005-04-24 Ulrich Drepper <drepper@redhat.com> |
| 371 | |
| 372 | * readelf.c (print_debug_abbrev_section): Don't print error when end of |
| 373 | section reached. |
| 374 | |
| 375 | 2005-04-14 Ulrich Drepper <drepper@redhat.com> |
| 376 | |
| 377 | * readelf.c (dwarf_encoding_string): New function. |
| 378 | (dwarf_inline_string): New function. |
| 379 | (dwarf_access_string): New function. |
| 380 | (dwarf_visibility_string): New function. |
| 381 | (dwarf_virtuality_string): New function. |
| 382 | (dwarf_identifier_case_string): New function. |
| 383 | (dwarf_calling_convention_string): New function. |
| 384 | (dwarf_ordering_string): New function. |
| 385 | (dwarf_discr_list_string): New function. |
| 386 | (attr_callback): Decode man more attribute values. |
| 387 | |
| 388 | 2005-04-01 Ulrich Drepper <drepper@redhat.com> |
| 389 | |
| 390 | * addr2line.c: Finish implementation of -f option. |
| 391 | |
| 392 | 2005-03-29 Ulrich Drepper <drepper@redhat.com> |
| 393 | |
| 394 | * addr2line.c: New file. |
| 395 | * Makefile.am (bin_PROGRAMS): Add addr2line. |
| 396 | Define addr2line_LDADD. |
| 397 | |
| 398 | * findtextrel.c: Use new dwarf_addrdie function. |
| 399 | |
| 400 | * findtextrel.c: Fix usage message and re-add accidentally removed |
| 401 | line. |
| 402 | |
| 403 | 2005-03-28 Ulrich Drepper <drepper@redhat.com> |
| 404 | |
| 405 | * findtextrel.c: New file. |
| 406 | * Makefile: Add rules to build findtextrel. |
| 407 | |
| 408 | 2005-02-15 Ulrich Drepper <drepper@redhat.com> |
| 409 | |
| 410 | * ldlex.l: Provide ECHO definition to avoid warning. |
| 411 | |
| 412 | * elflint.c (check_program_header): Fix typo in RELRO test. |
| 413 | |
| 414 | * Makefile.am (AM_CFLAGS): Add more warning options. |
| 415 | * elflint.c: Fix warnings introduced by the new warning options. |
| 416 | * i386_ld.c: Likewise. |
| 417 | * ld.c: Likewise. |
| 418 | * ld.h: Likewise. |
| 419 | * ldgeneric.c: Likewise. |
| 420 | * nm.c: Likewise. |
| 421 | * readelf.c: Likewise. |
| 422 | * sectionhash.c: Likewise. |
| 423 | * size.c: Likewise. |
| 424 | * string.c: Likewise. |
| 425 | |
| 426 | 2005-02-05 Ulrich Drepper <drepper@redhat.com> |
| 427 | |
| 428 | * Makefile.am: Check for text relocations in constructed DSOs. |
| 429 | |
| 430 | * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all apps |
| 431 | with -lmudflap. |
| 432 | |
| 433 | * ldscript.y: Add as_needed handling. |
| 434 | * ldlex.l: Recognize AS_NEEDED token. |
| 435 | * ld.h (struct filename_list): Add as_needed flag. |
| 436 | |
| 437 | 2005-02-04 Ulrich Drepper <drepper@redhat.com> |
| 438 | |
| 439 | * elflint.c (check_symtab): Correctly determine size of GOT section. |
| 440 | |
| 441 | 2005-01-19 Ulrich Drepper <drepper@redhat.com> |
| 442 | |
| 443 | * ld.c: Remove unnecessary more_help function. Print bug report |
| 444 | address using argp. |
| 445 | * strip.c: Likewise. |
| 446 | * size.c: Likewise. |
| 447 | * nm.c: Likewise. |
| 448 | * readelf.c: Likewise. |
| 449 | * elflint.c: Likewise. |
| 450 | |
| 451 | * elflint.c (main): Don't check for parameter problems here. |
| 452 | (parse_opt): Do it here, where we get informed about some of them |
| 453 | anyway. |
| 454 | |
| 455 | * readelf.c (main): Don't check for parameter problems here. |
| 456 | (parse_opt): Do it here, where we get informed about some of them |
| 457 | anyway. |
| 458 | |
| 459 | 2005-01-11 Ulrich Drepper <drepper@redhat.com> |
| 460 | |
| 461 | * strip.c: Update copyright year. |
| 462 | * readelf.c: Likewise. |
| 463 | * size.c: Likewise. |
| 464 | * nm.c: Likewise. |
| 465 | * ld.c: Likewise. |
| 466 | * elflint.c: Likewise. |
| 467 | |
| 468 | * elflint.c (check_symtab): Don't warn about wrong size for |
| 469 | _DYNAMIC and __GLOBAL_OFFSET_TABLE__ for --gnu-ld. |
| 470 | |
| 471 | 2004-10-05 Ulrich Drepper <drepper@redhat.com> |
| 472 | |
| 473 | * readelf.c (print_phdr): In section mapping, also indicate |
| 474 | sections in read-only segments. |
| 475 | |
| 476 | 2004-09-25 Ulrich Drepper <drepper@redhat.com> |
| 477 | |
| 478 | * readelf.c: Make compile with gcc 4.0. |
| 479 | * strip.c: Likewise. |
| 480 | |
| 481 | 2004-08-16 Ulrich Drepper <drepper@redhat.com> |
| 482 | |
| 483 | * strip.c (handle_elf): Rewrite dynamic memory handling to use of |
| 484 | allocate to work around gcc 3.4 bug. |
| 485 | |
| 486 | 2004-01-25 Ulrich Drepper <drepper@redhat.com> |
| 487 | |
| 488 | * ldlex.l (invalid_char): Better error message. |
| 489 | |
| 490 | 2004-01-23 Ulrich Drepper <drepper@redhat.com> |
| 491 | |
| 492 | * readelf.c: Print SHT_GNU_LIBLIST sections. |
| 493 | |
| 494 | * none_ld.c: New file. |
| 495 | |
| 496 | 2004-01-21 Ulrich Drepper <drepper@redhat.com> |
| 497 | |
| 498 | * Makefile.am: Enable building of machine specific linker. |
| 499 | |
| 500 | 2004-01-20 Ulrich Drepper <drepper@redhat.com> |
| 501 | |
| 502 | * Makefile.am: Support building with mudflap. |
| 503 | |
| 504 | * i386_ld.c: Fix warnings gcc 3.4 spits out. |
| 505 | * ldgeneric.c: Likewise. |
| 506 | * ldscript.y: Likewise. |
| 507 | * readelf.c: Likewise. |
| 508 | * strip.c: Likewise. |
| 509 | |
| 510 | * readelf.c (print_debug_line_section): Determine address size |
| 511 | correctly. |
| 512 | |
| 513 | 2004-01-19 Ulrich Drepper <drepper@redhat.com> |
| 514 | |
| 515 | * readelf.c (print_phdr): Show which sections are covered by the |
| 516 | PT_GNU_RELRO entry. |
| 517 | |
| 518 | * elflint.c (check_program_header): Check PT_GNU_RELRO entry. |
| 519 | |
| 520 | * readelf.c (print_debug_macinfo_section): Implement. |
| 521 | |
| 522 | 2004-01-18 Ulrich Drepper <drepper@redhat.com> |
| 523 | |
| 524 | * readelf.c (print_debug_line_section): Implement. |
| 525 | |
| 526 | 2004-01-17 Ulrich Drepper <drepper@redhat.com> |
| 527 | |
| 528 | * src/elflint.c: Use PACKAGE_NAME instead of PACKAGE. |
| 529 | * src/ld.c: Likewise. |
| 530 | * src/nm.c: Likewise. |
| 531 | * src/readelf.c: Likewise. |
| 532 | * src/size.c: Likewise. |
| 533 | * src/strip.c: Likewise. |
| 534 | |
| 535 | * strip.c: Add a few more unlikely. Reduce scope of some variables. |
| 536 | |
| 537 | * Makefile.am: Support building with mudflap. |
| 538 | |
| 539 | 2004-01-16 Ulrich Drepper <drepper@redhat.com> |
| 540 | |
| 541 | * readelf.c (print_debug_info_section): Free dies memory. |
| 542 | |
| 543 | * readelf.c: Print .debug_info section content. |
| 544 | |
| 545 | 2004-01-13 Ulrich Drepper <drepper@redhat.com> |
| 546 | |
| 547 | * readelf.c (print_shdr): Add support for SHF_ORDERED and SHF_EXCLUDE. |
| 548 | |
| 549 | 2004-01-12 Ulrich Drepper <drepper@redhat.com> |
| 550 | |
| 551 | * readelf.c (print_debug_aranges): Implement using libdw. |
| 552 | |
| 553 | 2004-01-11 Ulrich Drepper <drepper@redhat.com> |
| 554 | |
| 555 | * nm.c: Adjust for Dwarf_Files type and dwarf_lineno interface change. |
| 556 | |
| 557 | * readelf.c: Use libdw instead of libdwarf. Not all of the old |
| 558 | behavior is available yet. |
| 559 | * Makefile.am: Link readelf with libdw. Remove libdwarf include path. |
| 560 | |
| 561 | 2004-01-09 Ulrich Drepper <drepper@redhat.com> |
| 562 | |
| 563 | * nm.c (get_local_names): Adjust call to dwarf_nextcu. |
| 564 | |
| 565 | * nm.c: Implement getting information about local variables. |
| 566 | |
| 567 | 2004-01-07 Ulrich Drepper <drepper@redhat.com> |
| 568 | |
| 569 | * nm.c: Read also debug information for local symbols. |
| 570 | |
| 571 | 2004-01-05 Ulrich Drepper <drepper@redhat.com> |
| 572 | |
| 573 | * nm.c: Shuffle dwarf handling code around so the maximum column |
| 574 | width can be computed ahead of printing. Avoid collection symbols |
| 575 | which are not printed anyway. |
| 576 | |
| 577 | * nm.c: Rewrite dwarf handling to use libdw. |
| 578 | * Makefile.am (AM_CFLAGS): Add -std parameter. |
| 579 | (INCLUDES): Find header in libdw subdir. |
| 580 | (nm_LDADD): Replace libdwarf with libdw. |
| 581 | |
| 582 | * elflint.c: Update copyright year. |
| 583 | * readelf.c: Likewise. |
| 584 | * size.c: Likewise. |
| 585 | * strip.c: Likewise. |
| 586 | * nm.c: Likewise. |
| 587 | |
| 588 | 2003-12-31 Ulrich Drepper <drepper@redhat.com> |
| 589 | |
| 590 | * strip.c (process_file): Close file before returning. |
| 591 | |
| 592 | 2003-11-19 Ulrich Drepper <drepper@redhat.com> |
| 593 | |
| 594 | * readelf.c (handle_dynamic): Make column for tag name wider. |
| 595 | |
| 596 | 2003-09-29 Ulrich Drepper <drepper@redhat.com> |
| 597 | |
| 598 | * readelf.c (handle_dynamic): Always terminate tag name with a space. |
| 599 | |
| 600 | 2003-09-25 Ulrich Drepper <drepper@redhat.com> |
| 601 | |
| 602 | * strip.c (process_file): Don't mmap the input file, we modify the |
| 603 | data structures and don't want the change end up on disk. |
| 604 | |
| 605 | 2003-09-23 Jakub Jelinek <jakub@redhat.com> |
| 606 | |
| 607 | * unaligned.h (union u_2ubyte_unaligned, |
| 608 | union u_4ubyte_unaligned, union u_8ubyte_unaligned): Add |
| 609 | packed attribute. |
| 610 | (add_2ubyte_unaligned, add_4ubyte_unaligned, |
| 611 | add_8ubyte_unaligned): Avoid nesting bswap_NN macros. |
| 612 | Read/store value through _ptr->u instead of *_ptr. |
| 613 | |
| 614 | 2003-09-22 Ulrich Drepper <drepper@redhat.com> |
| 615 | |
| 616 | * size.c (show_sysv): Change type of maxlen to int. |
| 617 | |
| 618 | * strip.c (handle_elf): Handle the 64-bit archs which is 64-bit |
| 619 | buckets. |
| 620 | |
| 621 | * i386_ld.c: Many many fixes and extensions. |
| 622 | * ld.c: Likewise. |
| 623 | * ldgeneric.c: Likewise. |
| 624 | |
| 625 | 2003-08-16 Ulrich Drepper <drepper@redhat.com> |
| 626 | |
| 627 | * ldgeneric.c (check_definition): Don't add symbol on dso_list if |
| 628 | the reference is from another DSO. |
| 629 | |
| 630 | 2003-08-15 Ulrich Drepper <drepper@redhat.com> |
| 631 | |
| 632 | * ldgeneric.c (find_entry_point): It is no fatal error if no entry |
| 633 | point is found when creating a DSO. |
| 634 | |
| 635 | 2003-08-14 Ulrich Drepper <drepper@redhat.com> |
| 636 | |
| 637 | * ld.c (main): Always call FLAG_UNRESOLVED. |
| 638 | * ldgeneric.c (ld_generic_flag_unresolved): Only complain about |
| 639 | undefined symbols if not creating DSO or ld_state.nodefs is not set. |
| 640 | |
| 641 | 2003-08-13 Ulrich Drepper <drepper@redhat.com> |
| 642 | |
| 643 | * Makefile.in: Depend on libebl.a, not libebl.so. |
| 644 | |
| 645 | * ld.c (main): Mark stream for linker script as locked by caller. |
| 646 | (read_version_script): Likewise. |
| 647 | * ldlex.c: Define fread and fwrite to _unlocked variant. |
| 648 | |
| 649 | * i386_ld.c (elf_i386_finalize_plt): Replace #ifdefs with uses of |
| 650 | target_bswap_32. |
| 651 | * unaligned.h: Define target_bswap_16, target_bswap_32, and |
| 652 | target_bswap_64. |
| 653 | (store_2ubyte_unaligned, store_4ubyte_unaligned, |
| 654 | store_8ubyte_unaligned): Define using new macros. |
| 655 | |
| 656 | 2003-08-12 Ulrich Drepper <drepper@redhat.com> |
| 657 | |
| 658 | * i386_ld.c (elf_i386_finalize_plt): Use packed structs to access |
| 659 | possibly unaligned memory. Support use of big endian machines. |
| 660 | |
| 661 | 2003-08-11 Ulrich Drepper <drepper@redhat.com> |
| 662 | |
| 663 | * Moved to CVS archive. |