summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* daily updateAlan Modra2005-10-311-1/+1
|
* daily updateAlan Modra2005-10-301-1/+1
|
* 2005-10-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-10-294-6/+16
| | | | | | | * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * dep-in.sed: Replace " ./" with " ".
* 2005-10-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-10-294-0/+14
| | | | | | | | * hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is define. * osf-core.c: Include <sys/core.h> only if OSF_CORE is defined. * sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only if SCO5_CORE is defined.
* daily updateAlan Modra2005-10-291-1/+1
|
* * Makefile.am: Run "make dep-am".Mark Kettenis2005-10-293-1670/+1429
| | | | * Makefile.in: Regenerate.
* daily updateAlan Modra2005-10-291-1/+1
|
* From Eric Botcazou <botcazou@adacore.com>Joel Brobecker2005-10-281-0/+6
| | | | | * coffcode.h (coff_compute_section_file_positions): Fix small error in preprocessor directives.
* Mostly from Eric Botcazou <botcazou@adacore.com>Joel Brobecker2005-10-283-23/+36
| | | | | | | | | | * rs6000-core.c: ANSIfy all function definitions. Add missing function prototypes. (ptr_to_uint): New type. (rs6000coff_core_p): Use it as intermediate step in casts. (rs6000coff_core_file_matches_executable_p): Likewise. * xcoff-target.h (rs6000coff_core_p): Fix prototype. (rs6000coff_core_file_matches_executable_p): Likewise.
* 2005-10-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-10-282-1/+14
| | | | | | | | PR binutils/1472 * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa, bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a and bfd_mach_sparc_v9b.
* PR ld/1567Hans-Peter Nilsson2005-10-282-1/+12
| | | | | * elf32-cris.c (cris_elf_howto_table) <R_CRIS_32>: Set complain_on_overflow field to complain_overflow_dont.
* daily updateAlan Modra2005-10-281-1/+1
|
* PR 973Alan Modra2005-10-272-12/+59
| | | | | | | | | | | | * cache.c (enum cache_flag): New. (close_one): Save file mtime. (bfd_cache_lookup): Add flag arg, adjust all users. (bfd_cache_lookup_worker): Likewise. (cache_btell): Use CACHE_NO_OPEN and return abfd->where if file not open. (cache_bflush): Similarly, and return success of file not open. (cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END. (cache_bstat): Use CACHE_NO_SEEK_ERROR.
* * bfdwin.c (bfd_get_file_window): Seek into file in place ofAlan Modra2005-10-272-5/+11
| | | | using bfd_cache_lookup.
* * cache.c (BFD_CACHE_MAX_OPEN): Make private to this file.Alan Modra2005-10-274-74/+28
| | | | | | (bfd_last_cache, bfd_cache_lookup, bfd_cache_lookup_worker): Likewise. * libbfd-in.h (bfd_cache_lookup_worker, bfd_last_cache): Delete. * libbfd.h: Regenerate.
* * hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat.Alan Modra2005-10-274-24/+13
| | | | | * sco5-core.c (sco5_core_file_p): Likewise. * trad-core.c (trad_unix_core_file_p): Likewise.
* * cache.c: Reorganize file to avoid forward reference.Alan Modra2005-10-272-191/+192
|
* daily updateAlan Modra2005-10-271-1/+1
|
* * cache.c (bfd_cache_lookup_worker): Don't abort on failing toAlan Modra2005-10-266-12/+54
| | | | | | | | | | | reopen file. (cache_btell, cache_bseek, cache_bflush, cache_bstat): Return -1 on bfd_cache_lookup failure. (cache_bread, cache_bwrite): Return 0 on the same. * bfdwin.c (bfd_get_file_window): Likewise. * hppabsd-core.c (hppabsd_core_core_file_p): Likewise. * sco5-core.c (sco5_core_file_p): Likewise. * trad-core.c (trad_unix_core_file_p): Likewise.
* * cache.c (bfd_cache_lookup_worker): Use bfd_error_handlerAlan Modra2005-10-262-1/+8
| | | | rather than bfd_perror. Print file name. Internationalise.
* * cache.c (bfd_open_file): Set bfd_error_system_call on failureAlan Modra2005-10-262-8/+20
| | | | | | to open file. (bfd_cache_lookup_worker): Remove check that file pos is in unsigned long range. Print system error before aborting.
* daily updateAlan Modra2005-10-261-1/+1
|
* Add support for the Z80 processor familyNick Clifton2005-10-2514-0/+404
|
* PR ld/1540Alan Modra2005-10-2520-345/+319
| | | | | | | | | | | | | | | | | | | | | | | | * elf-bfd.h (elf_backend_copy_indirect_symbol): Replace pointer to elf_backend_data with pointer to bfd_link_info. (_bfd_elf_link_hash_copy_indirect): Likewise. * elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Handle direct and indirect symbols both having dynamic link info. * elf32-arm.c (elf32_arm_copy_indirect_symbol): Likewise. * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf32-m32r.c (m32r_elf_copy_indirect_symbol): Likewise. * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise. * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_copy_indirect_symbol): Likewise. * elflink.c: Adjust all calls to bed->elf_backend_copy_indirect_symbol. * elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Update prototype. * elfxx-sparc.h (_bfd_sparc_elf_copy_indirect_symbol): Likewise.
* RegenerateAlan Modra2005-10-253-408/+464
|
* daily updateAlan Modra2005-10-251-1/+1
|
* bfd/Jie Zhang2005-10-242-1/+6
| | | | | | | | | | | | * elf32-bfin.c (bfd_bfin_elf32_create_embedded_relocs): Fix signedness warning. gas/ * Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h. (EXTRA_DIST): Add bfin-parse.h and bfin-lex.c. * Makefile.in: Regenerate. * config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h. * config/tc-bfin.c (md_chars_to_number): Change the type of first argument from unsigned char * to char * to remove signedness warnings.
* * elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.Jie Zhang2005-10-242-96/+112
| | | | | | | (bfin_imm16_reloc): Always add in the addend. Don't fetch existing contents from section. (bfin_relocate_section): Rework so as to not call special_functions. Handle the relocation stack here. Treat pcrel24 relocs specially.
* * elflink.c (elf_link_input_bfd): Don't use linker_mark andAlan Modra2005-10-243-21/+22
| | | | | | | | | SEC_EXCLUDE to test for sections dropped from output. Instead, use bfd_section_removed_from_list on normal sections. Don't attempt to handle symbols with unknown reserved section indices. * linker.c (_bfd_generic_link_output_symbols): Don't use linker_mark to test for symbols belonging to dropped sections. Do allow absolute symbols.
* * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE onAlan Modra2005-10-242-1/+6
| | | | group sections.
* include/opcode/Jan Beulich2005-10-242-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-24 Jan Beulich <jbeulich@novell.com> * ia64.h (enum ia64_opnd): Move memory operand out of set of indirect operands. bfd/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of set of indirect operands. gas/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (enum reg_symbol): Delete IND_MEM. (dot_rot): Change type of num_* variables. Check for positive count. (ia64_optimize_expr): Re-structure. (md_operand): Check for general register. gas/testsuite/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * gas/ia64/index.[sl]: New. * gas/ia64/rotX.[sl]: New. * gas/ia64/ia64.exp: Run new tests. opcodes/ 2005-10-24 Jan Beulich <jbeulich@novell.com> * ia64-asmtab.c: Regenerate.
* * elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE onAlan Modra2005-10-242-1/+6
| | | | group sections.
* 2005-10-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-10-243-0/+13
| | | | | | | | | * coff-rs6000.c (rs6000coff_vec): Initialize _bfd_init_private_section_data with _bfd_generic_init_private_section_data. (pmac_xcoff_vec): Likewise. * coff64-rs6000.c (rs6000coff64_vec): Likewise. (aix5coff64_vec): Likewise.
* bfd/H.J. Lu2005-10-248-115/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/1487 * elf-bfd.h (_bfd_generic_init_private_section_data): New. (_bfd_elf_init_private_section_data): New. * elf.c (elf_fake_sections): Don't set SHF_GROUP for relocatable link. (bfd_elf_set_group_contents): Don't handle relocatable link specially. (assign_section_numbers): If it isn't called by assembler, use the output section of elf_linked_to_section for SHF_LINK_ORDER. (_bfd_elf_init_private_section_data): New. (_bfd_elf_copy_private_section_data): Call it. * libbfd-in.h (_bfd_generic_init_private_section_data): New. * libbfd.c (_bfd_generic_init_private_section_data): New. * targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_generic_init_private_section_data. (bfd_init_private_section_data): Likewise. * bfd-in2.h: Regenerated. * libbfd.h: Likewise. ld/ 2005-10-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/1487 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call bfd_match_sections_by_type to match section types. * ldlang.c (init_os): Take the input section. Call bfd_init_private_section_data if the input section isn't NULL. (exp_init_os): Pass NULL to init_os. (map_input_to_output_sections): Likewise. (lang_add_section): Pass the input section to init_os. ld/testsuite/ 2005-10-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/1487 * ld-ia64/tlspic.rd: Updated.
* daily updateAlan Modra2005-10-241-1/+1
|
* * elf64-ppc.c (dec_dynrel_count): Don't report errors for localAlan Modra2005-10-232-8/+42
| | | | | | | syms in gc'd sections. (ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS. (elf_backend_action_discarded): Define. (ppc64_elf_action_discarded): New function.
* daily updateAlan Modra2005-10-231-1/+1
|
* daily updateAlan Modra2005-10-221-1/+1
|
* daily updateAlan Modra2005-10-211-1/+1
|
* daily updategdb_6_4-branchpointAlan Modra2005-10-201-1/+1
|
* * elf32-arm.c (find_arm_elf_section_entry): New function.Nick Clifton2005-10-192-29/+49
| | | | | (get_arm_elf_section_data): Use it. (unrecord_section_with_arm_elf_section_data): Use it.
* daily updateAlan Modra2005-10-191-1/+1
|
* daily updateAlan Modra2005-10-181-1/+1
|
* daily updateAlan Modra2005-10-171-1/+1
|
* daily updateAlan Modra2005-10-161-1/+1
|
* 2005-10-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-10-153-0/+13
| | | | | | | | | * coff-rs6000.c (rs6000coff_vec): Initialize _bfd_match_sections_by_type with _bfd_generic_match_sections_by_type. (pmac_xcoff_vec): Likewise. * coff64-rs6000.c (rs6000coff64_vec): Likewise. (aix5coff64_vec): Likewise.
* bfd/H.J. Lu2005-10-158-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/1467 * elf-bfd.h (_bfd_elf_match_sections_by_type): New. (_bfd_generic_match_sections_by_type): New. Defined. * elf.c (_bfd_elf_match_sections_by_type): New. * libbfd-in.h (_bfd_generic_match_sections_by_type): New. * bfd-in2.h: Regenerated. * libbfd.h: Likewise. * libbfd.c (_bfd_generic_match_sections_by_type): New. * targets.c (BFD_JUMP_TABLE_LINK): Initialize _bfd_match_sections_by_type with _bfd_generic_match_sections_by_type. (bfd_target): Add _bfd_match_sections_by_type. ld/ 2005-10-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/1467 * emultempl/elf32.em: Include "elf-bfd.h". (gld${EMULATION_NAME}_place_orphan): Check section type and don't use section name for ELF input sections. * ld.texinfo: Document orphan section processing. * ldlang.c (lang_output_section_find_by_flags): Match section types by calling bfd_match_sections_by_type.
* daily updateAlan Modra2005-10-151-1/+1
|
* daily updateAlan Modra2005-10-141-1/+1
|
* daily updateAlan Modra2005-10-131-1/+1
|