aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-03-23Undo previous deltaNick Clifton2-8/+1
2005-03-23(getopt): Allow full prototype when builind under FreeBSD.Nick Clifton2-1/+8
2005-03-23Convert to ISO C90 formattingNick Clifton5-1793/+1639
2005-03-23Update French translationNick Clifton2-12/+16
2005-03-23bfd/H.J. Lu8-38/+107
2005-03-22 H.J. Lu <hongjiu.lu@intel.com> * bfd-in.h (_bfd_elf_provide_symbol): New. * bfd-in2.h: Regenerated. * elf32-ppc.c (set_linker_sym): Moved to elflink.c. (ppc_elf_set_sdata_syms): Call _bfd_elf_provide_symbol instead of set_linker_sym. * elflink.c (_bfd_elf_provide_symbol): New. Moved and renamed from elf32-ppc.c. ld/ 2005-03-22 H.J. Lu <hongjiu.lu@intel.com> * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_provide_bound_symbols to provide __preinit_array_start, __preinit_array_end, __init_array_start, __init_array_end, __fini_array_start and __fini_array_end. * scripttempl/elf.sc: Don't provide __preinit_array_start, __preinit_array_end, __init_array_start, __init_array_end, __fini_array_start nor __fini_array_end.
2005-03-23merge from gccDJ Delorie2-1/+5
2005-03-23*** empty log message ***gdbadmin1-1/+1
2005-03-22daily updateAlan Modra1-1/+1
2005-03-22 * hash.c (strtab_hash_newfunc): Fix typo in allocated size.Hans-Peter Nilsson2-1/+5
2005-03-22 * dwarf.h: Merge with GCC's dwarf.h.Ben Elliston2-25/+33
2005-03-22include ChangeLogBob Wilson4-32/+77
* xtensa-isa.h: Update a comment and whitespace. bfd ChangeLog * xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup, xtensa_sysreg_lookup_name, xtensa_interface_lookup, xtensa_funcUnit_lookup): Skip bsearch call if count is zero. (xtensa_opcode_decode): Rearrange code.
2005-03-22Oops - fix typo in ISO-C90ifcationNick Clifton1-2/+2
2005-03-22Oops - fix typos and finish of ISO-C90'fication of ieee.cNick Clifton1-367/+346
2005-03-22Convert to ISO C90 formatting.Nick Clifton8-1318/+852
2005-03-22 * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail forDaniel Jacobowitz2-0/+8
unresolved symbols in R_ARM_NONE relocations.
2005-03-22 * elf32-arm.c (elf32_arm_final_link_relocate): AddDaniel Jacobowitz2-63/+34
UNRESOLVED_RELOC_P argument. Set it appropriately. (elf32_arm_relocate_section): Update call to elf32_arm_final_link_relocate. Don't clobber RELOCATION; use unresolved_reloc instead.
2005-03-22bfd/Alan Modra4-0/+18
* elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on .gnu.warning.* sections. ld/ * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set SEC_EXCLUDE on .gnu.warning sections.
2005-03-22gas/testsuite/Alan Modra8-32/+35
* gas/elf/section5.s: Don't start directives in first column. ld/testsuite/ * ld-elf/tbss.s: Don't start directives in first column. * ld-scripts/weak1.s: Likewise. * ld-scripts/weak2.s: Likewise. * ld-undefined/weak-undef.s: Likewise. * ld-undefined/undefined.exp: Enable tests for hppa-elf.
2005-03-22 * elf32-ppc.c (elf_linker_section_pointers_t): RemoveAlan Modra2-88/+47
written_address_p. (ppc_elf_create_linker_section): Don't try to reuse existing section. (elf_create_pointer_linker_section): Delete info parm. Don't make h dynamic. Don't set written_address_p. (ppc_elf_check_relocs): Adjust ppc_elf_create_linker_section calls. (bfd_put_ptr): Delete. (elf_finish_pointer_linker_section): Remove output_bfd and info parms. Always write section contents. Assert global sym is def_regular. Use offset bottom bit as a written flag. (ppc_elf_relocate_section): Adjust elf_finish_pointer_linker_section calls.
2005-03-22Add Daniel Jacobwitz to the blanket write privileges list.Nick Clifton2-0/+6
2005-03-22 * elf32-ppc.c (ppc_elf_set_sdata_syms): New function, extracted from..Alan Modra2-15/+46
(ppc_elf_set_sdata_syms): ..here. Expand comment. Set .sbss start and end syms.
2005-03-22top:Zack Weinberg8-190/+122
* Makefile.def: Remove libstdcxx_incdir, libsubdir, gxx_include_dir, gcc_version, and gcc_version_trigger from set of flags to pass. * Makefile.tpl: Remove definitions of above variables. (config.status): Remove dependency on $(gcc_version_trigger). * Makefile.in: Regenerate. * configure.in: Do not reference config/gcc-version.m4 nor config/gxx-include-dir.m4. Do not invoke TL_AC_GCC_VERSION nor TL_AC_GXX_INCLUDE_DIR. Do not set gcc_version_trigger. * configure: Regenerate. config: * gxx-include-dir.m4: In all substitutions, leave $(gcc_version) to be expanded by the Makefile.
2005-03-22*** empty log message ***gdbadmin1-1/+1
2005-03-212005-03-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-90/+36
* mn10300-prologue.c (fix_frame_pointer): Delete. (set_movm_offsets) Don't return just because movm_args is zero -- still need to save pc and sp in saved_regs. (mn10300_analyze_prologue): Don't return prematurely without calling set_movm_offsets (for pc and sp at minimum).
2005-03-21daily updateAlan Modra1-1/+1
2005-03-21* config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16Maciej W. Rozycki2-2/+12
relocations correctly as well. (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16 relocations in mergeable sections section-relative either.
2005-03-21 * configure.ac (stat.st_blksize): Check for it.Mark Mitchell5-3/+254
(getuid): Likewise. (getgid): Likewise. * configure: Regenerated. * config.in: Likewise. * remote-fileio.c (remote_fileio_to_fio_stat): Check HAVE_STRUCT_STAT_ST_BLKSIZE.
2005-03-21* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.Christopher Faylor3-2/+12
(do_initial_child_stuff): Move clearing of thread list to a place before a thread ould be created. (child_attach): Ditto.
2005-03-21 * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.Bob Wilson2-0/+5
2005-03-212005-03-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-595/+601
* mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr instead of pc addr for frame_id. Otherwise "until" won't work.
2005-03-21 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo inKevin Buettner2-1/+6
comment.
2005-03-21(coff_link_hash_entry): Only define for non WINCE targets.Nick Clifton2-0/+22
(t2a1_bx_pc_insn): Likewise. (t2a2_noop_insn): Likewise. (t2a3_b_insn): Likewise. (t2a1_push_insn): Likewise. (t2a2_ldr_insn): Likewise. (t2a3_mov_insn): Likewise. (t2a4_bx_insn): Likewise. (t2a5_pop_insn): Likewise. (t2a6_bx_insn): Likewise. (coff_arm_relocate_section): Only declare the high_address variable for non WINCE targets.
2005-03-21(sh_elf_final_processing): Fix compile time warning by providing a prototypeNick Clifton3-1/+14
for sh_symbian_find_elf_flags.
2005-03-21Fix typo introduced byprevious delta.Nick Clifton2-1/+6
2005-03-21Update instructions that use the "never" value in the conditional field to useNick Clifton3-6/+13
"le" instead. This is so that the disassembler will disassemble them.
2005-03-21bfd/Alan Modra9-139/+140
* elf32-ppc.c (ppc_elf_add_symbol_hook): Make htab->sbss SEC_LINKER_CREATED. Attach to dynobj. (ppc_elf_size_dynamic_sections): Strip htab->sbss if zero size. ld/ * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms. ld/testsuite/ * ld-powerpc/tlsexe32.r: Update. * ld-powerpc/tlsso32.d: Update. * ld-powerpc/tlsso32.g: Update. * ld-powerpc/tlsso32.r: Update.
2005-03-21bfd/Alan Modra5-155/+148
* elf32-ppc.c (struct elf_linker_section): Remove sym_hash and sym_offset. Add name, bss_name, sym_name, sym_val. (struct ppc_elf_link_hash_table): Remove sdata and sdata2 pointers. Add sdata array of elf_linker_section_t. (ppc_elf_link_hash_table_create): Set name, sym_name, and bss_name. (enum elf_linker_section_enum): Delete. (ppc_elf_create_linker_section): Rewrite. Don't create syms here. (ppc_elf_check_relocs): Delay ppc_elf_create_linker_section until the special sections are needed. Adjust htab->sdata refs. Ensure dynobj is set in sreloc code. (ppc_elf_size_dynamic_sections): Strip sdata sections. (ppc_elf_set_sdata_syms): New function. (elf_finish_pointer_linker_section): Use 0x8000 for sym_offset. (ppc_elf_relocate_section): Adjust references to htab->sdata. Use sym_val instead of sym_hash. * elf32-ppc.h (ppc_elf_set_sdata_syms): Declare. ld/ * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New function. (LDEMUL_AFTER_ALLOCATION): Define.
2005-03-21 * elf32-ppc.c (is_ppc_elf_target): Move to linker part of file.Alan Modra2-104/+109
(ppc_elf_merge_private_bfd_data): Likewise.
2005-03-21 * elf32-ppc.c (struct elf_linker_section): Remove rel_section.Alan Modra2-59/+13
(ppc_elf_create_linker_section): Don't create rel_section. (elf_create_pointer_linker_section): Don't size relocs. (elf_finish_pointer_linker_section): Remove relative_reloc parm. Don't generate relocs. (ppc_elf_relocate_section): Adjust calls to elf_finish_pointer_linker_section.
2005-03-21 * elf32-ppc.c (is_ppc_elf_target): New function.Alan Modra2-7/+25
(ppc_elf_merge_private_bfd_data): Use it rather than just testing for bfd_target_elf_flavour. Do this test before endian check. (ppc_elf_add_symbol_hook): Use is_pcc_elf_target. (ppc_elf_size_dynamic_sections): Likewise.
2005-03-21 * configure.tgt: Handle setting of bfd_gas for fmt=multi targetsAlan Modra2-17/+18
along with other formats that set bfd_gas. Remove unnecessary setting of bfd_gas. Delete strongarm cases in generic_target switch.
2005-03-21ld/Alan Modra9-77/+68
* emultempl/ppc64elf.em (ppc_finish): Rename from gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish. (LDEMUL_FINISH): Update. * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise. * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise. ld/testsuite/ * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.r: Update.
2005-03-21 PR gas/780Alan Modra2-36/+54
* config/tc-m68k.c (TRUNC, SEXT): Define. (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above. (m68k_ip): Truncate or sign extend expressions as appropriate. (get_num): Likewise. (md_apply_fix3): Use SEXT.
2005-03-21 * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.Alan Modra6-189/+358
(OBJ_FORMAT_HFILES): Prune config/obj-vms.h. (obj-vms.o): Delete rule. Run "make dep-am". * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2005-03-21*** empty log message ***gdbadmin1-1/+1
2005-03-202005-03-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu14-86/+110
* elf-bfd.h (elf_backend_data): Add int to elf_backend_section_from_shdr. (bfd_elf_section_data): Update comment for this_idx. (_bfd_elf_make_section_from_shdr): Add int. * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise. * elf.c (_bfd_elf_make_section_from_shdr): Take section index and use it to set this_idx in bfd_elf_section_data. (bfd_section_from_shdr): Pass shindex to _bfd_elf_make_section_from_shdr. (_bfd_elf_section_from_bfd_section): Use this_idx in bfd_elf_section_data to find section index. * elf32-arm.c (elf32_arm_section_from_shdr): Take section index and pass it to _bfd_elf_make_section_from_shdr. * elf32-i370.c(i370_elf_section_from_shdr): Likewise. * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. * elf32-v850.c (v850_elf_section_from_shdr): Likewise. * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. * elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise. * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise.
2005-03-20daily updateAlan Modra1-1/+1
2005-03-20* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.Mark Kettenis3-2/+5
* varobj.c (my_value_equal): Mark val2 as volatile.
2005-03-20Fix typo.Mark Kettenis1-1/+1
2005-03-202005-03-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* mmix-opc.c (O): Revert the last change. (Z): Likewise.