OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago2006-06-19 Vladimir Prus <vladimir@codesourcery.com>
Paul Brook [Tue, 20 Jun 2006 13:55:08 +0000 (13:55 +0000)]
2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
bit for undefined symbols.

ld/testsuite
* ld-arm/arm-elf.exp: New test.
* ld-arm/use-thumb-lib.s: New file.
* ld-arm/use-thumb-lib.sym: New file.

18 years ago * bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.
Jakub Jelinek [Tue, 20 Jun 2006 09:58:36 +0000 (09:58 +0000)]
* bfd.c (bfd_record_phdr): Clear p_align and p_align_valid fields.
* elf.c (_bfd_elf_link_hash_table_init): Clear hplt field.

18 years ago2006-06-20 David Ayers <d.ayers@inode.at>
David Ayers [Tue, 20 Jun 2006 08:45:35 +0000 (08:45 +0000)]
2006-06-20  David Ayers  <d.ayers@inode.at>

PR bootstrap/28072
* configure.in: Add target-boehm-gc to noconfigdirs depending on
whether target-libjava is being configured instead of whether the
java front end is enabled.
* configure: Regenerate.

18 years agobfd/
Alan Modra [Tue, 20 Jun 2006 02:22:16 +0000 (02:22 +0000)]
bfd/
* elf-bfd.h: Formatting.
(_bfd_elf_map_sections_to_segments): Declare.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame_hdr): Don't
clear program_header_size.
* elf.c (get_program_header_size): Move.  Don't use or set saved
program_header_size here.
(elf_modify_segment_map): New function.  Split out from..
(assign_file_positions_for_load_sections): ..here.  Assert
header size is correct.  Remove dead code.
(_bfd_elf_map_sections_to_segments): Rename from
map_sections_to_segments.  Make global.  Use get_program_header_size
when we need estimate of header size.  Call elf_modify_segment_map.
Set program_header_size.
(print_segment_map): Delete.
(_bfd_elf_sizeof_headers): If segment_map available, get the
actual size.
* elf32-arm.c (elf32_arm_symbian_modify_segment_map): Make safe
for calling more than once.
* elf32-bfin.c (elf32_bfinfdpic_modify_segment_map): Likewise.
* elf32-frv.c (elf32_frvfdpic_modify_segment_map): Likewise.
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
* elf32-i370.c (elf_backend_add_symbol_hook): Delete.
(elf_backend_additional_program_headers): Delete.
(elf_backend_modify_segment_map): Delete.
* elf64-hppa.c (elf64_hppa_modify_segment_map): Convert to ISO C.
* elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
* doc/bfdint.texi: Delete SIZEOF_HEADERS difficulties.
ld/
* Makefile.am (ELF_DEPS): Define.  Use in emul file deps.  Fix
many ELF emul file deps that incorrectly said they needed elf32.em
instead of generic.em.  Add genelf.em as required.
* Makefile.in: Regenerate.
* ldlang.c (lang_process): Call ldemul_finish before
lang_check_section_addresses.
* emulparams/arcelf.sh: Generic elf target needs genelf.
* emulparams/d30v_e.sh: Likewise.
* emulparams/d30v_o.sh: Likewise.
* emulparams/d30velf.sh: Likewise.
* emulparams/elf32_dlx.sh: Likewise.
* emulparams/elf32_i860.sh: Likewise.
* emulparams/elf32fr30.sh: Likewise.
* emulparams/elf32frv.sh: Likewise.
* emulparams/elf32iq10.sh: Likewise.
* emulparams/elf32iq2000.sh: Likewise.
* emulparams/elf32mt.sh: Likewise.
* emulparams/mn10200.sh: Likewise.
* emulparams/or32.sh: Likewise.
* emulparams/or32elf.sh: Likewise.
* emulparams/pjelf.sh: Likewise.
* emulparams/msp430all.sh: Likewise.  Extract common entries.
* emulparams/pjlelf.sh: Include pjelf.sh.
* emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
* emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
* emultempl/elf-generic.em: New file.
* emultempl/genelf.em: New file.
* emultempl/elf32.em: Include elf-generic.em.
(gld${EMULATION_NAME}_layout_sections_again): Delete.
(gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
* emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
(gld${EMULATION_NAME}_finish): Rename from hppaelf_finish.  Call
gld${EMULATION_NAME}_map_segments.
(LDEMUL_FINISH): Update.
* emultempl/mmo.em: Correct comment.  Include elf-bfd.h and
source elf-generic.em.
(mmo_finish): Call gld${EMULATION_NAME}_map_segments.
* emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
(gld${EMULATION_NAME}_finish): Rename from ppc_finish.  Call
gld${EMULATION_NAME}_map_segments.
(LDEMUL_FINISH): Update.
ld/testsuite/
* ld-elf/eh1.d: Update for fewer program headers.
* ld-elf/eh2.d: Likewise.
* ld-elf/eh3.d: Likewise.

18 years agodaily update
Alan Modra [Tue, 20 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * config/tc-avr.c (mcu_types): Add support for atmega165p, atmega169p
Denis Chertykov [Mon, 19 Jun 2006 16:58:29 +0000 (16:58 +0000)]
* config/tc-avr.c (mcu_types): Add support for atmega165p, atmega169p
and atmega644p devices. Rename atmega164/atmega324 devices to
atmega164p/atmega324p.
* doc/c-avr.texi: Document new mcu and arch options.

18 years ago2006-06-19 Vladimir Prus <vladimir@codesourcery.com>
Paul Brook [Mon, 19 Jun 2006 14:22:27 +0000 (14:22 +0000)]
2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
bit for undefined symbols.

ld/testsuite
* ld-arm/arm-elf.exp: New test.
* ld-arm/use-thumb-lib.s: New file.
* ld-arm/use-thumb-lib.sym: New file.

18 years agobfd/
Alan Modra [Mon, 19 Jun 2006 13:17:44 +0000 (13:17 +0000)]
bfd/
* elf-bfd.h (struct elf_backend_data): Add bfd_link_info pointer
parameter.
(_bfd_elf_sizeof_headers): Replace bfd_boolean param with
bfd_link_info pointer.
* targets.c (struct bfd_target <_bfd_sizeof_headers>): Likewise.
* bfd.c (bfd_sizeof_headers): Tweak param name.
* aout-adobe.c (aout_adobe_sizeof_headers): Adjust.
* aoutx.h (NAME (aout, sizeof_headers)): Adjust.
* binary.c (binary_sizeof_headers): Adjust.
* bout.c (b_out_sizeof_headers): Adjust.
* coff-rs6000.c (_bfd_xcoff_sizeof_headers): Adjust.
* coff64-rs6000.c (xcoff64_sizeof_headers): Adjust.
* coffgen.c (coff_sizeof_headers): Adjust.
* ecoff.c (_bfd_ecoff_sizeof_headers): Adjust.
(ecoff_compute_section_file_positions): Adjust.
(_bfd_ecoff_write_object_contents): Adjust.
* elf.c (get_program_header_size, _bfd_elf_sizeof_headers): Adjust.
* elf32-arm.c (elf32_arm_additional_program_headers): Adjust.
* elf32-i370.c (elf_backend_additional_program_headers): Adjust.
* elf32-ppc.c (ppc_elf_additional_program_headers): Adjust.
* elf64-hppa.c (elf64_hppa_additional_program_headers): Adjust.
* elf64-x86-64.c (elf64_x86_64_additional_program_headers): Adjust.
* elfxx-ia64.c (elfNN_ia64_additional_program_headers): Adjust.
* elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Adjust.
* elfxx-mips.h (_bfd_mips_elf_additional_program_headers): Adjust.
* i386msdos.c: Convert to ISO C.
(msdos_sizeof_headers): Adjust.
* i386os9k.c: Convert to ISO C.
(os9k_sizeof_headers): Adjust.
* ieee.c (ieee_sizeof_headers): Adjust.
* ihex.c (ihex_sizeof_headers): Adjust.
* libaout.h (NAME (aout, sizeof_headers)): Adjust.
* libbfd-in.h (_bfd_nolink_sizeof_headers): Adjust.
* libcoff-in.h (coff_sizeof_headers): Adjust.
* libecoff.h (_bfd_ecoff_sizeof_headers): Adjust.
* mach-o.c (bfd_mach_o_sizeof_headers): Adjust.
* mmo.c (mmo_sizeof_headers): Adjust.
* oasys.c (oasys_sizeof_headers): Adjust.
* pdp11.c (NAME (aout, sizeof_headers)): Adjust.
* pef.c (bfd_pef_sizeof_headers): Adjust.
* ppcboot.c (ppcboot_sizeof_headers): Adjust.
* som.c (som_sizeof_headers): Adjust.
* srec.c (srec_sizeof_headers): Adjust.
* tekhex.c (tekhex_sizeof_headers): Adjust.
* versados.c (versados_sizeof_headers): Adjust.
* vms.c (vms_sizeof_headers): Adjust.
* xcoff-target.h (_bfd_xcoff_sizeof_headers): Adjust.
* xsym.c (bfd_sym_sizeof_headers): Adjust.
* xsym.h (bfd_sym_sizeof_headers): Adjust.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
ld/
* ldexp.c (fold_name): Adjust bfd_sizeof_headers call.

18 years agodaily update
Alan Modra [Mon, 19 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agoSkip for non-ELF targets.
Nick Clifton [Sun, 18 Jun 2006 10:05:27 +0000 (10:05 +0000)]
Skip for non-ELF targets.

18 years agodaily update
Alan Modra [Sun, 18 Jun 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago(enum parse_operand_result): Move outside of #ifdef OBJ_ELF so that non-ELF
Nick Clifton [Sat, 17 Jun 2006 16:05:41 +0000 (16:05 +0000)]
(enum parse_operand_result): Move outside of #ifdef OBJ_ELF so that non-ELF
targeted ARM ports can build.

18 years agodaily update
Alan Modra [Sat, 17 Jun 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago2006-06-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 16 Jun 2006 15:46:11 +0000 (15:46 +0000)]
2006-06-16  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (processor_type): New.
(arch_entry): Add type.

* config/tc-i386.c (cpu_arch_tune): New.
(cpu_arch_tune_flags): Likewise.
(cpu_arch_isa_flags): Likewise.
(cpu_arch): Updated.
(set_cpu_arch): Also update cpu_arch_isa_flags.
(md_assemble): Update cpu_arch_isa_flags.
(OPTION_MARCH): New.
(OPTION_MTUNE): Likewise.
(md_longopts): Add -march= and -mtune=.
(md_parse_option): Support -march= and -mtune=.
(md_show_usage): Add -march=CPU/-mtune=CPU.
(i386_target_format): Also update cpu_arch_isa_flags,
cpu_arch_tune and cpu_arch_tune_flags.

* doc/as.texinfo: Add -march=CPU/-mtune=CPU.

* doc/c-i386.texi: Document -march=CPU/-mtune=CPU.

18 years agodaily update
Alan Modra [Fri, 16 Jun 2006 00:29:05 +0000 (00:29 +0000)]
daily update

18 years ago * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}
Mark Shinwell [Thu, 15 Jun 2006 11:03:02 +0000 (11:03 +0000)]
* include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}
to R_ARM_LDC_SB_G{0,1,2} respectively.

bfd/
* bfd-in2.h: Regenerate.
* elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0,
R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2,
R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0,
R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0,
R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC,
R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1,
R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1,
R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1,
R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1,
R_ARM_LDC_SB_G2): New relocation types.
(R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and
adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1
and friends.
(elf32_arm_howto_table_3): Delete; contents merged into
elf32_arm_howto_table_2.
(elf32_arm_howto_from_type): Adjust correspondingly.
(elf32_arm_reloc_map): Extend with the above relocations.
(calculate_group_reloc_mask): New function.
(identify_add_or_sub): New function.
(elf32_arm_final_link_relocate): Support for the above
relocations.
* reloc.c: Add enumeration entries for BFD_RELOC_ARM_...
codes to correspond to the above relocations.

gas/
* config/tc-arm.c (enum parse_operand_result): New.
(struct group_reloc_table_entry): New.
(enum group_reloc_type): New.
(group_reloc_table): New array.
(find_group_reloc_table_entry): New function.
(parse_shifter_operand_group_reloc): New function.
(parse_address_main): New function, incorporating code
from the old parse_address function.  To be used via...
(parse_address): wrapper for parse_address_main; and
(parse_address_group_reloc): new function, likewise.
(enum operand_parse_code): New codes OP_SHG, OP_ADDRGLDR,
OP_ADDRGLDRS, OP_ADDRGLDC.
(parse_operands): Support for these new operand codes.
New macro po_misc_or_fail_no_backtrack.
(encode_arm_cp_address): Preserve group relocations.
(insns): Modify to use the above operand codes where group
relocations are permitted.
(md_apply_fix): Handle the group relocations
ALU_PC_G0_NC through LDC_SB_G2.
(tc_gen_reloc): Likewise.
(arm_force_relocation): Leave group relocations for the linker.
(arm_fix_adjustable): Likewise.

gas/testsuite/
* gas/arm/group-reloc-alu.d: New test.
* gas/arm/group-reloc-alu-encoding-bad.d: New test.
* gas/arm/group-reloc-alu-encoding-bad.l: New test.
* gas/arm/group-reloc-alu-encoding-bad.s: New test.
* gas/arm/group-reloc-alu-parsing-bad.d: New test.
* gas/arm/group-reloc-alu-parsing-bad.l: New test.
* gas/arm/group-reloc-alu-parsing-bad.s: New test.
* gas/arm/group-reloc-alu.s: New test.
* gas/arm/group-reloc-ldc.d: New test.
* gas/arm/group-reloc-ldc-encoding-bad.d: New test.
* gas/arm/group-reloc-ldc-encoding-bad.l: New test.
* gas/arm/group-reloc-ldc-encoding-bad.s: New test.
* gas/arm/group-reloc-ldc-parsing-bad.d: New test.
* gas/arm/group-reloc-ldc-parsing-bad.l: New test.
* gas/arm/group-reloc-ldc-parsing-bad.s: New test.
* gas/arm/group-reloc-ldc.s: New test.
* gas/arm/group-reloc-ldr.d: New test.
* gas/arm/group-reloc-ldr-encoding-bad.d: New test.
* gas/arm/group-reloc-ldr-encoding-bad.l: New test.
* gas/arm/group-reloc-ldr-encoding-bad.s: New test.
* gas/arm/group-reloc-ldr-parsing-bad.d: New test.
* gas/arm/group-reloc-ldr-parsing-bad.l: New test.
* gas/arm/group-reloc-ldr-parsing-bad.s: New test.
* gas/arm/group-reloc-ldr.s: New test.
* gas/arm/group-reloc-ldrs.d: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.d: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.l: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.s: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.d: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.l: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.s: New test.
* gas/arm/group-reloc-ldrs.s: New test.

ld/testsuite/
* ld-arm/group-relocs-alu-bad.d: New test.
* ld-arm/group-relocs-alu-bad.s: New test.
* ld-arm/group-relocs.d: New test.
* ld-arm/group-relocs-ldc-bad.d: New test.
* ld-arm/group-relocs-ldc-bad.s: New test.
* ld-arm/group-relocs-ldr-bad.d: New test.
* ld-arm/group-relocs-ldr-bad.s: New test.
* ld-arm/group-relocs-ldrs-bad.d: New test.
* ld-arm/group-relocs-ldrs-bad.s: New test.
* ld-arm/group-relocs.s: New test.
* ld-arm/arm-elf.exp: Wire in new tests.

18 years ago * config/tc-arm.c (do_vfp_nsyn_ldr_str): Remove, fold into...
Julian Brown [Thu, 15 Jun 2006 10:51:28 +0000 (10:51 +0000)]
* config/tc-arm.c (do_vfp_nsyn_ldr_str): Remove, fold into...
(do_neon_ldr_str): Always defer to VFP encoding routines, which handle
relocs properly.

18 years agoremove conflict indicators
Paolo Bonzini [Thu, 15 Jun 2006 06:25:49 +0000 (06:25 +0000)]
remove conflict indicators

18 years ago2006-06-15 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 15 Jun 2006 06:25:23 +0000 (06:25 +0000)]
2006-06-15  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS
too.
* Makefile.in: Regenerate.

18 years agodaily update
Alan Modra [Thu, 15 Jun 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * gas/mips/elf-rel6.d, gas/mips/elf-rel6.s: Extend testcase.
Thiemo Seufer [Wed, 14 Jun 2006 18:04:44 +0000 (18:04 +0000)]
* gas/mips/elf-rel6.d, gas/mips/elf-rel6.s: Extend testcase.
* gas/mips/elf-rel6.d-n32.d, gas/mips/elf-rel6-n64.d: New files.
* gas/mips/mips.exp: Run new testcases.

18 years ago * gas/mips/mips16e-jrc.d, gas/mips/mips16e-save.d,
Thiemo Seufer [Wed, 14 Jun 2006 08:29:42 +0000 (08:29 +0000)]
* gas/mips/mips16e-jrc.d, gas/mips/mips16e-save.d,
gas/mips/mips32-dsp.d, gas/mips/mips32-mt.d: Explicitly specify
o32 ABI.

18 years agobfd/
Richard Sandiford [Wed, 14 Jun 2006 08:27:41 +0000 (08:27 +0000)]
bfd/
* elf32-m68k.c (elf_m68k_plt_info): New structure.
(elf_m68k_plt0_entry): Add R_68K_PC32-style in-place addends.
(elf_m68k_plt_entry): Likewise.
(elf_m68k_plt_info): New table.
(CFV4E_PLT_ENTRY_SIZE): Rename to...
(ISAB_PLT_ENTRY_SIZE): ...this.
(CFV4E_FLAG): Delete.
(elf_cfv4e_plt0_entry): Rename to...
(elf_isab_plt0_entry): ...this.  Adjust comments.  Use (-6,%pc,%d0)
for the second instruction too.
(elf_cfv4e_plt_entry): Rename to...
(elf_isab_plt_entry): ...this.  Adjust comments and use (-6,%pc,%d0).
(elf_isab_plt_info): New table.
(CPU32_FLAG): Delete.
(PLT_CPU32_ENTRY_SIZE): Rename to...
(CPU32_PLT_ENTRY_SIZE): ...this.
(elf_cpu32_plt0_entry): Update bounds accordingly.  Add R_68K_PC32-
style in-place addends.
(elf_cpu32_plt_entry): Likewise.
(elf_cpu32_plt_info): New table.
(elf_m68k_link_hash_table): Add a plt_info field.
(elf_m68k_link_hash_table_create): Initialize it.
(elf_m68k_get_plt_info): New function.
(elf_m68k_always_size_sections): Likewise.
(elf_m68k_adjust_dynamic_symbol): Use the plt_info hash table field.
(elf_m68k_install_pc32): New function.
(elf_m68k_finish_dynamic_symbol): Factor code using plt_info and
elf_m68k_install_pc32.
(elf_m68k_finish_dynamic_sections): Likewise.
(elf_m68k_plt_sym_val): Use elf_m68k_get_plt_info.
(elf_backend_always_size_sections): Define.

ld/testsuite/
* ld-m68k/plt1.s, ld-m68k/plt1-empty.s, ld-m68k/plt1.ld: New files.
* ld-m68k/plt1-68020.d, ld-m68k/plt1-cpu32.d: Likewise.
* ld-m68k/plt1-isab.d: Likewise.
* ld-m68k/m68k.exp: Run new PLT tests.

18 years ago * ld.texinfo: Document new -z lazy option.
Alan Modra [Wed, 14 Jun 2006 02:43:58 +0000 (02:43 +0000)]
* ld.texinfo: Document new -z lazy option.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
new option.
(gld${EMULATION_NAME}_list_options): Update help text.

18 years agodaily update
Alan Modra [Wed, 14 Jun 2006 00:22:15 +0000 (00:22 +0000)]
daily update

18 years ago Sync from gcc:
Dave Anglin [Tue, 13 Jun 2006 23:06:42 +0000 (23:06 +0000)]
Sync from gcc:
2006-06-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* configure.in: Don't enable libgomp on hpux10.
* configure: Rebuilt.

18 years ago * elflink.c (elf_link_add_object_symbols): Save and restore
Alan Modra [Tue, 13 Jun 2006 14:49:54 +0000 (14:49 +0000)]
* elflink.c (elf_link_add_object_symbols): Save and restore
struct bfd_hash_table table, size and count fields for
as-needed libs.

18 years ago2006-06-13 David Ayers <d.ayers@inode.at>
David Ayers [Tue, 13 Jun 2006 14:46:59 +0000 (14:46 +0000)]
2006-06-13  David Ayers  <d.ayers@inode.at>

Sync from gcc:

2006-06-12  David Ayers  <d.ayers@inode.at>

PR bootstrap/27963
PR target/19970
* configure.in: Remove target-boehm-gc from noconfigdirs where
${libgcj} is specified.
* configure: Regenerate.

18 years agoRichard Earnshaw <rearnsha@arm.com>
Richard Earnshaw [Tue, 13 Jun 2006 08:02:20 +0000 (08:02 +0000)]
Richard Earnshaw  <rearnsha@arm.com>
Alexandre Oliva <aoliva@redhat.com>

* (ZW_GNU_GETTEXT_SISTER_DIR): Add optional
argument for where to search for NLS config file.

18 years agodaily update
Alan Modra [Tue, 13 Jun 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years agogas/testsuite/
H.J. Lu [Mon, 12 Jun 2006 18:59:37 +0000 (18:59 +0000)]
gas/testsuite/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run nops and x86-64-nops.

* gas/i386/nops.d: New file.
* gas/i386/nops.s: Likewise.
* gas/i386/x86-64-nops.d: Likewise.
* gas/i386/x86-64-nops.s: Likewise.

include/opcode/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Add "nop" with memory reference.

opcodes/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (dis386_twobyte): Use "nopQ" for 0x1f.
(twobyte_has_modrm): Set 1 for 0x1f.

18 years agogas/
H.J. Lu [Mon, 12 Jun 2006 18:55:44 +0000 (18:55 +0000)]
gas/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_suffix): Don't add rex64 for
"xchg %rax,%rax".

gas/testsuite/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/opcode.s: Add "xchg %ax,%ax".
* gas/i386/opcode.d: Updated.

* gas/i386/x86-64-opcode.s: Add xchg %ax,%ax, xchg %eax,%eax,
xchg %rax,%rax, rex64 xchg %rax,%rax and xchg %rax,%r8.
* gas/i386/x86-64-opcode.d: Updated.

include/opcode/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Update comment for 64bit NOP.

opcodes/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (NOP_Fixup): Removed.
(NOP_Fixup1): New.
(NOP_Fixup2): Likewise.
(dis386): Use NOP_Fixup1 and NOP_Fixup2 on 0x90.

18 years ago * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as signed
Julian Brown [Mon, 12 Jun 2006 15:31:28 +0000 (15:31 +0000)]
* arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as signed
on 64-bit hosts.

18 years agoReviewed and approved by Daniel Jacobowitz and Thiemo Seufer
Fred Fish [Mon, 12 Jun 2006 12:36:26 +0000 (12:36 +0000)]
Reviewed and approved by Daniel Jacobowitz and Thiemo Seufer

2006-06-12  Fred Fish  <fnf@specifix.com>
* emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
generated by mips gcc.

18 years ago [ bfd/ChangeLog ]
Thiemo Seufer [Mon, 12 Jun 2006 11:35:45 +0000 (11:35 +0000)]
[ bfd/ChangeLog ]
* elf32-mips.c: Expand comment about ABI-mandated pagesize values.
(ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): define in a more obvious way.
* elf64-mips.c, elfn32-mips.c (ELF_MAXPAGESIZE): Fix value for IRIX6.
Delete old comments.
(ELF_COMMONPAGESIZE): Define in a more obvious way.

[ ld/ChangeLog ]
* emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
Define.

[ ld/testsuite/ChangeLog ]
* ld-mips-elf/multi-got-no-shared.d: Adjust for recent change of
ELF_MAXPAGESIZE.

18 years agoPR binutils/2735
Nick Clifton [Mon, 12 Jun 2006 11:12:51 +0000 (11:12 +0000)]
PR binutils/2735
* elflink.c (elf_link_add_object_symbols): Fix the warning message about
  mismatched alignments to allow for the case where the common alignment
  has been deduced from the section alignment.
* bfd.c (_bfd_default_error_handler): Update comment to explain why bfd
  and asection varargs are out of order.
  Explicitly catch and abort on NULL bfd and asection arguments.

18 years agodaily update
Alan Modra [Mon, 12 Jun 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agobfd/
Richard Sandiford [Sun, 11 Jun 2006 08:33:27 +0000 (08:33 +0000)]
bfd/
* elfxx-mips.c (mips_elf_link_hash_table): Add function_stub_size.
(STUB_ORI): New macro.
(STUB_LI16U): Fix formatting.
(MIPS_FUNCTION_STUB_SIZE): Delete.
(MIPS_FUNCTION_STUB_MAX_SIZE): Likewise.
(MIPS_FUNCTION_STUB_NORMAL_SIZE): New macro.
(MIPS_FUNCTION_STUB_BIG_SIZE): Likewise.
(_bfd_mips_elf_adjust_dynamic_symbol): Use htab->function_stub_size
instead of MIPS_FUNCTION_STUB_SIZE.
(count_section_dynsyms): New function, split out from
_bfd_mips_elf_final_link.
(_bfd_mips_elf_always_size_sections): Get a worst-case estimate
of the number of dynamic symbols needed and use it to set up
function_stub_size.  Use function_stub_size rather than
MIPS_FUNCTION_STUB_SIZE to determine the size of the stub section.
Use 16-byte stubs for 0x10000 dynamic symbols.
(_bfd_mips_elf_size_dynamic_sections): Use htab->function_stub_size
instead of MIPS_FUNCTION_STUB_SIZE.  Fix formatting.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise.  Change the
size of the stub buffer from MIPS_FUNCTION_STUB_MAX_SIZE to
MIPS_FUNCTION_STUB_BIG_SIZE.  Tweak the check for unhandled dynindxes.
Use MIPS_FUNCTION_STUB_BIG_SIZE rather than a hard-coded 20.
Use STUB_ORI rather than STUB_LI16U for big stubs.
(_bfd_mips_elf_link_hash_table_create): Initialize function_stub_size.
(_bfd_mips_elf_final_link): Use count_section_dynsyms.

ld/testsuite/
* ld-mips-elf/stub-dynsym-1.s,
* ld-mips-elf/stub-dynsym-1.ld,
* ld-mips-elf/stub-dynsym-1-7fff.d,
* ld-mips-elf/stub-dynsym-1-8000.d,
* ld-mips-elf/stub-dynsym-1-fff0.d,
* ld-mips-elf/stub-dynsym-1-10000.d,
* ld-mips-elf/stub-dynsym-1-2fe80.d: New test.
* ld-mips-elf/mips-elf.exp: Run it.

18 years agodaily update
Alan Modra [Sun, 11 Jun 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago2006-06-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 10 Jun 2006 18:20:39 +0000 (18:20 +0000)]
2006-06-10  H.J. Lu  <hongjiu.lu@intel.com>

* i386.c (GRP10): Renamed to ...
(GRP12): This.
(GRP11): Renamed to ...
(GRP13): This.
(GRP12): Renamed to ...
(GRP14): This.
(GRP13): Renamed to ...
(GRP15): This.
(GRP14): Renamed to ...
(GRP16): This.
(dis386_twobyte): Updated.
(grps): Likewise.

18 years agodaily update
Alan Modra [Sat, 10 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub
Thiemo Seufer [Fri, 9 Jun 2006 13:47:41 +0000 (13:47 +0000)]
* bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub
calling relocations.

18 years agoUpdated Finnish translation
Nick Clifton [Fri, 9 Jun 2006 13:40:51 +0000 (13:40 +0000)]
Updated Finnish translation

18 years agoLost bit belonging to the last commit.
Thiemo Seufer [Fri, 9 Jun 2006 12:55:00 +0000 (12:55 +0000)]
Lost bit belonging to the last commit.

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Fri, 9 Jun 2006 11:53:39 +0000 (11:53 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_ip): Maintain argument count.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips32-sf32.s, gas/mips/mips32-sf32.d: New test for odd
single precision FPRs on MIPS32.
* gas/mips/mips.exp: Run them.

18 years ago * config/tc-iq2000.c: Include sb.h.
Alan Modra [Fri, 9 Jun 2006 03:42:25 +0000 (03:42 +0000)]
* config/tc-iq2000.c: Include sb.h.

18 years ago * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
Alan Modra [Fri, 9 Jun 2006 01:13:39 +0000 (01:13 +0000)]
* ldlang.h (lang_input_statement_type): Use bitfields for booleans.
* ldlang.c (struct out_section_hash_entry): Rename from
output_statement_hash_entry.  Delete output_section_statement_type
entry.  Add statement_union_type entry.  Adjust all users.
(output_section_statement_table): Rename from output_statement_table.
Adjust all users.
(output_section_statement_newfunc): Rename from
output_statement_newfunc.  Adjust all users.
(output_section_statement_table_init): Rename from
output_statement_table_init.  Adjust all users.
(output_section_statement_table_free): Rename from
output_statement_table_free.  Adjust all users.

18 years agodaily update
Alan Modra [Fri, 9 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * elfxx-mips.c (STUB_LI16): Removed.
David Daney [Thu, 8 Jun 2006 23:51:25 +0000 (23:51 +0000)]
* elfxx-mips.c (STUB_LI16): Removed.
(STUB_LUI): New macro.
(STUB_LI16U): Ditto.
(STUB_LI16S): Ditto.
(MIPS_FUNCTION_STUB_SIZE): Rewrote to take info parameter.
(_bfd_mips_elf_adjust_dynamic_symbol): Pass info parameter to
MIPS_FUNCTION_STUB_SIZE.
(_bfd_mips_elf_always_size_sections): Ditto.
(_bfd_mips_elf_size_dynamic_sections): Ditto.
(_bfd_mips_elf_finish_dynamic_sections): Ditto.
(_bfd_mips_elf_finish_dynamic_symbol): Rewrote stub generation
to allow larger symbol table indexes.

18 years ago * gas/mips/mips32.s: Added cop2 branches with explicit condition
Thiemo Seufer [Thu, 8 Jun 2006 21:42:50 +0000 (21:42 +0000)]
* gas/mips/mips32.s: Added cop2 branches with explicit condition
code register numbers.
* gas/mips/mips32.d: Likewise.

18 years ago2006-06-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 8 Jun 2006 16:10:12 +0000 (16:10 +0000)]
2006-06-08  Jeff Johnston  <jjohnstn@redhat.com>

        Sync from gcc:

        2005-01-12  David Edelsohn  <edelsohn@gnu.org>
                    Andreas Schwab  <schwab@suse.de>

        PR bootstrap/18033
        * config-ml.in: Eval option if surrounded by single quotes.

18 years ago * config/tc-mips.c (mips_pseudo_table): Add "origin" and "repeat"
Thiemo Seufer [Thu, 8 Jun 2006 15:28:26 +0000 (15:28 +0000)]
* config/tc-mips.c (mips_pseudo_table): Add "origin" and "repeat"
aliases for better compatibility with SGI tools.

18 years ago * configure.in (BFDLIB, BFDVER_H, ALL_OBJ_DEPS): Delete.
Alan Modra [Thu, 8 Jun 2006 05:09:37 +0000 (05:09 +0000)]
* configure.in (BFDLIB, BFDVER_H, ALL_OBJ_DEPS): Delete.
* Makefile.am (GASLIBS): Expand @BFDLIB@.
(BFDVER_H): Delete.
(OBJS): Expand @ALL_OBJ_DEPS@.  Depend on all fopen-*.h variants.
(obj-aout.o): Depend on $(DEP_@target_get_type@_aout)
(obj-coff.o, obj-ecoff.o, obj-elf.o): Similarly.
Run "make dep-am".
* dep-in.sed: Don't substitute bfdver.h.  Do remove symcat.h.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* configure: Regenerate.

18 years agodaily update
Alan Modra [Thu, 8 Jun 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agoWhitespace fixes.
DJ Delorie [Wed, 7 Jun 2006 23:30:11 +0000 (23:30 +0000)]
Whitespace fixes.

18 years ago2006-06-07 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Wed, 7 Jun 2006 22:33:16 +0000 (22:33 +0000)]
2006-06-07  Carlos O'Donell  <carlos@codesourcery.com>

Sync from gcc:

2006-06-06  David Ayers  <d.ayers@inode.at>

PR libobjc/13946
* Makefile.def: Add dependencies for libobjc which boehm-gc.
* Makefile.in: Regenerate.
* configure.in: Add --enable-objc-gc at toplevel and have it
enable boehm-gc for Objective-C.
Remove target-boehm-gc from libgcj.
Add target-boehm-gc to target_libraries.
Add target-boehm-gc to noconfigdirs where ${libgcj}
is specified.
Assert that boehm-gc is supported when requested for Objective-C.
Only build boehm-gc if needed either for Java or Objective-C.
* configure: Regenerate.

2006-06-05  Paolo Bonzini  <bonzini@gnu.org>

PR 27674
* Makefile.tpl (configure-[+prefix+][+module+],
all-[+prefix+][+module+]): Depend on stage_current if bootstrapping.
Remove rule to unstage bootstrapped modules.
(stage_current): New.
* Makefile.in: Regenerate.

2006-05-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
Andreas Tobler  <a.tobler@schweiz.ch>

* configure.in:  Enable libgcj for hppa*-hp-hpux11*.
* configure: Rebuilt.

Revert
2006-01-31  Richard Guenther  <rguenther@suse.de>
Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (target_modules): Add libgcc-math target module.
* configure.in (target_libraries): Add libgcc-math target library.
(--enable-libgcc-math): New configure switch.
* Makefile.in: Re-generate.
* configure: Re-generate.

18 years ago * Makefile.in (install-info, install-dvi, install-ps, install-pdf):
Daniel Jacobowitz [Wed, 7 Jun 2006 15:43:36 +0000 (15:43 +0000)]
* Makefile.in (install-info, install-dvi, install-ps, install-pdf):
New dummy targets.

18 years agobfd/doc:
Joseph Myers [Wed, 7 Jun 2006 15:38:01 +0000 (15:38 +0000)]
bfd/doc:
* bfd.texinfo: Remove local @tex code.

bfd:
* po/Make-in (pdf, ps): New dummy targets.

binutils:
* po/Make-in (pdf, ps): New dummy targets.

gas:
* po/Make-in (pdf, ps): New dummy targets.

gprof:
* po/Make-in (pdf, ps): New dummy targets.

ld:
* po/Make-in (pdf, ps): New dummy targets.

opcodes:
* po/Make-in (pdf, ps): New dummy targets.

18 years ago * config/tc-arm.c (stdarg.h): include.
Julian Brown [Wed, 7 Jun 2006 14:32:28 +0000 (14:32 +0000)]
* config/tc-arm.c (stdarg.h): include.
(arm_it): Add uncond_value field. Add isvec and issingle to operand
array.
(arm_reg_type): Add REG_TYPE_VFSD (single or double VFP reg) and
REG_TYPE_NSDQ (single, double or quad vector reg).
(reg_expected_msgs): Update.
(BAD_FPU): Add macro for unsupported FPU instruction error.
(parse_neon_type): Support 'd' as an alias for .f64.
(parse_typed_reg_or_scalar): Support REG_TYPE_VFSD, REG_TYPE_NSDQ
sets of registers.
(parse_vfp_reg_list): Don't update first arg on error.
(parse_neon_mov): Support extra syntax for VFP moves.
(operand_parse_code): Add OP_RVSD, OP_RNSDQ, OP_VRSDLST, OP_RVSD_IO,
OP_RNSDQ_RNSC, OP_RVC_PSR, OP_APSR_RR, OP_oRNSDQ.
(parse_operands): Support isvec, issingle operands fields, new parse
codes above.
(do_vfp_nsyn_mrs, do_vfp_nsyn_msr): New functions. Support VFP mrs,
msr variants.
(do_mrs, do_msr, do_t_mrs, do_t_msr): Add support for above.
(NEON_ENC_TAB): Add vnmul, vnmla, vnmls, vcmp, vcmpz, vcmpe, vcmpez.
(NEON_ENC_SINGLE, NEON_ENC_DOUBLE): Define macros.
(NEON_SHAPE_DEF): New macro. Define table of possible instruction
shapes.
(neon_shape): Redefine in terms of above.
(neon_shape_class): New enumeration, table of shape classes.
(neon_shape_el): New enumeration. One element of a shape.
(neon_shape_el_size): Register widths of above, where appropriate.
(neon_shape_info): New struct. Info for shape table.
(neon_shape_tab): New array.
(neon_type_mask): Add N_F64, N_VFP. Update N_MAX_NONSPECIAL.
(neon_check_shape): Rewrite as...
(neon_select_shape): New function to classify instruction shapes,
driven by new table neon_shape_tab array.
(neon_quad): New function. Return 1 if shape should set Q flag in
instructions (or equivalent), 0 otherwise.
(type_chk_of_el_type): Support F64.
(el_type_of_type_chk): Likewise.
(neon_check_type): Add support for VFP type checking (VFP data
elements fill their containing registers).
(do_vfp_cond_or_thumb): Fill in condition field in ARM mode, or 0xE
in thumb mode for VFP instructions.
(do_vfp_nsyn_opcode): New function. Look up the opcode in argument,
and encode the current instruction as if it were that opcode.
(try_vfp_nsyn): New. If this looks like a VFP instruction with ARGS
arguments, call function in PFN.
(do_vfp_nsyn_add_sub, do_vfp_nsyn_mla_mls, do_vfp_nsyn_mul)
(do_vfp_nsyn_abs_neg, do_vfp_nsyn_ldm_stm, do_vfp_nsyn_ldr_str)
(do_vfp_nsyn_sqrt, do_vfp_nsyn_div, do_vfp_nsyn_nmul)
(do_vfp_nsyn_cmp, nsyn_insert_sp, do_vfp_nsyn_push)
(do_vfp_nsyn_pop, do_vfp_nsyn_cvt, do_vfp_nsyn_cvtz): New functions.
Redirect Neon-syntax VFP instructions to VFP instruction handlers.
(do_neon_dyadic_i_su, do_neon_dyadic_i64_su, do_neon_shl_imm)
(do_neon_qshl_imm, do_neon_logic, do_neon_bitfield)
(neon_dyadic_misc, neon_compare, do_neon_tst, do_neon_qdmulh)
(do_neon_fcmp_absolute, do_neon_step, do_neon_sli, do_neon_sri)
(do_neon_qshlu_imm, neon_move_immediate, do_neon_mvn, do_neon_ext)
(do_neon_rev, do_neon_dup, do_neon_rshift_round_imm, do_neon_trn)
(do_neon_zip_uzp, do_neon_sat_abs_neg, do_neon_pair_long)
(do_neon_recip_est, do_neon_cls, do_neon_clz, do_neon_cnt)
(do_neon_swp): Use neon_select_shape not neon_check_shape. Use
neon_quad.
(vfp_or_neon_is_neon): New function. Call if a mnemonic shared
between VFP and Neon turns out to belong to Neon. Perform
architecture check and fill in condition field if appropriate.
(do_neon_addsub_if_i, do_neon_mac_maybe_scalar, do_neon_abs_neg)
(do_neon_cvt): Add support for VFP variants of instructions.
(neon_cvt_flavour): Extend to cover VFP conversions.
(do_neon_mov): Rewrite to use neon_select_shape. Add support for VFP
vmov variants.
(do_neon_ldr_str): Handle single-precision VFP load/store.
(do_neon_ld_st_interleave, do_neon_ld_st_lane, do_neon_ld_dup): Use
NS_NULL not NS_IGNORE.
(opcode_tag): Add OT_csuffixF for operands which either take a
conditional suffix, or have 0xF in the condition field.
(md_assemble): Add support for OT_csuffixF.
(NCE): Replace macro with...
(NCE_tag, NCE, NCEF): New macros.
(nCE): Replace macro with...
(nCE_tag, nCE, nCEF): New macros.
(insns): Add support for VFP insns or VFP versions of insns msr,
mrs, vsqrt, vdiv, vnmul, vnmla, vnmls, vcmp, vcmpe, vpush, vpop,
vcvtz, vmul, vmla, vmls, vadd, vsub, vabs, vneg, vldm, vldmia,
vldbdb, vstm, vstmia, vstmdb, vldr, vstr, vcvt, vmov. Group shared
VFP/Neon insns together.

18 years ago * gas/arm/itblock.s: New file. Helper macro for making all-true IT
Julian Brown [Wed, 7 Jun 2006 14:31:51 +0000 (14:31 +0000)]
* gas/arm/itblock.s: New file. Helper macro for making all-true IT
    blocks.
    * gas/arm/neon-cond-bad-inc.s: New test. Make sure unconditional
    Neon instructions are rejected...
    * gas/arm/neon-cond-bad.s: In ARM mode, and...
    * gas/arm/neon-cond-bad_t2.s: Accepted in Thumb mode (with IT).
    * gas/arm/neon-cond-bad.l: Expected error output in ARM mode.
    * gas/arm/neon-cond-bad.d: Control ARM mode test.
    * gas/arm/neon-cond-bad_t2.d: Expected output in Thumb mode.
    * gas/arm/vfp-neon-syntax-inc.s: Test VFP Neon-style syntax.
    * gas/arm/vfp-neon-syntax.s: ...in ARM mode.
    * gas/arm/vfp-neon-syntax_t2.s: ...and Thumb mode.
    * gas/arm/vfp-neon-syntax.d: Expected output in ARM mode.
    * gas/arm/vfp-neon-syntax_t2.d: Expected output in Thumb mode.

18 years ago2006-06-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 7 Jun 2006 14:08:19 +0000 (14:08 +0000)]
2006-06-06  Paul Brook  <paul@codesourcery.com>

opcodes/
* arm-dis.c (coprocessor_opcodes): Add %c to unconditional arm
instructions.
(neon_opcodes): Add conditional execution specifiers.
(thumb_opcodes): Ditto.
(thumb32_opcodes): Ditto.
(arm_conditional): Change 0xe to "al" and add "" to end.
(ifthen_state, ifthen_next_state, ifthen_address): New.
(IFTHEN_COND): Define.
(print_insn_coprocessor, print_insn_neon): Print thumb conditions.
(print_insn_arm): Change %c to use new values of arm_conditional.
(print_insn_thumb16): Print thumb conditions.  Add %I.
(print_insn_thumb32): Print thumb conditions.
(find_ifthen_state): New function.
(print_insn): Track IT block state.
gas/testsuite/
* gas/arm/thumb2_bcond.d: Update expected output.
* gas/arm/thumb32.d: Ditto.
* gas/arm/vfp1_t2.d: Ditto.
* gas/arm/vfp1xD_t2.d: Ditto.
binutils/testsuite/
* binutils-all/arm/objdump.exp: New file.
* binutils-all/arm/thumb2-cond.s: New test.

18 years agoremove some duplicate #include's.
Alan Modra [Wed, 7 Jun 2006 11:27:58 +0000 (11:27 +0000)]
remove some duplicate #include's.

18 years agoinclude/opcode/
Alan Modra [Wed, 7 Jun 2006 05:23:59 +0000 (05:23 +0000)]
include/opcode/
* ppc.h (PPC_OPCODE_POWER6): Define.
Adjust whitespace.
gas/
* config/tc-ppc.c (parse_cpu): Handle "-mpower6".
(md_show_usage): Document it.
(ppc_setup_opcodes): Test power6 opcode flag bits.
* doc/c-ppc.texi (PowerPC-Opts): Document "-mpower6".
opcodes/
* ppc-dis.c (powerpc_dialect): Handle power6 option.
(print_ppc_disassembler_options): Mention power6.

18 years ago * ldlang.h (enum section_type): Delete dsect_section, copy_section,
Alan Modra [Wed, 7 Jun 2006 04:55:11 +0000 (04:55 +0000)]
* ldlang.h (enum section_type): Delete dsect_section, copy_section,
info_section and overlay_section.  Add noalloc_section.
* ldlang.c (lang_add_section): Adjust.
* ldgram.y (type): Adjust.

18 years agodaily update
Alan Modra [Wed, 7 Jun 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Tue, 6 Jun 2006 10:49:48 +0000 (10:49 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (ISA_SUPPORTS_DSP64): New macro.
(CPU_HAS_MIPS3D, CPU_HAS_MDMX, CPU_HAS_DSP, CPU_HAS_MT): Delete.
(macro_build): Update comment.
(mips_ip): Allow DSP64 instructions for MIPS64R2.
(mips_after_parse_args): Remove uses of CPU_HAS_MIPS3D and
CPU_HAS_MDMX.
(mips_cpu_info): Fix formatting. Add MIPS_CPU_ASE_MIPS3D and
MIPS_CPU_ASE_MDMX flags for sb1.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips64-dsp.s, gas/mips/mips64-dsp.d: New DSP64 tests.
* gas/mips/mips.exp: Run DSP64 tests.

[ opcodes/ChangeLog ]
* mips-dis.c: Disassemble DSP64 instructions for MIPS64R2.
* mips-opc.c: Add DSP64 instructions.

18 years ago * ld-elfvers/vers.exp (objdump_versionstuff): Allow versions in
Alan Modra [Tue, 6 Jun 2006 04:30:21 +0000 (04:30 +0000)]
* ld-elfvers/vers.exp (objdump_versionstuff): Allow versions in
any order.
* ld-elfvers/vers1.ver: Update.
* ld-elfvers/vers2.ver: Update.
* ld-elfvers/vers4a.ver: Update.
* ld-elfvers/vers7a.ver: Update.
* ld-elfvers/vers8.ver: Update.
* ld-elfvers/vers9.ver: Update.
* ld-elfvers/vers15.ver: Update.
* ld-elfvers/vers16a.ver: Update.
* ld-elfvers/vers17.ver: Update.
* ld-elfvers/vers18.ver: Update.
* ld-elfvers/vers20.ver: Update.
* ld-elfvers/vers20a.ver: Update.
* ld-elfvers/vers21.ver: Update.
* ld-elfvers/vers22a.ver: Update.
* ld-elfvers/vers22b.ver: Update.
* ld-elfvers/vers23a.ver: Update.
* ld-elfvers/vers23b.ver: Update.
* ld-elfvers/vers23c.ver: Update.
* ld-elfvers/vers25a.ver: Update.
* ld-elfvers/vers26a.ver: Update.
* ld-elfvers/vers27a.ver: Update.
* ld-elfvers/vers27d.ver: Update.
* ld-elfvers/vers28b.ver: Update.
* ld-elfvers/vers29.ver: Update.
* ld-elfvers/vers30.ver: Update.
* ld-elfvers/vers31.ver: Update.

18 years ago * hash.c (bfd_hash_lookup): Correct stray line.
Alan Modra [Tue, 6 Jun 2006 03:04:12 +0000 (03:04 +0000)]
* hash.c (bfd_hash_lookup): Correct stray line.

18 years ago * elf.c (_bfd_elf_init_private_section_data): Comment typo.
Alan Modra [Tue, 6 Jun 2006 02:53:01 +0000 (02:53 +0000)]
* elf.c (_bfd_elf_init_private_section_data): Comment typo.
(elfcore_grok_nto_status): Use long instead of pid_t.
(elfcore_grok_nto_regs, elfcore_grok_nto_note): Likewise.

18 years ago * m68hc11-dis.c (print_insn): Warning fix.
Alan Modra [Tue, 6 Jun 2006 02:48:34 +0000 (02:48 +0000)]
* m68hc11-dis.c (print_insn): Warning fix.

18 years ago * ldlang.c (init_os): Whitespace.
Alan Modra [Tue, 6 Jun 2006 02:24:33 +0000 (02:24 +0000)]
* ldlang.c (init_os): Whitespace.
(map_input_to_output_sections): Don't init_os for lang_input_section.
(print_all_symbols): Remove forward declaration.  Convert to ISO C.

18 years agodaily update
Alan Modra [Tue, 6 Jun 2006 00:00:04 +0000 (00:00 +0000)]
daily update

18 years ago2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 5 Jun 2006 17:45:48 +0000 (17:45 +0000)]
2006-06-05  Jeff Johnston  <jjohnstn@redhat.com>

        * config-ml.in: Alter CCASFLAGS to include special
        multilib options the same as is done for CFLAGS.

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Mon, 5 Jun 2006 16:28:36 +0000 (16:28 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (macro_build): Use INSERT_OPERAND wherew
appropriate.
(mips16_macro_build): Use MIPS16_INSERT_OPERAND where appropriate.
(mips_ip): Make overflowed/underflowed constant arguments in DSP
and MT instructions a fatal error. Use INSERT_OPERAND where
appropriate. Improve warnings for break and wait code overflows.
Use symbolic constant of OP_MASK_COPZ.
(mips16_ip): Use MIPS16_INSERT_OPERAND where appropriate.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips32-dsp.d, gas/mips/mips32-dsp.s, gas/mips/mips32-mt.d,
gas/mips/mips32-mt.s: Remove instructions with invalid arguments.
* gas/mips/mips32-dsp.l, gas/mips/mips32-mt.l: Delete file.

[ include/opcode/ChangeLog ]
* mips.h: Improve description of MT flags.

18 years agobfd/, binutils/, gas/, gprof/, ld/, opcodes/
Daniel Jacobowitz [Mon, 5 Jun 2006 14:04:05 +0000 (14:04 +0000)]
bfd/, binutils/, gas/, gprof/, ld/, opcodes/
* po/Make-in (top_builddir): Define.

18 years ago * ld-elf/sec64k.exp: Add "main" symbol. Use dc.a for addresses.
Alan Modra [Mon, 5 Jun 2006 12:53:50 +0000 (12:53 +0000)]
* ld-elf/sec64k.exp: Add "main" symbol.  Use dc.a for addresses.
Cater for different address sizes.  Match end of line when
comparing symbols.
* ld-elf/start.s: Use dc.a for addresses.

18 years ago * ldexp.c (exp_get_abs_int): Make error message the same as
Alan Modra [Mon, 5 Jun 2006 12:45:34 +0000 (12:45 +0000)]
* ldexp.c (exp_get_abs_int): Make error message the same as
others emitted in this file.

18 years ago * Makefile.in: Regenerate.
Alan Modra [Mon, 5 Jun 2006 12:33:13 +0000 (12:33 +0000)]
* Makefile.in: Regenerate.
* gconfig.in: Regenerate.

18 years ago * config.in: Regenerate.
Alan Modra [Mon, 5 Jun 2006 12:30:16 +0000 (12:30 +0000)]
* config.in: Regenerate.

18 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Mon, 5 Jun 2006 12:28:18 +0000 (12:28 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* config.in: Regenerate.

18 years ago * Makefile.in: Regenerate.
Alan Modra [Mon, 5 Jun 2006 12:27:01 +0000 (12:27 +0000)]
* Makefile.in: Regenerate.

18 years ago * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
Alan Modra [Mon, 5 Jun 2006 06:12:40 +0000 (06:12 +0000)]
* ldlang.c (lookup_name): Delete dead code.  Remove FIXMEs.

18 years agoRemove leading bfd/ on filenames.
Alan Modra [Mon, 5 Jun 2006 00:12:59 +0000 (00:12 +0000)]
Remove leading bfd/ on filenames.

18 years agodaily update
Alan Modra [Mon, 5 Jun 2006 00:00:04 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 4 Jun 2006 00:00:04 +0000 (00:00 +0000)]
daily update

18 years ago * emultempl/elf32.em (global_found): Make it a pointer.
Alan Modra [Sat, 3 Jun 2006 02:45:26 +0000 (02:45 +0000)]
* emultempl/elf32.em (global_found): Make it a pointer.
(stat_needed, try_needed): Adjust.
(check_needed): Don't skip non-loaded as-needed entries.  Only
consider entries with both filename and the_bfd non-null.
(after_open): Try loading non-loaded as-needed libs to satisfy
DT_NEEDED libs.

18 years agodaily update
Alan Modra [Sat, 3 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agobinutils:
Joseph Myers [Fri, 2 Jun 2006 23:08:12 +0000 (23:08 +0000)]
binutils:
* doc/Makefile.am (TEXI2DVI): Define.
* doc/Makefile.in: Regenerate.

gas:
* doc/Makefile.am (TEXI2DVI): Define.
* doc/Makefile.in: Regenerate.
* doc/c-arc.texi: Fix typo.

ld:
* Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
* Makefile.in: Regenerate.

18 years agomerge from gcc
DJ Delorie [Fri, 2 Jun 2006 15:37:03 +0000 (15:37 +0000)]
merge from gcc

18 years ago * ld-powerpc/tlsexe.r: Update for removal of some section syms.
Alan Modra [Fri, 2 Jun 2006 07:53:30 +0000 (07:53 +0000)]
* ld-powerpc/tlsexe.r: Update for removal of some section syms.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.

18 years agobfd/
Alan Modra [Fri, 2 Jun 2006 00:32:00 +0000 (00:32 +0000)]
bfd/
PR ld/2723
* elflink.c (bfd_elf_final_link): Don't output section symbols
for special ELF sections.
ld/testsuite/
Update for removal of some section syms.

18 years agodaily update
Alan Modra [Fri, 2 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agomerge from gcc
DJ Delorie [Thu, 1 Jun 2006 14:57:50 +0000 (14:57 +0000)]
merge from gcc

18 years ago * doc/c-avr.texi: New file.
Denis Chertykov [Thu, 1 Jun 2006 14:54:25 +0000 (14:54 +0000)]
* doc/c-avr.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-avr.texi
* doc/all.texi: Set AVR
* doc/as.texinfo: Include c-avr.texi

18 years ago * config/obj-ieee.c: Delete.
Alan Modra [Thu, 1 Jun 2006 12:21:05 +0000 (12:21 +0000)]
* config/obj-ieee.c: Delete.
* config/obj-ieee.h: Delete.
* Makefile.am (OBJ_FORMATS): Remove ieee.
(OBJ_FORMAT_CFILES, OBJ_FORMAT_HFILES): Similarly.
(obj-ieee.o): Remove rule.
* Makefile.in: Regenerate.
* configure.in (atof): Remove tahoe.
(OBJ_MAYBE_IEEE): Don't define.
* configure: Regenerate.
* config.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

18 years agoinclude/elf/
H.J. Lu [Thu, 1 Jun 2006 05:40:24 +0000 (05:40 +0000)]
include/elf/

2006-05-31  H.J. Lu  <hongjiu.lu@intel.com>

* internal.h (ELF_SECTION_SIZE): New.
(ELF_IS_SECTION_IN_SEGMENT): Likewise.
(ELF_IS_SECTION_IN_SEGMENT_FILE): Updated.
(ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise.

ld/testsuite/

2006-05-31  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/binutils.exp: Make it Linux only.
(strip_test): Renamed to binutils_test. Check for unsupported
options.
Add more tests.

* ld-elf/commonpage1.d: Make it Linux only.
* ld-elf/maxpage1.d: Likewise.

* ld-elf/maxpage1.s: Add main, start and __start.

* ld-elf/maxpage2.d: New file.
* ld-elf/tbss1.s: Likewise.
* ld-elf/tbss2.s: Likewise.
* ld-elf/tdata1.s: Likewise.
* ld-elf/tdata2.s: Likewise.

18 years ago * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags
Alan Modra [Thu, 1 Jun 2006 03:45:58 +0000 (03:45 +0000)]
* stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags
instead of bfd_make_section*.
* aix386-core.c: Likewise.
* aix5ppc-core.c: Likewise.
* aout-adobe.c: Likewise.
* aoutf1.h: Likewise.
* binary.c: Likewise.
* cisco-core.c: Likewise.
* coff-arm.c: Likewise.
* coff-h8300.c: Likewise.
* elf.c: Likewise.
* elf32-bfin.c: Likewise.
* elf32-m32c.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.
* i386linux.c: Likewise.
* ieee.c: Likewise.
* ihex.c: Likewise.
* irix-core.c: Likewise.
* lynx-core.c: Likewise.
* m68klinux.c: Likewise.
* mach-o.c: Likewise.
* netbsd-core.c: Likewise.
* nlmcode.h: Likewise.
* opncls.c: Likewise.
* osf-core.c: Likewise.
* peXXigen.c: Likewise.
* ppcboot.c: Likewise.
* ptrace-core.c: Likewise.
* rs6000-core.c: Likewise.
* sco5-core.c: Likewise.
* sparclinux.c: Likewise.
* srec.c: Likewise.
* sunos.c: Likewise.
* trad-core.c: Likewise.
* xcofflink.c: Likewise.
* xsym.c: Likewise.

18 years agodaily update
Alan Modra [Thu, 1 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * texi2pod.pl: Correct handling of absolute @include.
Daniel Jacobowitz [Wed, 31 May 2006 15:47:48 +0000 (15:47 +0000)]
* texi2pod.pl: Correct handling of absolute @include.

18 years agoConfigury changes: update src repository (binutils, gdb, and rda) to use
Daniel Jacobowitz [Wed, 31 May 2006 15:14:39 +0000 (15:14 +0000)]
Configury changes: update src repository (binutils, gdb, and rda) to use
config/gettext-sister.m4 instead of the old gettext.m4.  Regenerate all
affected autotools files.  Include intl in gdb releases again.