aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-28 * config.sub, config.guess: Import latest from subversions.Hans-Peter Nilsson3-63/+61
2001-09-28 * section.c (SEC_ARCH_BIT_0): New; replace unused SEC_BALIGN.Richard Henderson3-6/+15
* bfd-in2.h: Rebuild.
2001-09-28 * tuiLayout.h (tui_set_layout): Don't declare.Tom Tromey3-3/+8
* tui.h (tui_vAddWinToLayout): Don't declare. (tui_vSetLayoutTo): Likewise. (tui_set_layout): Declare.
2001-09-28 * elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfdAlan Modra2-2/+4
reloc code using x86_64_reloc_map.
2001-09-28 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2Corinna Vinschen2-1/+6
check to allow additional `int'.
2001-09-28 * elf32-hppa.c (elf32_hppa_check_relocs): Update comment since weAlan Modra2-89/+98
no longer allocate here. Localise some vars to blocks where they are used. (elf32_hppa_adjust_dynamic_symbol): Correct a comment. Delay setting of vars until needed. (allocate_dynrelocs): Don't create a .plt entry without a reloc when symbol visibilty makes a function local. (elf32_hppa_finish_dynamic_symbol): Move expressions out of swap_reloca_out function calls. (elf32_hppa_relocate_section): Likewies. Comment typo fix. (elf32_hppa_finish_dynamic_sections): Migrate common code out of switch statement.
2001-09-28*** empty log message ***gdbadmin1-1/+1
2001-09-272001-09-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+37
Changes by Daniel Berlin <dan@cgsoftware.com>, to support better parsing of const and volatile type expressions. * c-exp.y (const_and_volatile, const_or_volatile_noopt, const_or_volatile): New non-terminals. (ptype): Use new rule for const_or_volatile. (typebase): Use new rule for const_or_volatile_noopt. * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile. * parse.c (follow_types): Handle tp_const and tp_volatile on the type stack: call make_cv_type to create new const/volatile type.
2001-09-27 * gdb.base/completion.exp: Remove incorrect 'p "a' test.Daniel Jacobowitz2-9/+57
Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2001-09-272001-09-27 Michael Snyder <msnyder@redhat.com>Michael Snyder4-103/+153
* lib/gdb.exp (test_debug_format): New proc. (setup_xfail_format): Use new proc test_debug_format. * gdb.base/constvars.exp (local_compiler_xfail_check): New proc; use new service proc test_debug_format. Replace all other "gcc_compiled" tests with this test. * gdb.base/volatile.exp (local_compiler_xfail_check): New proc; use new service proc test_debug_format. Replace all other "gcc_compiled" tests with this test.
2001-09-272001-09-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2-18/+27
Changes by Daniel Berlin <dan@cgsoftware.com>, to support better parsing of const and volatile type expressions. * c-exp.y (const_and_volatile, const_or_volatile_noopt, const_or_volatile): New non-terminals. (ptype): Use new rule for const_or_volatile. (typebase): Use new rule for const_or_volatile_noopt. * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile. * parse.c (follow_types): Handle tp_const and tp_volatile on the type stack: call make_cv_type to create new const/volatile type.
2001-09-272001-09-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+8
* c-exp.y (typebase): Accept (signed long long) as a type expr.
2001-09-27merge from gccDJ Delorie15-67/+102
2001-09-27 * elf32-i386.c (elf_i386_check_relocs): Update comment since weAlan Modra2-119/+96
no longer allocate here. Localise some vars to blocks where they are used. Remove separate switch stmt for creating .got sec. (elf_i386_adjust_dynamic_symbol): Correct a comment. Remove redundant casts and aborts. Delay setting of vars until needed. (allocate_dynrelocs): Remove redundant casts and aborts. (elf_i386_size_dynamic_sections): Move comment. (elf_i386_finish_dynamic_symbol): Move expressions out of function calls. (elf_i386_relocate_section): Likewise. Comment typo fix. (elf_i386_finish_dynamic_sections): Migrate common code out of switch statement. (elf_backend_* defines): Sort.
2001-09-27 * elf32-i386.c (allocate_dynrelocs): Don't create a .plt entryAlan Modra2-29/+39
without a reloc when symbol visibilty makes a function local.
2001-09-27Revert most of previous delta. Do not call bfd_archive_filename on outputNick Clifton2-9/+8
bfd, nor twice in one expression.
2001-09-27Document changes in infttrace.c (for HPUX 11.00).Joel Brobecker1-0/+8
2001-09-27kill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOPJoel Brobecker1-11/+2
request to kill the inferior and its child processes. Otherwise, the inferior is not killed on HPUX 11.0. Removed the code that detaches the child processes since we just killed them.
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