aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-02-16Simplify code parsing integers and, in process fix a -Wuninitialized warning.Andrew Cagney2-16/+21
2001-02-152001-02-16 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+6
* MAINTAINERS: Add myself for common portions.
2001-02-15* profiling bug fixes.Ben Elliston2-2/+17
2001-02-09 Ben Elliston <bje@redhat.com> * (profile_print_pc): Write header out in target byte order. 2001-02-09 Ben Elliston <bje@redhat.com> * sim-profile.c (profile_pc_init): Correct bug in loop logic when adjusting the pc shift value.
2001-02-15Change "armelf" to armelf.H.J. Lu1-1/+1
2001-02-15Make thread messages more consistent in pass/fail cases.Andrew Cagney2-6/+19
2001-02-15Add code to preserve processor mode when a prefetchNick Clifton2-0/+14
abort is signalled after processing a breakpoint.
2001-02-152001-02-14 H.J. Lu <hjl@gnu.org>H.J. Lu6-17/+58
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 for -static on ia64. * ld-checks/checks.exp: Don't run on ia64-*-elf* nor ia64-*-linux*. * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*. * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*. Set up expected failures for ia64-*-linux*. * ld-shared/shared.exp: Likewise.
2001-02-15* MAINTAINERS: Add myself to paper trail section.Jim Kingdon2-3/+8
2001-02-14Reset processor into ARM mode for any machine type except the early ARMs.Nick Clifton2-12/+20
2001-02-14Fix DV bug reported by Intel against the setf instruction.Jim Wilson3-4/+9
* ia64-ic.tbl: Update from Intel. Add setf to fr-writers. * ia64-asmtab.c: Regenerate.
2001-02-14fixes for elf_find_nearest_lineNick Clifton2-39/+82
2001-02-142001-02-11 Michael Chastain <chastain@redhat.com>Michael Chastain3-161/+428
* gdb.c++/cplusfuncs.cc (dm_type_char_star): New function. Helps the test script figure out which demangler is in use. (dm_type_foo_ref): Ditto. (dm_type_int_star): Ditto. (dm_type_long_star): Ditto. (dm_type_unsigned_int): Ditto. (dm_type_void): Ditto. (dm_type_void_star): Ditto. * gdb.base/cplusfuncs.exp (probe_demangler): New function. Probe the gdb demangler and set variables to accommodate formatting differences. (info_func_regexp): New function. Same as info_func, but matches against a regexp. (info_func): Match against a literal string. (print_addr_2): New function. Match against a literal string, which can be different from the input to gdb. (print_addr): Simply call print_addr_2 with the same argument twice. (test_lookup_operator_functions): Use demangler formatting variables. Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort the tests in the same order as the C++ class declaration. (test_paddr_operator_functions): Ditto. (test_paddr_overloaded_functions): Ditto. (test_paddr_hairy_functions): Use demangler formatting variables. Add reference to gdb/19 for related tests. (do_tests): Call probe_demangler.
2001-02-14Fix initialisation of asection structureNick Clifton2-15/+24
2001-02-14Apply changes to Makefile.in to Makefile.amNick Clifton6-625/+358
2001-02-14Add obvious fix ruleNick Clifton2-0/+15
2001-02-14 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.Michael Sokolov5-4/+17
* configure, config.in: Regenerate. * corelow.c: Include <sys/file.h> if present.
2001-02-142001-02-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* configure.tgt: Remove mention of earmelf_linux26.
2001-02-142001-02-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+8
* libcoff-in.h (pe_tdata): Add members target_subsystem and force_minimum_alignment.
2001-02-14* inflow.c (terminal_ours_1): Initialize ``osigtou''. OnlyAndrew Cagney2-1/+8
declare when have SIGTTOU.
2001-02-142001-02-14 Bo Thorsen <bo@suse.de>Andreas Jaeger2-95/+164
* elf64-x86-64.c: Small formatting fixes and rearrangements of code. (elf64_86_64_size_info): Struct added to fix a problem with the hashtable string entries. (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt. (elf64_x86_64_size_dynamic_sections): A FIXME removed. (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and remove the FIXME for this. (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt section. Also removed the FIXME for it. (x86_64_elf_howto_table): Use bfd_elf_generic_reloc. (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker. (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.
2001-02-14Add entries for gdb/gdbtk/*/ChangeLog-*.Eli Zaretskii2-0/+14
2001-02-14remove spurious whitespaceNick Clifton1-6/+6
2001-02-14Prevent Aborts from happening whilst emulating a SWINick Clifton2-62/+83
2001-02-14Address comment from Richard about relocs always needing a type.Jim Wilson3-8/+21
* config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED reloc instead of a 0 reloc. (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it as done. * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
2001-02-13It is SYMTAB, not STMTAB.H.J. Lu1-1/+1
2001-02-13 * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if requiredRichard Henderson2-0/+12
and not user provided.
2001-02-13 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.Richard Henderson2-1/+4
2001-02-13* MAINTAINERS: Update my email address.Jim Kingdon2-2/+6
2001-02-132001-02-13 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-26/+28
* rs6000-core.c: Fix formatting.
2001-02-132001-02-13 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-2/+4
* vms.c (vms_print_symbol): Remove unreachable code.
2001-02-132001-02-13 H.J. Lu <hjl@gnu.org>H.J. Lu4-2/+18
* ldexp.h (node_type): Add etree_provided. * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node type to etree_provided if defined by PROVIDE. Allow updating for etree_provided. (exp_print_tree): Handle etree_provided. * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle etree_provided.
2001-02-13 * write.c (is_dnrange): Stop as soon as the address becomesIan Lance Taylor9-26/+62
larger. (relax_frag): Add segment parameter. Only call symbol_get_frag once. Only call is_dnrange if the symbol is in the same segment, and the symbol address is larger. (relax_segment): Pass segment to md_relax_frag and relax_frag. * write.h (relax_frag): Update declaration. * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass it to relax_frag. * config/tc-m32r.c (m32r_relax_frag): Likewise. * config/tc-m32r.h (md_relax_frag): Add segment parameter. (m32r_relax_frag): Update declaration. * config/tc-mips.h (md_relax_frag): Add segment parameter. * config/tc-tic54x.h (md_relax_frag): Likewise. * doc/internals.texi (CPU backend): Update documentation for md_relax_frag.
2001-02-13RegenerateDJ Delorie1-278/+267
2001-02-13* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. RenameDJ Delorie2-2/+7
PEP64AOUTSZ to PEPAOUTSZ.
2001-02-13* peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: DefineDJ Delorie9-93/+225
as _bfd_XXi_only_swap_filehdr_out. (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set pe->force_minimum_alignment to TRUE. (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to PEI_TARGET_SUBSYSTEM. (pe_print_private_bfd_data): Call _bfd_XX_print_private_bfd_data_common() instead of _bfd_pe_print_private_bfd_data_common(). (pe_bfd_copy_private_bfd_data): Call _bfd_XX_bfd_copy_private_bfd_data_common() instead of _bfd_pe_bfd_copy_private_bfd_data_common(). (coff_bfd_copy_private_section_data): Define as _bfd_XX_bfd_copy_private_section_data instead of _bfd_pe_bfd_copy_private_section_data. (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead of a _bfd_pe_get_symbol_info. * peigen.c: Delete. * peXXigen.c: Renamed from peigen.c. (COFF_WITH_XX): Define this macro (will get expanded into COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being compiled as peigen.c or pepigen.c. [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to define the canonical PEP structures and definitions. (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in effect, enforce minimum file and section alignments. If extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN, so, by default, this is a no-op). * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep. (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to _bfd_pefoo if it's not defined. Use these macros to define coff swap macros. * libcoff.h (pe_tdata): Add members target_subsystem and force_minimum_alignment. * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to COFF_WITH_pep. (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM. * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of peigen.lo. * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep. (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and PEPAOUTHDR. * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo. (BFD64_BACKENDS_CFILES): Mention pepigen.c (peigen.c): Add rule to generate from peXXigen.c. (pepigen.c): Ditto. (pepigen.lo): List dependencies for pepigen.lo. * unwind-ia64.c (unw_decode_x1): Declare code arg with ATTRIBUTE_UNUSED. (unw_decode_x2): Ditto. (unw_decode_x3): Ditto. (unw_decode_x4): Ditto. * pe.h (PEPAOUTSZ): Rename from PEP64AOUTSZ. Rename from PEPAOUTHDR.
2001-02-13Handle long jumps for .code16 and .arch < 386 by using a twoAlan Modra3-72/+188
instruction sequence consisting of a conditional jump of the opposite sense around an unconditional jump to the target. Add jumps/nojumps .arch modifier.
2001-02-13Update copyright date.Alan Modra1-1/+1
2001-02-13Fix parsing of multi-char operators.Alan Modra2-14/+23
2001-02-13(elf32_hppa_set_gp): Handle weak $global$.Alan Modra2-1/+18
If $global$ referenced but not defined, set its value here.
2001-02-12Fix definition of NEGBRANCHNick Clifton2-1/+6
2001-02-122001-02-09 Bo Thorsen <bo@suse.de>Jan Hubicka2-9/+90
* elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section alignment to 3. (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry and relocation. (elf64_x86_64_relocate_section): Fix formatting. (elf64_x86_64_relocate_section): Fix addend for relocation of R_X86_64_(8|16|32|PC8|PC16|PC32).
2001-02-12 * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.Jan Hubicka4-5/+27
* tc-i386.c (i386_displacement): Fix handling of BFD_RELOC_X86_64_GOTPCREL. (i386_validate_fix): Likewise.
2001-02-12 * i386.h (i386_optab): SSE integer converison instructions haveJan Hubicka4-13/+34
64bit versions on x86-64. * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison instructions. (putop): Handle 'Y'
2001-02-122001-02-12 Philip Blundell <pb@futuretv.com>Phil Blundell2-5/+24
* config/tc-arm.c (do_ldst): Improve warnings for unpredictable ldrt/strt instructions.
2001-02-122001-02-11 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* elflink.h (elf_bfd_final_link): Use file_align for STMTAB alignment.
2001-02-122001-02-11 H.J. Lu <hjl@gnu.org>H.J. Lu4-2/+33
* config/default.exp: Set up gcc_gas_flag. * binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag for Linux only. * binutils-all/testprog.c: Include <string.h> and don't use exit ().
2001-02-11fix formattingNick Clifton2-11/+11
2001-02-11oops - omitted from previous deltaNick Clifton1-2/+2
2001-02-11 * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and stringMichael Sokolov2-127/+129
literal concatenation.
2001-02-11Apply several patches from Maciej W. RozyckiNick Clifton6-46/+152