aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2007-09-12daily updateAlan Modra1-1/+1
2007-09-11bfd/Kazu Hirata6-9/+49
* archures.c: Add bfd_mach_mcf_isa_c_nodiv, bfd_mach_mcf_isa_c_nodiv_mac & bfd_mach_mcf_isa_c_nodiv_emac. * ieee.c (ieee_write_processor): Update coldfire architecture list. * bfd-in2.h: Rebuilt. * cpu-m68k.c (arch_info_struct): Add isa_c nodiv architectures. (m68k_arch_features): Likewise. * elf32-m68k.c (elf32_m68k_object_p): Add EF_M68K_CF_ISA_C_NODIV. (elf32_m68k_print_private_bfd_data): Likewise. gas/ * config/tc-m68k.c (m68k_ip): Add mcfisa_c case. (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV. include/elf/ * m68k.h (EF_M68K_CF_ISA_C_NODIV): New.
2007-09-112007-09-11 Jan Beulich <jbeulich@novell.com>Jan Beulich3-2/+7
* elf64-i386.c (elf64_i386_tls_transition): Remove redundant 'const'. * elf64-x86_64.c (elf64_x86_64_tls_transition): Likewise.
2007-09-11daily updateAlan Modra1-1/+1
2007-09-10daily updateAlan Modra1-1/+1
2007-09-09daily updateAlan Modra1-1/+1
2007-09-08 * elf64-ppc.c (func_desc_adjust): When resolving undefinedAlan Modra2-0/+8
references to dot-symbols, transfer def_regular and def_dynamic from the descriptor symbol.
2007-09-08 * config.bfd: Set want64 for spu-*-elf.Alan Modra2-0/+5
2007-09-08 PR ld/2864, ld/5006Alan Modra2-10/+29
* elf.c (special_sections): Comment typo. (elf_fake_sections): Force SHT_PROGBITS for sections that are SHT_NOBITS if BFD section flags say they have contents.
2007-09-08daily updateAlan Modra1-1/+1
2007-09-07daily updateAlan Modra1-1/+1
2007-09-06daily updateAlan Modra1-1/+1
2007-09-052007-09-04 Michael Snyder <msnyder@access-company.com>Michael Snyder2-1/+6
* elf32-bfin.c (howto_table): Cut and paste error? Name field of reloc is wrong.
2007-09-05daily updateAlan Modra1-1/+1
2007-09-04 * elf32-spu.c (elf_howto_table): Formatting.Alan Modra2-4/+8
2007-09-04daily updateAlan Modra1-1/+1
2007-09-03daily updateAlan Modra1-1/+1
2007-09-02bfd/H.J. Lu2-3/+20
2007-09-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/4986 * dwarf2.c (new_line_sorts_after): Undo the last change. (add_line_info): Only keep the last entry with the same address and end sequence. ld/testsuite/ 2007-09-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/4986 * ld-ia64/line.exp: New. * ld-ia64/undefined.s: Likewise. * ld-x86-64/line.exp: Don't check CC.
2007-09-02daily updateAlan Modra1-1/+1
2007-09-01bfd/H.J. Lu2-2/+8
2007-08-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/4986 * dwarf2.c (new_line_sorts_after): Also compare line number. ld/testsuite/ 2007-08-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/4986 * ld-x86-64/line.exp: New * ld-x86-64/undefined.s: Likewise.
2007-09-01daily updateAlan Modra1-1/+1
2007-08-31* mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non zerofill sections.Nick Clifton2-1/+6
2007-08-31daily updateAlan Modra1-1/+1
2007-08-30daily updateAlan Modra1-1/+1
2007-08-29daily updateAlan Modra1-1/+1
2007-08-282007-08-28 David Heine <dlheine@tensilica.com>Bob Wilson2-0/+7
* elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when narrowing instructions.
2007-08-28bfd:Joseph Myers2-2/+22
2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * elf32-arm.c (elf32_arm_compare_mapping): Compare first on vma, then on type. binutils/testsuite: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * binutils-all/ar.exp (long_filenames): Delete temporary files on the host. * binutils-all/arm/objdump.exp: Only check "which $OBJDUMP" if host is local. * binutils-all/objcopy.exp: Use ${srecfile} to get the name of the srec file to be passed to binutils_run. (objcopy_test_readelf): Use remote_exec. * binutils-all/readelf.exp (readelf_find_size): Use remote_exec. (readelf_test): Likewise. (readelf_wi_test): Likewise. * lib/utils-lib.exp (run_dump_test): Only check "which $binary" if host is local. Use remote_exec. Use $tempfile not tmpdir/bintest.o. gas: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * as.c (main): Flush stderr before printing listings to ensure consistent output order across platforms. gas/testsuite: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * lib/gas-defs.exp (gas_version): Use remote_* functions instead of exec. (gas_host_run): New. (gas_run): Use gas_host_run. (gas_start): Likewise. (run_dump_test): Likewise. (objdump): Use gas_host_run. (objdump_start_no_subdir): Likewise. * lib/gas-dg.exp (gas-dg-test): Use "remote_file host delete". * lib/run: Remove. * gas/macros/macros.exp: Download app4b.s to host. * gas/i386/i386.exp (gas_64_check): Use gas_host_run. (gas_32_check): Likewise. * gas/maxq10/maxq10.exp (gas_64_check): Likewise (gas_32_check): Likewise. * gas/maxq20/maxq20.exp (gas_64_check): Likewise (gas_32_check): Likewise. * gas/sparc/sparc.exp (gas_64_check): Likewise. * gas/cfi/cfi.exp: Likewise. * gas/elf/elf.exp (run_list_test): Likewise. Use temporary file for readelf output in place of pipe. * gas/all/gas.exp: Download incbin.dat to host. (do_comment): Allow \r\r\n. ld: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * ldlang.c (sort_sections_by_lma): Sort by internal id after lma for stable sort. ld/testsuite: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * ld-elfcomm/elfcomm.exp: Use run_host_cmd. Only check "which $CC" if host is local. * ld-checks/checks.exp: Use run_host_cmd. * ld-elf/exclude.exp: Likewise. * ld-elf/elf.exp: Download merge.ld if host is remote. * ld-elf/binutils.exp (binutils_test): Use remote_exec. * ld-elf/tls_common.exp: Use run_host_cmd. * lib/ld-lib.exp (ld_version): Only check "which $ld" if host is local. Use remote_exec. (run_host_cmd): New. (run_host_cmd_yesno): New. (default_ld_relocate): Use run_host_cmd_yesno. (default_ld_link): Likewise. (default_ld_simple_link): Use run_host_cmd. (default_ld_compile): Only check "which $ccprog" if host is local. Use remote_file and remote_exec. (default_ld_assemble): Only check "which $as" if host is local. Use run_host_cmd. (default_ld_nm): Use remote_exec, remote_upload and remote_file. (run_dump_test): Use remote_exec, remote_upload and remote_file. Only check "which $binary" if host is local. (run_ld_link_tests): Use remote_exec, remote_upload and remote_file. * ld-selective/selective.exp: Only check "which $CXX" if host is local. Use remote_exec. * ld-scripts/phdrs.exp: Only check "which $objdump" if host is local. Use run_host_cmd. * ld-scripts/phdrs2.exp: Likewise. * ld-scripts/weak.exp: Likewise. * ld-undefined/weak-undef.exp: Likewise. * ld-scripts/crossref.exp: Only check "which $CC" if host is local. Use run_host_cmd. * ld-scripts/map-address.exp: Upload map_address.map if host is remote. * ld-srec/srec.exp (run_srec_tests): Use run_host_cmd. Only check "which $CC" and "which $CXX" if host is local. * ld-undefined/undefined.exp: Only check "which $CC" if host is local. Use remote_file and run_host_cmd. * config/default.exp: Use remote_exec to create tmpdir.
2007-08-28Add support for i386-dragonfly target.Nick Clifton4-4/+14
2007-08-28daily updateAlan Modra1-1/+1
2007-08-27daily updateAlan Modra1-1/+1
2007-08-26daily updateAlan Modra1-1/+1
2007-08-25include/elf/Alan Modra2-0/+37
* common.h (NT_SPU): Define. bfd/ * elf.c (elfcore_grok_spu_note): New function. (elf_parse_notes): Call it. binutils/ * readelf.c (process_note): Recognize SPU core file notes.
2007-08-25daily updateAlan Modra1-1/+1
2007-08-242007-08-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* elf64-x86-64.c (elf64_x86_64_relocate_section): Adjust indentation.
2007-08-24 * elf.c (elfcore_grok_win32pstatus): Remove HAVE_WIN32_PSTATUS_TPedro Alves2-21/+36
guard. Make it host independent. (elfcore_grok_note): Remove HAVE_WIN32_PSTATUS_T guard around NT_WIN32PSTATUS.
2007-08-24Fixed formatting of the ChangeLog BUILD_ID entry.Jan Kratochvil1-2/+2
2007-08-242007-08-24 Jan Kratochvil <jan.kratochvil@redhat.com>Jan Kratochvil3-35/+125
* elf-bfd.h (struct elf_obj_tdata): New BUILD_ID_SIZE, BUILD_ID. * elf.c (elfcore_read_notes): Split to ... (elf_read_notes) ... here ... (elf_parse_notes): ... and here. Check `bfd_get_format (abfd)' with the former subfunctions called only for BFD_CORE. Call ELFOBJ_GROK_GNU_NOTE for BFD_OBJECT files with the owner "GNU". (_bfd_elf_make_section_from_shdr): Call ELF_PARSE_NOTES for SHT_NOTEs. (bfd_section_from_phdr): Update the call for renamed ELFCORE_READ_NOTES. (elfobj_grok_gnu_build_id, elfobj_grok_gnu_note): New functions. Code advisory: Roland McGrath
2007-08-24 * elf64-mips.c (elf_backend_sign_extend_vma): Define.Daniel Jacobowitz2-0/+6
2007-08-24 * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.Alan Modra2-3/+10
2007-08-24daily updateAlan Modra1-1/+1
2007-08-232007-08-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-8/+19
* Makefile.am: Run "make dep-am". * Makefile.in: Regenerated.
2007-08-23bfd/H.J. Lu3-409/+739
2007-08-23 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c: Include "bfd_stdint.h". (elf_i386_rtype_to_howto): New function. (elf_i386_info_to_howto_rel): Use it. (x86_64_opcode16): New union type. (elf_i386_check_tls_transition): New function. (elf_i386_tls_transition): Updated to check transition and issue an error if a transition isn't supported. (elf_i386_check_relocs): Return FALSE if elf_i386_tls_transition returns FALSE. (elf_i386_gc_sweep_hook): Likewise. (elf_i386_relocate_section): Likewise. Remove BFD_ASSERT on TLS transitions. * elf64-x86-64.c: Include "bfd_stdint.h". (x86_64_opcode16): New union type. (x86_64_opcode32): Likewise. (elf64_x86_64_check_tls_transition): New function. (elf64_x86_64_tls_transition): Updated to check transition and issue an error if a transition isn't supported. (elf64_x86_64_check_relocs): Return FALSE if elf64_x86_64_tls_transition returns FALSE. (elf64_x86_64_gc_sweep_hook): Likewise. (elf64_x86_64_relocate_section): Likewise. Remove BFD_ASSERT on TLS transitions. ld/testsuite/ 2007-08-23 H.J. Lu <hongjiu.lu@intel.com> * ld-i386/tlsbinpic.s: Add a new GD -> IE test. * ld-i386/tlsgd1.s: Add a new GD -> LE test. * ld-i386/tlsbin.dd: Updated. * ld-i386/tlsbin.rd: Likewise. * ld-i386/tlsgd1.dd: Likewise.
2007-08-23daily updateAlan Modra1-1/+1
2007-08-222007-08-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-376/+160
* elfxx-ia64.c: Convert to ISO C90 prototypes. (elfNN_hpux_backend_section_from_bfd_section): Make it static.
2007-08-222007-08-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-6/+11
* elf64-x86-64.c: Remove trailing whitespace. * elfxx-ia64.c: Likewise.
2007-08-22daily updateAlan Modra1-1/+1
2007-08-212007-08-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-11/+26
* elf32-i386.c (elf_i386_tls_transition): Accept a pointer to ELF hash entry instead of an integer for local test. (elf_i386_check_relocs): Updated. (elf_i386_gc_sweep_hook): Likewise. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_tls_transition): Accept a pointer to ELF hash entry instead of an integer for local test. (elf64_x86_64_check_relocs): Updated. (elf64_x86_64_gc_sweep_hook): Likewise. (elf64_x86_64_relocate_section): Likewise.
2007-08-21daily updateAlan Modra1-1/+1
2007-08-202007-08-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+9
* elf32-i386.c (elf_i386_tls_transition): Break long line. * elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise.
2007-08-20Revision of previous delta using bfd_vma cast instead of 1L.Nick Clifton1-1/+1