aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-25 * readelf.c (do_wide): New.Jakub Jelinek4-2/+128
(options): Add --wide. (usage, parse_args): Likewise. (process_program_headers): Put each segment on a single line if --wide is given. (process_section_headers): Put each section on a single line if --wide is given. * doc/binutils.texi: Document it. * NEWS: Likewise.
2001-09-252001-09-25 H.J. Lu <hjl@gnu.org>H.J. Lu2-10/+14
* bfd-in2.h: Regenerated.
2001-09-25 * readelf.c (print_vma): Print 8 digits of low hex value.Alan Modra2-1/+5
2001-09-25 * listing.c (buffer_line): Don't write past the end of `line' whenAlan Modra2-3/+11
EOF is reached.
2001-09-25fix of my email addressJiri Smid1-1/+1
2001-09-25* x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.Jiri Smid2-2/+10
(x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)' by LINUX_SIGINFO_SIZE.
2001-09-25 * elf32-i386.c: Add comment re linker function names and ordering.Alan Modra2-132/+153
(elf_i386_link_hash_newfunc): Rename to link_hash_newfunc. (elf_i386_grok_prstatus): Move before linker functions. (elf_i386_grok_psinfo): Likewise. (elf_i386_fake_sections): Move so that functions are ordered. (elf_i386_reloc_type_class): Likewise. Comment function purpose.
2001-09-25* config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*Alexandre Oliva2-4/+40
relocation for differences between symbols in a section other than the one in which the difference is to be placed; apply the relocation instead.
2001-09-25 * elf32-hppa.c: Rename all occurrences of "hplink" to "htab"Alan Modra2-211/+208
throughout file.
2001-09-25 * elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete. Remove allAlan Modra2-361/+292
code handling this option. (LONG_BRANCH_VIA_PLT): Likewise. (RELATIVE_DYNRELOCS): Define as zero. (struct elf32_hppa_dyn_reloc_entry): Add "sec", and "pc_count" fields. Remove "section" field. (elf32_hppa_link_hash_entry): Rename reloc_entries to dyn_relocs. (elf32_hppa_check_relocs): Don't allocate space for dynamic relocs here. Instead, record all needed dynamic relocs via dyn_relocs and local_dynrel. Cache pointer to "sreloc" section in elf_section_data. (elf32_hppa_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. (allocate_plt_and_got_and_discard_relocs): Rename to allocate_dynrelocs. Allocate rather than discarding dyn relocs. (readonly_dynrelocs): New function. (elf32_hppa_size_dynamic_sections): Mark output_bfd unused. Call readonly_dynrelocs to determine need for DT_TEXTREL. Rename "i" to "ibfd". Allocate space for local dyn relocs. (elf32_hppa_relocate_section): Make use of cached sreloc. (elf32_hppa_reloc_type_class): New function. (elf_backend_reloc_type_class): Define.
2001-09-25 * elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"Alan Modra3-117/+224
and "sreloc" fields. * elf32-i386.c (struct elf_i386_dyn_relocs): Add "sec", and "pc_count" fields. Remove "section" field. (elf_i386_check_relocs): Don't set DF_TEXTREL here. Don't allocate space for dynamic relocs here. Instead, record all needed dynamic relocs via dyn_relocs and local_dynrel. Cache pointer to "sreloc" section in elf_section_data. (elf_i386_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. (allocate_plt_and_got_and_discard_relocs): Rename to allocate_dynrelocs. Allocate rather than discarding dyn relocs. (readonly_dynrelocs): New function. (elf_i386_size_dynamic_sections): Call readonly_dynrelocs. Rename "i" to "ibfd". Allocate space for local dyn relocs. (elf_i386_relocate_section): Make use of cached sreloc.
2001-09-25* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): NewAndrew Cagney4-1/+78
variables. (maintenance_set_profile_cmd): New function. (maintenance_show_cmd, maintenance_set_cmd): New functions. (_initialize_maint_cmds): Add "maintenance set" and "maintenance show" and, commented out, "maintenance set/show profile" commands.
2001-09-25*** empty log message ***gdbadmin1-1/+1
2001-09-24merge from gccDJ Delorie4-0/+42
2001-09-24Fix thinkoNick Clifton2-5/+5
2001-09-24Remove spurious prototype.Nick Clifton2-4/+4
2001-09-24* findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARGAndrew Cagney2-18/+30
convert the pointer into a CORE_ADDRs.
2001-09-24oops - frag omitted from previous patch applicationNick Clifton1-0/+8
2001-09-24oops - omitted from previous deltaNick Clifton2-20/+10
2001-09-24* doublest.h (store_floating, extract_floating): Add commentAndrew Cagney6-10/+64
indicating these functions are deprecated. (extract_typed_floating, store_typed_floating): Declare. * doublest.c: Include "gdbtypes.h". (extract_typed_floating, store_typed_floating): Define. * stabsread.c (define_symbol): Use store_typed_floating. * valarith.c (value_binop): Ditto. * values.c (unpack_long): Use extract_typed_floating. (unpack_double): Ditto.
2001-09-24improve documenation about auto-importNick Clifton2-3/+20
2001-09-24Define and use pe_get_data_import_dll_name().Nick Clifton3-5/+33
2001-09-24fix compile time warning messagesNick Clifton3-5/+13
2001-09-242001-09-24 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-1/+6
* cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1 from correct register.
2001-09-24 * nlmconv.c: Fix warnings about unused attributes and functionAndreas Jaeger3-10/+19
prototypes. * strings.c: Add prototype for get_char.
2001-09-24 * elf-bfd.h (elf_backend_reloc_type_class): Pass in the entireAlan Modra17-86/+115
reloc rather than just the type. (_bfd_elf_reloc_type_class): Likewise. * elf.c (_bfd_elf_reloc_type_class): Likewise. * elf32-arm.h (elf32_arm_reloc_type_class): Likewise. * elf32-cris.c (elf_cris_reloc_type_class): Likewise. * elf32-i386.c (elf_i386_reloc_type_class): Likewise. * elf32-m68k.c (elf32_m68k_reloc_type_class): Likewise. * elf32-ppc.c (ppc_elf_reloc_type_class): Likewise. * elf32-s390.c (elf_s390_reloc_type_class): Likewise. * elf32-sh.c (sh_elf_reloc_type_class): Likewise. * elf32-sparc.c (elf32_sparc_reloc_type_class): Likewise. * elf64-alpha.c (elf64_alpha_reloc_type_class): Likewise. * elf64-s390.c (elf_s390_reloc_type_class): Likewise. * elf64-sparc.c (sparc64_elf_reloc_type_class): Likewise. * elf64-x86-64.c (elf64_x86_64_reloc_type_class): Likewise. * elfxx-ia64.c (elfNN_ia64_reloc_type_class): Likewise. * elflink.h: Formatting fixes. (elf_link_sort_relocs): Make "count" and "size" bfd_size_type. Call bfd_zmalloc rather than calloc. Remove unnecessary cast of o->contents to PTR. Update call to elf_backend_reloc_type_class.
2001-09-24*** empty log message ***gdbadmin1-1/+1
2001-09-23*** empty log message ***gdbadmin1-1/+1
2001-09-22Fix compile time warningsNick Clifton3-1/+8
2001-09-22 * elfcode.h (elf_object_p): Allow for no section header at all inAlan Modra2-22/+34
non-ET_REL files. Honor 0 for e_shnum, e_shstrndx, e_shoff.
2001-09-22*** empty log message ***gdbadmin1-1/+1
2001-09-21* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.Mark Kettenis2-3/+4
2001-09-21Fix compile time warningsNick Clifton11-20/+54
2001-09-21 * arc-dis.c: Don't include <ctype.h>.Alan Modra4-3/+6
* openrisc-desc.c: Likewise. * openrisc-ibld.c: Likewise.
2001-09-21 * config/tc-openrisc.c: Don't include <ctype.h>.Alan Modra2-1/+4
2001-09-21* config/i386/x86-64linux.mh: New file.Jiri Smid1-0/+17
* config/i386/x86-64linux.mt: New file. * config/i386/nm-x86_64.h: New file. * x86-64-linux-tdep.c: New file. * x86-64-linux-nat.c: New file. * x86-64-tdep.c: New file. * x86-64-tdep.h: New file. * i386-tdep.h: New file. * i387-nat.c: Include i386-tdep.h when multiarch. * i387-tdep.c: Ditto. * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c and x86_64-linux-nat.c * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o, x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-21* config/i386/x86-64linux.mh: New file.Jiri Smid9-1/+1886
* config/i386/x86-64linux.mt: New file. * config/i386/nm-x86_64.h: New file. * x86-64-linux-tdep.c: New file. * x86-64-linux-nat.c: New file. * x86-64-tdep.c: New file. * x86-64-tdep.h: New file. * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c and x86_64-linux-nat.c * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o, x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-21* i386-tdep.h: New file.Jiri Smid3-0/+80
* i387-nat.c: Include i386-tdep.h when multiarch. * i387-tdep.c: Ditto.
2001-09-21* MAINTAINERS: Add myself to the write-after-approval list.Jiri Smid1-0/+9
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare. (i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint, i386_insert_watchpoint, i386_remove_watchpoint): Add support for 8-byte wide watchpoints. (i386_show_dr): Debug message format string change.
2001-09-21* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.Jiri Smid1-17/+34
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint, i386_insert_watchpoint, i386_remove_watchpoint): Add support for 8-byte wide watchpoints. (i386_show_dr): Debug message format string change.
2001-09-21* MAINTAINERS: Add myself to the write-after-approval list.Jiri Smid1-0/+1
2001-09-21fix compile time warning messagesNick Clifton2-1/+5
2001-09-21* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,Alexandre Oliva2-14/+25
DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to avoid quotes nesting problems. (NATIVE_CHECK_MODULES): Ditto, just for consistency. (DO_X): Export only variables that are set.
2001-09-21 * Makefile.am: Run "make dep-am".Alan Modra8-601/+675
* Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * aoutx.h: Formatting fixes. * merge.c (_bfd_merged_section_offset): Break line at 80 chars. * linker.c: Replace bfd_get_filename with bfd_archive_filename in error message.
2001-09-21*** empty log message ***gdbadmin1-1/+1
2001-09-20 * bfd.c (bfd_archive_filename): New function.Alan Modra50-387/+463
* bfd-in2.h: Regenerate. * aout-adobe.c: Replace bfd_get_filename with bfd_archive_filename in error messages where the bfd is an input bfd. * aout-cris.c: Likewise. * coff-arm.c: Likewise. * coff-mcore.c: Likewise. * coff-ppc.c: Likewise. * coff-rs6000.c: Likewise. * coff-sh.c: Likewise. * coff-tic54x.c: Likewise. * coff-tic80.c: Likewise. * coff64-rs6000.c: Likewise. * coffcode.h: Likewise. * coffgen.c: Likewise. * cofflink.c: Likewise. * ecofflink.c: Likewise. * elf-hppa.h: Likewise. * elf.c: Likewise. * elf32-arm.h: Likewise. * elf32-cris.c: Likewise. * elf32-gen.c: Likewise. * elf32-hppa.c: Likewise. * elf32-i370.c: Likewise. * elf32-i386.c: Likewise. * elf32-m32r.c: Likewise. * elf32-mcore.c: Likewise. * elf32-mips.c: Likewise. * elf32-ppc.c: Likewise. * elf32-s390.c: Likewise. * elf32-sh.c: Likewise. * elf32-sparc.c: Likewise. * elf32-v850.c: Likewise. * elf64-alpha.c: Likewise. * elf64-gen.c: Likewise. * elf64-ppc.c: Likewise. * elf64-s390.c: Likewise. * elf64-sparc.c: Likewise. * elf64-x86-64.c: Likewise. * elflink.h: Likewise. * elfxx-ia64.c: Likewise. * ieee.c: Likewise. * ihex.c: Likewise. * libbfd.c: Likewise. * pdp11.c: Likewise. * pe-mips.c: Likewise. * peicode.h: Likewise. * srec.c: Likewise. * xcofflink.c: Likewise. * elf32-arm.h: Make _bfd_error_handler calls K&R compatible. * elflink.c (_bfd_elf_create_linker_section): Better grammar for error message. * coff-mcore.c (coff_mcore_relocate_section): Internalionalise error message. * elf64-sparc.c (sparc64_elf_add_symbol_hook): Constify stt_types. Consolidate error messages, and split long messages to two lines.
2001-09-20Make set_solib_svr4_fetch_link_map_offsets() work as intended.Kevin Buettner2-2/+41
2001-09-20oops - forgot to check for clean 64 bit build - fix compile time warningNick Clifton1-2/+2
2001-09-20Fix compile time warningsNick Clifton23-1234/+1360
2001-09-20Add option -mwarn-areg-zero.Nick Clifton2-46/+61