aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-02-16daily updateAlan Modra1-1/+1
2008-02-16gas/H.J. Lu5-49/+72
2008-02-16 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (inoutportreg): New. (process_immext): New. (md_assemble): Use it. (update_imm): Use imm16 and imm32s. (i386_att_operand): Use inoutportreg. opcodes/ 2008-02-16 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (operand_type_init): Add OPERAND_TYPE_INOUTPORTREG. * i386-init.h: Regenerated.
2008-02-162008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Paolo Bonzini2-3/+12
PR libgcj/33085 * libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>: Do not use -DDLL_EXPORT. Backport from upstream.
2008-02-16 * dwarf2.c (find_line): Don't trust debug information after anNathan Sidwell2-34/+40
unparseable compilation unit.
2008-02-16 PR ld/5761Alan Modra2-1/+8
* ldexp.c (fold_name <LOADADDR>): Check result of evaluating load_base before calling make_abs.
2008-02-16*** empty log message ***gdbadmin1-1/+1
2008-02-15daily updateAlan Modra1-1/+1
2008-02-15 PR 5765Alan Modra3-26/+32
* section.c (SEC_LINK_DUPLICATES): Correct. Renumber following flags. * bfd-in2.h: Regenerate.
2008-02-15Update attribution for PR 5713 patch.Nick Clifton1-1/+2
2008-02-15 PR binutils/5713Nick Clifton2-57/+17
* strings.c (integer_arg): Delete function. (string_min): Initialise to 4. (main): Use strtoul to parse integer arguments. Move check for an invalid string length to after all the arguments have been parsed. (usage): Use indentation to indicate that -<n> is a another form of the --bytes= command line option.
2008-02-15 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.Alan Modra5-29/+22
* emultempl/hppaelf.em (hppaelf_create_output_section_statements): Likewise. * emultempl/ppc64elf.em (ppc_create_output_section_statements): Likewise. * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all uses with.. (is_ppc_elf): ..this new macro.
2008-02-15 * elf-bfd.h (enum elf_object_id): Add HPPA_ELF_TDATA.Alan Modra6-54/+55
* elf.c (bfd_elf_allocate_object): Don't check for already allocated tdata. * elf32-hppa.c (elf32_hppa_mkobject): New function. (bfd_elf32_mkobject): Define. * elf32-ppc.c (is_ppc_elf_target): Delete. Replace all uses with.. (is_ppc_elf): ..this new macro. * elf64-ppc.c (is_ppc64_elf_target): Delete. Replace all uses with.. (is_ppc64_elf): ..this new macro.
2008-02-15 * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.Markus Deuling2-1/+4
2008-02-15include/Alan Modra59-442/+575
* bfdlink.h (struct bfd_link_hash_table): Delete creator field. (struct bfd_link_info): Add output_bfd. bfd/ * elflink.c: Replace all accesses to hash->creator field with output_bfd->xvec. * cofflink.c: Likewise. * coff-h8300.c: Likewise. * ecoff.c: Likewise. * elf32-m68hc1x.c: Likewise. * elf32-ppc.c: Likewise. * elf64-alpha.c: Likewise. * elf64-ppc.c: Likewise. * elf64-sparc.c: Likewise. * elfxx-mips.c: Likewise. * i386linux.c: Likewise. * m68klinux.c: Likewise. * sparclinux.c: Likewise. * sunos.c: Likewise. * xcofflink.c: Likewise. * linker.c: Likewise. (_bfd_link_hash_table_init): Don't store creator. ld/ * ldmain.h (output_bfd): Delete. * ldmain.c (output_bfd): Delete. Replace all occurrences of output_bfd with link_info.output_bfd. * ldcref.c: Likewise. * ldctor.c: Likewise. * ldemul.c: Likewise. * ldexp.c: Likewise. * ldfile.c: Likewise. * ldlang.c: Likewise. * ldmisc.c: Likewise. * ldwrite.c: Likewise. * pe-dll.c: Likewise. * emultempl/aix.em: Likewise. * emultempl/alphaelf.em: Likewise. * emultempl/armcoff.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/avrelf.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/elf-generic.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/gld960.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/irix.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68hc1xelf.em: Likewise. * emultempl/mmix-elfnmmo.em: Likewise. * emultempl/mmo.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/pep.em: Likewise. * emultempl/ppc32elf.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/scoreelf.em: Likewise. * emultempl/sh64elf.em: Likewise. * emultempl/spuelf.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/vxworks.em: Likewise. * emultempl/xtensaelf.em: Likewise. * emultempl/z80.em: Likewise. * ldlang.c (open_output): Don't return output, instead write link_info_output_bfd directly. * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator with link_info.output_bfd->xvec. * emultempl/hppaelf.em: Likewise. * emultempl/ppc32elf.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/spuelf.em: Likewise.
2008-02-15*** empty log message ***gdbadmin1-1/+1
2008-02-14daily updateAlan Modra1-1/+1
2008-02-142008-02-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-87/+165
* config/tc-i386.c (operand_type_all_zero): New. (operand_type_set): Likewise. (operand_type_equal): Likewise. (cpu_flags_all_zero): Likewise. (cpu_flags_set): Likewise. (cpu_flags_equal): Likewise. (UINTS_ALL_ZERO): Removed. (UINTS_SET): Likewise. (UINTS_CLEAR): Likewise. (UINTS_EQUAL): Likewise. (cpu_flags_match): Updated. (smallest_imm_type): Likewise. (set_cpu_arch): Likewise. (md_assemble): Likewise. (optimize_imm): Likewise. (match_template): Likewise. (process_suffix): Likewise. (update_imm): Likewise. (process_drex): Likewise. (process_operands): Likewise. (build_modrm_byte): Likewise. (i386_immediate): Likewise. (i386_displacement): Likewise. (i386_att_operand): Likewise. (parse_real_register): Likewise. (md_parse_option): Likewise. (i386_target_format): Likewise.
2008-02-14 * win32-low.c (do_initial_child_stuff): Add process handlePedro Alves2-45/+52
parameter. Set current_process_handle and current_process_id from the parameters. Clear globals. (win32_create_inferior): Don't set current_process_handle and current_process_id here. Instead pass them on the call to do_initial_child_stuff. (win32_attach): Likewise. (win32_clear_inferiors): New. (win32_kill): Don't close the current process handle or the current thread handle here. Instead call win32_clear_inferiors. (win32_detach): Don't open a new handle to the process. Call win32_clear_inferiors. (win32_join): Don't rely on current_process_handle; open a new handle using the process id. (win32_wait): Call win32_clear_inferiors when the inferior process has exited.
2008-02-142008-02-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-6/+13
* ld-shared/sh1.c (shlib_overriddencall2): Moved to ... * ld-shared/sh2.c (shlib_overriddencall2): Here. New.
2008-02-14 * NEWS: Mention pending breakpints in MIVladimir Prus2-0/+7
2008-02-14 * server.c (monitor_show_help): Add "exit".Daniel Jacobowitz2-4/+10
2008-02-14 PR gas/5712Nick Clifton5-0/+25
* config/tc-arm.c (s_arm_unwind_save): Advance the input line pointer past the comma after parsing a floating point register name. * gas/arm/fp-save.s: New test. * gas/arm/fp-save.d: Expected disassembly.
2008-02-14 * efi-rtdrv-ia32.c: New file.Nick Clifton16-39/+441
* efi-bsdrv-ia32.c: New file. * efi-rtdrv-ia64.c: New file. * efi-bsdrv-ia64.c: New file. * efi-rtdrv-x86_64.c: New file. * efi-bsdrv-x86_64.c: New file. * peicode.h (pe_bfd_object_p): Add support for boot service and runtime service drivers. * libpei.h: Add macros for EFI formats, and rename the efi application format macros to disambiguate. * targets.c: Add bfd_target _vec externs. (_bfd_tar): Add EFI _vec entries. * config.bfd: Add EFI vectors into the selection routines. * configure.in: add EFI _vec entries. * configure: Regenerate. * Makefile.am: Add EFI files. * Makefile.in: Regenerate.
2008-02-14 PR gas/2626Nick Clifton4-3/+24
* avr.h (AVR_ISA_2xxe): Define. * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26 to AVR_ISA_2xxe. (avr_operand): Disallow post-increment addressing in the lpm instruction for the attiny26.
2008-02-14 * dwarf1.c (struct dwarf1_debug): Add syms member.Nathan Sidwell2-37/+54
(alloc_dwarf1_unit, alloc_dwarf1_func): Check for out of memory. (parse_line_table, _bfd_dwarf1_find_nearest_line): Relocate section contents, check for out of memory. * dwarf1.c (struct dwarf1_debug): Change data pointers to bfd_byte. (parse_die): Change data pointers to bfd_byte. (parse_line_table, parse_functions_in_unit): Likewise.
2008-02-14Import this patch from gcc:Nick Clifton2-12/+19
2008-01-24 David Edelsohn <edelsohn@gnu.org> * libtool.m4: Backport AIX 6 support from ToT Libtool.
2008-02-14PR binutils/5524Nick Clifton3-2/+31
* configure.in (SHARED_LIBADD): Select the correct host specific file extension for shared libraries. * configure: Regenerate.
2008-02-14 * elflink.c (compute_bucket_count): Warning fixes.Alan Modra2-4/+10
2008-02-14 * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.Markus Deuling2-1/+5
2008-02-14Align FDE and CIE lengths as needed.Ian Lance Taylor2-21/+51
2008-02-14Set load address for orphan sections.Ian Lance Taylor1-9/+33
2008-02-14*** empty log message ***gdbadmin1-1/+1
2008-02-13daily updateAlan Modra1-1/+1
2008-02-13Implement -Tdata and -Tbss.Ian Lance Taylor4-25/+103
2008-02-13Implement remaining linker script functions.Ian Lance Taylor1-25/+105
2008-02-13 * gas/mips/branch-misc-2pic-64.d (#name): Have a unique nameAdam Nemet2-1/+6
different from the branch-misc-2-64.d test.
2008-02-13gas/Jan Beulich9-17/+57
2008-02-13 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (parse_real_register): Don't return 'FLAT' if not in Intel mode. (i386_intel_operand): Ignore segment overrides in immediate and offset operands. (intel_e11): Range-check i.mem_operands before use as array index. Filter out FLAT for uses other than as segment override. (intel_get_token): Remove broken promotion of "FLAT:" to mean "offset FLAT:". gas/testsuite/ 2008-02-13 Jan Beulich <jbeulich@novell.com> * gas/i386/intelok.s: Replace invalid offset expression with valid ones. * gas/i386/x86_64.s: Likewise. opcodes/ 2008-02-13 Jan Beulich <jbeulich@novell.com> * i386-opc.h (RegFlat): New. * i386-reg.tbl (flat): Add. * i386-tbl.h: Re-generate.
2008-02-13gas/Jan Beulich13-42/+81
2008-02-13 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (intel_e09): Also special-case 'bound'. gas/testsuite/ 2008-02-13 Jan Beulich <jbeulich@novell.com> * gas/i386/intelbad.s, gas/i386/intelok.s: Add 'bound' tests. * gas/i386/intelbad.l, gas/i386/intelok.l, gas/i386/intelok.e, gas/i386/opcode-intel.d: Adjust. opcodes/ 2008-02-13 Jan Beulich <jbeulich@novell.com> * i386-dis.c (a_mode): New. (cond_jump_mode): Adjust. (Ma): Change to a_mode. (intel_operand_size): Handle a_mode. * i386-opc.tbl: Allow Dword and Qword for bound. * i386-tbl.h: Re-generate.
2008-02-13gas/Jan Beulich14-438/+959
2008-02-13 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (allow_pseudo_reg): New. (parse_real_register): Check for NULL just once. Allow all register table entries when allow_pseudo_reg is non-zero. Don't allow any registers without type when allow_pseudo_reg is zero. (tc_x86_regname_to_dw2regnum): Replace with ... (tc_x86_parse_to_dw2regnum): ... this. (tc_x86_frame_initial_instructions): Adjust for above change. * config/tc-i386.h (tc_regname_to_dw2regnum): Remove. (tc_parse_to_dw2regnum): New. (tc_x86_regname_to_dw2regnum): Replace with ... (tc_x86_parse_to_dw2regnum): ... this. * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ... (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust error handling. gas/testsuite/ 2008-02-13 Jan Beulich <jbeulich@novell.com> * gas/cfi/cfi-i386.s: Add code testing use of all registers. Fix a few comments. * gas/cfi/cfi-x86_64.s: Likewise. * gas/cfi/cfi-i386.d, gas/cfi/cfi-x86_64.d: Adjust. opcodes/ 2008-02-13 Jan Beulich <jbeulich@novell.com> * i386-gen.c (process_i386_registers): Process new fields. * i386-opc.h (reg_entry): Shrink reg_flags and reg_num to unsigned char. Add dw2_regnum and Dw2Inval. * i386-reg.tbl: Provide initializers for dw2_regnum. Add pseudo register names. * i386-tbl.h: Re-generate.
2008-02-13 Add script to build and test GDB using enable-targets=all.Markus Deuling4-0/+294
* gdb_buildall.sh: New file. doc/ * gdbint.texinfo (Build Script): New section. Mention new build script gdb_buildall.sh.
2008-02-13Support selecting target by name.Ian Lance Taylor10-34/+112
2008-02-13Assignments in linker scripts override definitions from object files.Ian Lance Taylor4-11/+23
2008-02-13Implement LOADADDR and SIZEOF.Ian Lance Taylor1-39/+125
2008-02-13*** empty log message ***gdbadmin1-1/+1
2008-02-12daily updateAlan Modra1-1/+1
2008-02-12* elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend ofDJ Delorie2-2/+55
relocation pointing to local symbol in merged section. * elf32-iq2000.c (iq2000_elf_relocate_offset16): New. (iq2000_elf_relocate_section): Call it.
2008-02-122002-02-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-3/+50
* gas/i386/i386.exp: Run x86-64-arch-2 instead of x86-64-arch-10. * gas/i386/x86-64-arch-10.d: Removed. * gas/i386/x86-64-arch-2.d: New. * gas/i386/x86-64-arch-2.s: Likewise.
2008-02-12Correct last 2 ChangeLog entries.H.J. Lu1-2/+2
2008-02-122008-02-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/i386/x86-64-xsave.d: Remove prefix.
2008-02-12* dlltool.c (mcore_elf_cache_filename): Add a const qualifier toNick Clifton2-5/+13
the argument. (scan_obj_filename): Do not drop the const qualifier when calling mcore_elf_cache_filename. (struct fname_cache): Add const qualifier to filename field.