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