aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-27Add missing function protoypes.Nick Clifton2-1/+8
2001-09-27Replace bfd_get_filename with bfd_archive_filename in error message.Nick Clifton2-32/+40
Fix detection of conflicting float flags.
2001-09-27Remove spurious commentNick Clifton2-2/+5
2001-09-27*** empty log message ***gdbadmin1-1/+1
2001-09-26Add framework for ``set/show serial ...''.Andrew Cagney2-0/+38
2001-09-26* CONTRIBUTE: Update.Andrew Cagney2-49/+23
2001-09-262001-09-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-11/+28
* input-file.c (input_file_open): When reading the first line looking for #NO_APP, prepare for the possibility of finding #APP instead. Also fix algorithm to allow white-space to follow either #NO_APP or #APP directives.
2001-09-26merge from gccDJ Delorie53-352/+3243
2001-09-26 * gdb.base/constvars.exp: Check for different orders of keywordsCorinna Vinschen2-22/+27
and additional "int" strings in output.
2001-09-26 * elf32-i386 (elf_i386_copy_indirect_symbol): New function.Alan Modra3-142/+233
(elf_backend_copy_indirect_symbol): Define. (struct elf_i386_link_hash_entry): Rename "root" to "elf". (struct elf_i386_link_hash_table): Likewise. (link_hash_newfunc): Get rid of unnecessary casts. (elf_i386_link_hash_table_create): Likewise. (elf_i386_check_relocs): Initialise local_got_refcounts to 0. Don't test input section SEC_READONLY here to try to avoid copy relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF. (elf_i386_adjust_dynamic_symbol): Check output section SEC_READONLY here to properly test whether we need copy relocs. Do so for weak syms too. * elf32-hppa (elf32_hppa_copy_indirect_symbol): New function. (elf_backend_copy_indirect_symbol): Define. (struct elf32_hppa_link_hash_table): Rename "root" to "elf". (stub_hash_newfunc): Get rid of unnecessary casts. (hppa_link_hash_newfunc): Likewise. (elf32_hppa_check_relocs): Initialise local_got_refcounts to 0. Don't test input section SEC_READONLY here to try to avoid copy relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF. (elf32_hppa_adjust_dynamic_symbol): Check output section SEC_READONLY here to properly test whether we need copy relocs. Do so for weak syms too.
2001-09-26Use gdbarch data mechanism instead of gdbarch swap mechanism to manageKevin Buettner3-61/+96
the fetching of architecture specific link map offsets.
2001-09-26 * ldmisc.c (USE_STDARG): Remove.Alan Modra3-86/+32
(info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. (einfo): Likewise. (minfo): Likewise. (lfinfo): Likewise. * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi declarations. Update copyright.
2001-09-26 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,Alan Modra4-99/+31
VA_CLOSE. (non_fatal): Likewise. * objdump.c (objdump_sprintf): Likewise. * readelf.c (error): Likewise. (warn): Likewise.
2001-09-26 * arc-dis.c: Formatting fixes.Alan Modra2-36/+52
(my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2001-09-26 * bfd.c (_bfd_default_error_handlerl): Define using VPARAMS,Alan Modra2-38/+11
VA_OPEN, VA_FIXEDARG, VA_CLOSE. (bfd_archive_filename): Cast bfd_malloc arg to the correct size.
2001-09-26*** empty log message ***gdbadmin1-1/+1
2001-09-25merge from gccDJ Delorie2-3/+6
2001-09-25 * elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slotJakub Jelinek2-2/+7
computation.
2001-09-252001-09-25 H.J. Lu <hjl@gnu.org>H.J. Lu6-8/+16
* ld-elfweak/dso.dsym: Updated for alpha. * ld-elfweak/dsodata.dsym: Likewise. * ld-elfweak/strong.sym: Likewise. * ld-elfweak/strongcomm.sym: Likewise. * ld-elfweak/strongdata.sym: Likewise.
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