aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-11-082006-11-07 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-2/+7
* testsuite/ld-elf/symbol2w.s: Use "%" instead of "@" to avoid breakage on ARM.
2006-11-08 * symbols.c (symbol_create, symbol_clone): Don't set udata.p.Alan Modra2-2/+4
2006-11-08*** empty log message ***gdbadmin1-1/+1
2006-11-07gas:David Daney6-0/+98
* config/tc-mips.c (pic_need_relax): Return true for section symbols. gas/testsuite: * gas/mips/elf-rel26.s: New test. * gas/mips/elf-rel26.d: Ditto. * gas/mips/mips.exp: Run it.
2006-11-07daily updateAlan Modra1-1/+1
2006-11-07 * gentmap.c: Fix compile time warning.Thiemo Seufer2-0/+5
2006-11-07 * sim-base.h (text_start, text_end, start_addr): Use bfd_vma typeThiemo Seufer2-2/+7
for bfd text addresses.
2006-11-07Add Elf_file interface which can be used by both Sized_relobj andIan Lance Taylor7-226/+476
Sized_dynobj.
2006-11-07 * floatformat.c (get_field): Fix segfault with little-endian wordJulian Brown2-60/+56
order on 64-bit hosts. (put_field): Likewise. (min): Move definition.
2006-11-07 * dsp.igen (do_w_op): Fix compiler warning.Thiemo Seufer2-2/+6
2006-11-07 * elf32-arm.c (find_thumb_glue): Add ERROR_MESSAGE argument; set itDaniel Jacobowitz2-31/+50
on error. (find_arm_glue): Likewise. (elf32_thumb_to_arm_stub, elf32_arm_create_thumb_stub) (elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate): Add ERROR_MESSAGE argument and pass it through. (elf32_arm_to_thumb_export_stub): Update. (elf32_arm_relocate_section): Use ERROR_MESSAGE and reloc_dangerous.
2006-11-07Rework stringpool and hash tables so that we always generate the sameIan Lance Taylor8-78/+152
output regardless of randomize_va_space.
2006-11-07 * elf64-ppc.c (enum _ppc64_sec_type): New.Alan Modra2-46/+84
(struct _ppc64_elf_section_data): Move "t_symndx" into opd union, and rename fields. Add sec_type and has_14bit_branch. (struct ppc_link_hash_table): Remove has_14bit_branch. (get_opd_info, get_tls_mask, ppc64_elf_edit_opd): Adjust. (ppc64_elf_relocate_section): Likewise. (ppc64_elf_check_relocs): Likewise. Set per-section has_14bit_branch. (ppc64_elf_size_stubs): Don't set default group size here. (group_sections): Instead do so here, and group sections using their individual requirements.
2006-11-07 * elf64-ppc.c (struct ppc64_elf_obj_tdata): Remove "has_dotsym"Alan Modra2-76/+98
and union. (struct ppc_link_hash_entry): Add "next_dot_sym". (struct ppc_link_hash_table): Add "dot_syms". (link_hash_newfunc): Make list of syms starting with a dot. (ppc_get_stub_entry, adjust_opd_syms): Adjust. (ppc64_elf_add_symbol_hook): Don't set has_dotsym. (struct add_symbol_adjust_data): Delete. (add_symbol_adjust): Simplify params and return. (ppc64_elf_check_directives): Just process the "dot_syms" lists, not all syms.
2006-11-07*** empty log message ***gdbadmin1-1/+1
2006-11-062006-11-06 Jim Blandy <jimb@codesourcery.com>Jim Blandy2-4/+9
* (dwarf_expr_read_reg): Use frame_register_read, not frame_register. * dwarf2loc.c (dwarf_expr_read_reg): Use frame_register_read instead of frame_register. Doc fix.
2006-11-06daily updateAlan Modra1-1/+1
2006-11-06Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes.Ian Lance Taylor23-649/+807
2006-11-06Rework swapping code.Ian Lance Taylor3-252/+426
2006-11-06 * server.c (handle_query): Correct error handling for read_auxv.Daniel Jacobowitz2-1/+7
2006-11-06 * doc/c-mips.texi (-march): Document sb1a.Thiemo Seufer2-1/+6
2006-11-06 * config/tc-mips.c (mips_cpu_info_table): Remove 24k/24ke aliases.Thiemo Seufer2-6/+12
34k always has DSP ASE.
2006-11-062006-11-06 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-1/+6
* testsuite/ld-elf/symbol1ref.s: Use ".dc.a" instead of ".long".
2006-11-06 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Vladimir Prus6-7/+38
Don't prepend "warning" to the message. * testsuite/ld-elf/warn2.d: New. * testsuite/ld-elf/symbol2w.s: New. * testsuite/ld-elf/symbol2ref.s: New.
2006-11-06 * ppc-opc.c: Restore COM to mfcr wrongly removed 2003-07-04.Alan Modra2-1/+5
2006-11-06*** empty log message ***gdbadmin1-1/+1
2006-11-05daily updateAlan Modra1-1/+1
2006-11-05 * ld-cris/ldsym1.d: Adjust for semi-recent ld changes.Hans-Peter Nilsson2-1/+5
2006-11-05*** empty log message ***gdbadmin1-1/+1
2006-11-04daily updateAlan Modra1-1/+1
2006-11-042006-11-04 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2-1/+9
* serial.c (serial_open): Strip leading spaces from program name when opening pipe.
2006-11-04*** empty log message ***gdbadmin1-1/+1
2006-11-03daily updateAlan Modra1-1/+1
2006-11-032006-11-03 Jim Blandy <jimb@codesourcery.com>Jim Blandy2-5/+8
* dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register instead of frame_register. Doc fix.
2006-11-03Ignored the -m option, for old linker compatibility.Ian Lance Taylor3-14/+24
2006-11-03Update for line number changes.Ian Lance Taylor1-12/+12
2006-11-03gcc 3.2.2 portability hacks.Ian Lance Taylor7-40/+60
2006-11-03Can now do a full static link of hello, world in C or C++Ian Lance Taylor36-572/+3545
2006-11-03Fix typo in comment.Thiemo Seufer1-1/+1
2006-11-03 * config/tc-mips.c (md_pcrel_from_section): Disallow PC relativeThiemo Seufer2-0/+10
MIPS16 instructions referencing other sections, unless they are external branches.
2006-11-03 * config/tc-mips.c (mips_cpu_info_table): The 25Kf is a MIPS64Thiemo Seufer2-1/+6
release 1 CPU.
2006-11-03 * dw2gencfi.c (struct fde_entry): Add per_encoding, lsda_encoding,Jakub Jelinek7-10/+412
personality and lsda. (struct cie_entry): Add per_encoding, lsda_encoding and personality. (alloc_fde_entry): Initialize per_encoding and lsda_encoding. (cfi_pseudo_table): Handle .cfi_personality and .cfi_lsda. (dot_cfi_personality, dot_cfi_lsda, encoding_size): New functions. (output_cie): Output personality including its encoding and LSDA encoding. (output_fde): Output LSDA. (select_cie_for_fde): Don't share CIE if personality, its encoding or LSDA encoding are different. Copy the 3 fields from fde_entry to cie_entry. * doc/as.texinfo (.cfi_personality, .cfi_lsda): Document. * gas/cfi/cfi-common-6.d: New test. * gas/cfi/cfi-common-6.s: New. * gas/cfi/cfi.exp: Add cfi-common-6 test.
2006-11-03 * subsegs.h (struct frchain): Add frch_cfi_data field.Jakub Jelinek7-39/+123
* dw2gencfi.c: Include subsegs.h. (cur_fde_data, last_address, cur_cfa_offset, cfa_save_stack): Removed. (struct frch_cfi_data): New type. (unused_cfi_data): New variable. (alloc_fde_entry): Move cur_fde_data, last_address, cur_cfa_offset and cfa_save_stack static vars into a structure pointed from each frchain. (alloc_cfi_insn_data, cfi_new_fde, cfi_end_fde, cfi_set_return_column, cfi_add_advance_loc, cfi_add_CFA_def_cfa, cfi_add_CFA_def_cfa_offset, cfi_add_CFA_remember_state, cfi_add_CFA_restore_state, dot_cfi, dot_cfi_escape, dot_cfi_startproc, dot_cfi_endproc, cfi_finish): Likewise. * gas/cfi/cfi-common-5.d: New test. * gas/cfi/cfi-common-5.s: New. * gas/cfi/cfi.exp: Add cfi-common-5 test.
2006-11-03bfd/Daniel Jacobowitz21-24/+216
* libbfd-in.h (_bfd_clear_contents): New prototype. * reloc.c (_bfd_clear_contents): New. * libbfd.h: Regenerated. * elf32-arm.c (elf32_arm_final_link_relocate): Use _bfd_clear_contents. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Set value to zero for discarded symbols. * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. ld/testsuite/ * ld-discard/zero-rel.d, ld-discard/zero-rel.s: New files.
2006-11-03*** empty log message ***gdbadmin1-1/+1
2006-11-02daily updateAlan Modra1-1/+1
2006-11-02 * config/tc-h8300.c (build_bytes): Fix const warning.Daniel Jacobowitz2-1/+5
2006-11-02 * dwarf2read.c (struct dwarf2_per_cu_data): Update comment.Daniel Jacobowitz2-9/+27
(load_full_comp_unit): Take OBJFILE argument and use it. (dwarf2_build_psymtabs_hard): Skip partial units. (process_queue): Pass OBJFILE to load_full_comp_unit. Check type_hash for read in CUs. Test psymtab for NULL.
2006-11-02 * arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5.Daniel Jacobowitz2-0/+5
2006-11-02 [ bfd/ChangeLog ]Thiemo Seufer12-66/+5846
* elf-bfd.h (local_call_stubs): New member. * elfxx-mips.c (FN_STUB_P, CALL_STUB_P, CALL_FP_STUB_P): New macros. (mips_elf_calculate_relocation): Handle local mips16 call stubs. (mips16_stub_section_p): Rename from mips_elf_stub_section_p, use the new stub macros. (_bfd_mips_elf_check_relocs): Handle call stubs for code which mixes mips16 and mips32 functions. Use mips16_stub_section_p. Mark used stubs with SEC_KEEP. Use the new stub macros. [ gas/testsuite/ChangeLog ] * gas/mips/mips16-intermix.d, gas/mips/mips16-intermix.s: New testcase. * gas/mips/mips.exp: Run new testcase. [ ld/testsuite/ChangeLog ] * ld-mips-elf/mips16-intermix-1.s, ld-mips-elf/mips16-intermix-2.s, ld-mips-elf/mips16-intermix.d: New testcase. * ld-mips-elf/mips-elf.exp (mips16_intermix_test): Run new testcases.