OSDN Git Service
H.J. Lu [Fri, 26 May 2006 14:01:08 +0000 (14:01 +0000)]
2006-05-26 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (ELF_MINPAGESIZE): Changed to 0x1000.
H.J. Lu [Fri, 26 May 2006 03:04:09 +0000 (03:04 +0000)]
2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (ELF_MINPAGESIZE): Set to 0x100000.
H.J. Lu [Fri, 26 May 2006 02:44:19 +0000 (02:44 +0000)]
bfd/
2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (ELF_MAXPAGESIZE): Updated to 0x200000.
ld/
2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
* emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
ld/testsuite/
2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
* ld-x86-64/tlsbin.dd: Updated for 2MB maximum page size.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlsbin.sd: Likewise.
* ld-x86-64/tlsbin.td: Likewise.
* ld-x86-64/tlsbindesc.dd: Likewise.
* ld-x86-64/tlsbindesc.rd: Likewise.
* ld-x86-64/tlsbindesc.sd: Likewise.
* ld-x86-64/tlsbindesc.td: Likewise.
* ld-x86-64/tlsdesc.dd: Likewise.
* ld-x86-64/tlsdesc.pd: Likewise.
* ld-x86-64/tlsdesc.rd: Likewise.
* ld-x86-64/tlsdesc.sd: Likewise.
* ld-x86-64/tlsdesc.td: Likewise.
* ld-x86-64/tlsgdesc.dd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-x86-64/tlspic.sd: Likewise.
* ld-x86-64/tlspic.td: Likewise.
Alan Modra [Fri, 26 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Thu, 25 May 2006 17:21:33 +0000 (17:21 +0000)]
* src-release (DEVO_SUPPORT): Add config.rpath.
Alan Modra [Thu, 25 May 2006 15:08:28 +0000 (15:08 +0000)]
* elf.c (sym_is_global): Return a bfd_boolean.
(ignore_section_sym): New function.
(elf_map_symbols): Use ignore_section_sym to discard some syms.
(_bfd_elf_symbol_from_bfd_symbol): Ensure section belongs to
bfd before using elf_section_syms.
Joern Rennecke [Thu, 25 May 2006 14:07:20 +0000 (14:07 +0000)]
* MAINTAINERS: Update my email address.
H.J. Lu [Thu, 25 May 2006 13:59:25 +0000 (13:59 +0000)]
2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
* config.bfd: (sh-*-linux*): Treat as 64bit target.
(sh*l*-*-netbsdelf*): Likewise.
(sh-*-netbsdelf*): Likewise.
(shl*-*-elf*): Likewise.
(sh[1234]l*-*-elf*): Likewise.
(sh3el*-*-elf*): Likewise.
(shl*-*-kaos*): Likewise.
(sh-*-elf*): Likewise.
(sh[1234]*-elf*): Likewise.
(sh-*-rtems*): Likewise.
(sh-*-kaos*): Likewise.
Richard Sandiford [Thu, 25 May 2006 08:09:03 +0000 (08:09 +0000)]
include/opcodes/
* m68k.h (mcf_mask): Define.
opcodes/
* m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd
and fmovem entries. Put register list entries before immediate
mask entries. Use "l" rather than "L" in the fmovem entries.
* m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it
out from INFO.
(m68k_scan_mask): New function, split out from...
(print_insn_m68k): ...here. If no architecture has been set,
first try printing an m680x0 instruction, then try a Coldfire one.
gas/testsuite/
* gas/m68k/mcf-fpu.s: Add fmovemd and fmovem instructions.
* gas/m68k/mcf-fpu.d: Adjust accordingly.
Paolo Bonzini [Thu, 25 May 2006 08:01:03 +0000 (08:01 +0000)]
2006-05-25 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (bfd, opcodes): Fix lib_path.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Replace ADAC with ADAFLAGS.
(restrap): Move under "@if gcc-bootstrap". Fix typo.
* Makefile.in: Regenerate.
Jie Zhang [Thu, 25 May 2006 04:07:53 +0000 (04:07 +0000)]
* gas/bfin/vector2.s, gas/bfin/vector2.d: Test to ensure (m) is not
thrown away.
Jie Zhang [Thu, 25 May 2006 04:07:08 +0000 (04:07 +0000)]
* config/bfin-parse.y (asm_1): Better check and deal with
vector and scalar Multiply 16-Bit Operands instructions.
H.J. Lu [Thu, 25 May 2006 01:03:09 +0000 (01:03 +0000)]
bfd/
2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1485
* config.bfd: Set want64 to true if 64bit bfd is used.
(sh-*-linux*): Use targ64_selvecs for 64bit targets.
(sh*l*-*-netbsdelf*): Likewise.
(sh-*-netbsdelf*): Likewise.
(shl*-*-elf*): Likewise.
(sh[1234]l*-*-elf*): Likewise.
(sh3el*-*-elf*): Likewise.
(shl*-*-kaos*): Likewise.
(sh-*-elf*): Likewise.
(sh[1234]*-elf*): Likewise.
(sh-*-rtems*): Likewise.
(sh-*-kaos*): Likewise.
ld/
2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1485
* configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
bfd. Support 64bit host for --enable-targets=all.
* configure: Regenerated.
Alan Modra [Thu, 25 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Paul Brook [Wed, 24 May 2006 17:10:02 +0000 (17:10 +0000)]
2006-05-24 Paul Brook <paul@codesourcery.com>
bfd/
* elf-bfd.h (elf_backend_data): Add elf_backend_output_arch_local_syms
* elf32-arm.c (output_arch_syminfo): Define.
(elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map,
elf32_arm_output_arch_local_syms): New functions.
(elf_backend_output_arch_local_syms): Define.
* elflink.c (bfd_elf_final_link): Call
elf_backend_output_arch_local_syms.
* elfxx-target.h (elf_backend_output_arch_local_syms): Provide default
definition.
(elfNN_bed): Add elf_backend_output_arch_local_syms.
ld/testsuite/
* ld-arm/arm-app-abs32.d: Update expected output.
* ld-arm/arm-app.d: Ditto.
* ld-arm/arm-lib-plt32.d: Ditto.
* ld-arm/arm-lib.d: Ditto.
* ld-arm/mixed-app-v5.d: Ditto.
* ld-arm/mixed-app.d: Ditto.
* ld-arm/mixed-lib.d: Ditto.
Paul Brook [Wed, 24 May 2006 16:23:50 +0000 (16:23 +0000)]
2006-05-24 Paul Brook <paul@codesourcery.com>
* elf32-arm.c (put_arm_insn, put_thumb_insn): New functions.
(elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub,
elf32_arm_finish_dynamic_symbol): Use them.
Mark Shinwell [Wed, 24 May 2006 13:55:10 +0000 (13:55 +0000)]
Enable gprof for cross builds.
Nick Clifton [Wed, 24 May 2006 11:05:42 +0000 (11:05 +0000)]
Add TLS support for hppa-linux
Nick Clifton [Wed, 24 May 2006 07:58:15 +0000 (07:58 +0000)]
Updated Frewnch translation
Nick Clifton [Wed, 24 May 2006 07:54:45 +0000 (07:54 +0000)]
Updated Vietnamese and Irish translations
Nick Clifton [Wed, 24 May 2006 07:36:12 +0000 (07:36 +0000)]
Add support for AVR6 family
H.J. Lu [Wed, 24 May 2006 02:39:16 +0000 (02:39 +0000)]
2006-05-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2655
PR ld/2657
* ld-elf/eh1.d: New file.
* ld-elf/eh1.s: Likewise.
* ld-elf/eh1a.s: Likewise.
* ld-elf/eh2.d: Likewise.
* ld-elf/eh2a.s: Likewise.
* ld-elf/eh3.d: Likewise.
* ld-elf/eh3.s: Likewise.
* ld-elf/eh3a.s: Likewise.
H.J. Lu [Wed, 24 May 2006 02:37:47 +0000 (02:37 +0000)]
2006-05-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2655
PR ld/2657
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Properly
update CIE/FDE length. Don't pad to the section alignment.
DJ Delorie [Wed, 24 May 2006 02:02:46 +0000 (02:02 +0000)]
merge from gcc
Alan Modra [Wed, 24 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Thiemo Seufer [Tue, 23 May 2006 15:37:20 +0000 (15:37 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (ISA_SUPPORTS_SMARTMIPS): Rename.
(ISA_SUPPORTS_DSP_ASE, ISA_SUPPORTS_MT_ASE, ISA_HAS_64BIT_FPRS,
ISA_HAS_MXHC1): New macros.
(HAVE_32BIT_FPRS): Use ISA_HAS_64BIT_FPRS instead of
ISA_HAS_64BIT_REGS. Formatting fixes. Improved comments.
(mips_cpu_info): Change to use combined ASE/IS_ISA flag.
(MIPS_CPU_IS_ISA, MIPS_CPU_ASE_SMARTMIPS, MIPS_CPU_ASE_DSP,
MIPS_CPU_ASE_MT, MIPS_CPU_ASE_MIPS3D, MIPS_CPU_ASE_MDMX): New defines.
(mips_after_parse_args): Change default handling of float register
size to account for 32bit code with 64bit FP. Better sanity checking
of ISA/ASE/ABI option combinations.
(s_mipsset): Support switching of GPR and FPR sizes via
.set {g,f}p={32,64,default}. Better sanity checking for .set ASE
options.
(mips_elf_final_processing): We should record the use of 64bit FP
registers in 32bit code but we don't, because ELF header flags are
a scarce ressource.
(mips_cpu_info_table): Add ASE flags for CPUs with mandatory ASE
extensions. Add 4ksc, 4kec, 4kem, 4kep, 4ksd, m4kp, 24kec, 24kef,
24kex, 34kc, 34kf, 34kx, 25kf CPU definitions.
(mips_cpu_info_from_isa): Use MIPS_CPU_IS_ISA.
* doc/c-mips.texi: Document .set {g,f}p={32,64,default}. Document
missing -march options. Document .set arch=CPU. Move .set smartmips
to ASE page. Use @code for .set FOO examples.
[ gas/testsuite/Changelog ]
* gas/mips/mips-gp32-fp64-pic.d, mips/mips-gp32-fp64.d,
gas/mips/mips-gp64-fp32-pic.d, gas/mips/mips-gp64-fp32.l,
gas/mips/mips-gp64-fp64.d: Adjust test cases to the changes assembler
output.
* gas/mips/mips-gp32-fp64.l, gas/mips/mips-gp64-fp32-pic.l: New files,
catch assembler warnings.
Nick Clifton [Tue, 23 May 2006 09:28:20 +0000 (09:28 +0000)]
Updated translation
Jie Zhang [Tue, 23 May 2006 06:01:12 +0000 (06:01 +0000)]
* config/tc-bfin.c (bfin_start_line_hook): Bump line counters
if needed.
Jie Zhang [Tue, 23 May 2006 05:45:22 +0000 (05:45 +0000)]
* elf32-bfin.c (bfinfdpic_relocate_section): Clear reloc for
deteted entries in .eh_frame section.
Jie Zhang [Tue, 23 May 2006 04:56:56 +0000 (04:56 +0000)]
Commit the missing bits of my last patch.
Jie Zhang [Tue, 23 May 2006 04:23:41 +0000 (04:23 +0000)]
* config/bfin-defs.h (bfin_equals): Remove declaration.
* config/bfin-parse.y (asm_1): Remove "expr ASSIGN expr".
* config/tc-bfin.c (bfin_name_is_register): Remove.
(bfin_equals): Remove.
* config/tc-bfin.h (TC_EQUAL_IN_INSN): Redefine as 1.
(bfin_name_is_register): Remove declaration.
Jie Zhang [Tue, 23 May 2006 03:58:33 +0000 (03:58 +0000)]
* elf32-bfin.c (bfin_check_relocs): Use __GLOBAL_OFFSET_TABLE_
instead of _GLOBAL_OFFSET_TABLE_.
(bfin_relocate_section): Ditto.
(_bfin_create_got_section): Ditto.
(elf32_bfinfdpic_create_dynamic_sections): Use
__PROCEDURE_LINKAGE_TABLE_ instead of _PROCEDURE_LINKAGE_TABLE_.
(bfin_finish_dynamic_symbol): Use __DYNAMIC instead of _DYNAMIC.
Alan Modra [Tue, 23 May 2006 01:36:07 +0000 (01:36 +0000)]
* elf64-ppc.c (compare_symbols): Prefer strong dynamic global
function syms over other syms.
Alan Modra [Tue, 23 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Steve Ellcey [Mon, 22 May 2006 15:30:13 +0000 (15:30 +0000)]
2006-05-22 Steve Ellcey <sje@cup.hp.com>
* MAINTAINERS: Change intl updating instructions.
* config.rpath: Copy from GCC tree.
* intl: Replace contents of intl directory with intl from GCC tree.
Daniel Jacobowitz [Mon, 22 May 2006 15:06:23 +0000 (15:06 +0000)]
bfd/
* elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL
check.
(bfd_elf_final_link): Add a late DT_TEXTREL check.
* elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define.
(mips_elf_create_dynamic_relocation): Set DF_TEXTREL.
(_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION.
Use MIPS_ELF_READONLY_SECTION.
(_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after
creating DT_TEXTREL.
(_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers
if no text relocations were generated.
ld/testsuite/
* ld-mips-elf/textrel-1.d: Relax some patterns.
Daniel Jacobowitz [Mon, 22 May 2006 15:02:35 +0000 (15:02 +0000)]
* po/ru.po: Updated translation.
Nick Clifton [Mon, 22 May 2006 09:07:20 +0000 (09:07 +0000)]
* iq2000.cpu: Fix include paths for iq2000m.cpu and iq10.cpu.
Nick Clifton [Mon, 22 May 2006 08:58:08 +0000 (08:58 +0000)]
* gas/mips/mips32-dsp.l: Fix expected unsigned decoding of -1 in warning messages.
* gas/mips/mips32-mt.l: Likewise.
Nick Clifton [Mon, 22 May 2006 08:49:33 +0000 (08:49 +0000)]
* scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
Nick Clifton [Mon, 22 May 2006 08:45:46 +0000 (08:45 +0000)]
fix typo
Nick Clifton [Mon, 22 May 2006 08:45:18 +0000 (08:45 +0000)]
* ld-eld/start.s (start): Add this symbol for SH targets.
(main): Add this symbol for HPPA targets.
Nick Clifton [Mon, 22 May 2006 08:40:09 +0000 (08:40 +0000)]
* crx-dis.c (EXTRACT): Make macro work on 64-bit hosts.
Nick Clifton [Mon, 22 May 2006 08:33:35 +0000 (08:33 +0000)]
Updated Dutch translation
Nick Clifton [Mon, 22 May 2006 08:30:57 +0000 (08:30 +0000)]
Remove ChangeLog entries, since the template files were already up to date.
Nick Clifton [Mon, 22 May 2006 08:25:15 +0000 (08:25 +0000)]
Update translation templates
Alan Modra [Mon, 22 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Sun, 21 May 2006 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 20 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Thiemo Seufer [Fri, 19 May 2006 22:48:13 +0000 (22:48 +0000)]
* gas/mips/vxworks1-el.d, gas/mips/vxworks1-xgot-el.d: Add little
endian testcases.
* gas/mips/vxworks1.d, gas/mips/vxworks1-xgot.d: Build as big endian.
* gas/mips/mips.exp: Run new testcases.
H.J. Lu [Fri, 19 May 2006 14:08:02 +0000 (14:08 +0000)]
2006-05-19 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (ELF_MAXPAGESIZE): Fix a typo in comment.
Andreas Schwab [Fri, 19 May 2006 13:11:58 +0000 (13:11 +0000)]
* doc/Makefile.in: Regenerated.
Andreas Schwab [Fri, 19 May 2006 13:10:58 +0000 (13:10 +0000)]
* doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
(ar.1): Likewise.
(dlltool.1): Likewise.
(nlmconv.1): Likewise.
(nm.1): Likewise.
(objcopy.1): Likewise.
(objdump.1): Likewise.
(ranlib.1): Likewise.
(readelf.1): Likewise.
(size.1): Likewise.
(strings.1): Likewise.
(strip.1): Likewise.
(windres.1): Likewise.
(cxxfilt.man): Likewise.
* doc/Makefile.in: Regenerated.
Thiemo Seufer [Fri, 19 May 2006 13:03:06 +0000 (13:03 +0000)]
* config/tc-mipc.c (ISA_HAS_ODD_SINGLE_FPR): New define.
(mips_oddfpreg_ok): New function.
(mips_ip): Use it.
-------------------------------------------------------------------
Thiemo Seufer [Fri, 19 May 2006 12:34:09 +0000 (12:34 +0000)]
* config/tc-mips.h (tc_mips_regname_to_dw2regnum): Declare.
* config/tc-mipc.c (ABI_NEEDS_64BIT_REGS, ISA_HAS_64BIT_REGS,
ISA_HAS_DROR, ISA_HAS_ROR): Reformat.
(regname, RTYPE_MASK, RTYPE_NUM, RTYPE_FPU, RTYPE_FCC, RTYPE_VEC,
RTYPE_GP, RTYPE_CP0, RTYPE_PC, RTYPE_ACC, RTYPE_CCC, RNUM_MASK,
RWARN, GENERIC_REGISTER_NUMBERS, FPU_REGISTER_NAMES,
FPU_CONDITION_CODE_NAMES, COPROC_CONDITION_CODE_NAMES,
N32N64_SYMBOLIC_REGISTER_NAMES, O32_SYMBOLIC_REGISTER_NAMES,
SYMBOLIC_REGISTER_NAMES, MIPS16_SPECIAL_REGISTER_NAMES,
MDMX_VECTOR_REGISTER_NAMES, MIPS_DSP_ACCUMULATOR_NAMES, reg_names,
reg_names_o32, reg_names_n32n64): Define register classes.
(reg_lookup): New function, use register classes.
(md_begin): Reserve register names in the symbol table. Simplify
OBJ_ELF defines.
(mips_ip): Fix comment formatting. Handle symbolic COP0 registers.
Use reg_lookup.
(mips16_ip): Use reg_lookup.
(tc_get_register): Likewise.
(tc_mips_regname_to_dw2regnum): New function.
-------------------------------------------------------------------
Alan Modra [Fri, 19 May 2006 11:50:31 +0000 (11:50 +0000)]
* ld-scripts/empty-orphan.d: Update again.
Thiemo Seufer [Fri, 19 May 2006 11:26:11 +0000 (11:26 +0000)]
* config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum):
Un-constify string argument.
* config/tc-i386.c, config/tc-i386.h (tc_x86_regname_to_dw2regnum):
Likewise.
* config/tc-m68k.c, config/tc-m68k.h (tc_m68k_regname_to_dw2regnum):
Likewise.
* config/tc-ppc.c, config/tc-ppc.h (tc_ppc_regname_to_dw2regnum):
Likewise.
* config/tc-s390.c, config/tc-s390.h (tc_s390_regname_to_dw2regnum):
Likewise.
* config/tc-sh.c, config/tc-sh.h (sh_regname_to_dw2regnum):
Likewise.
* config/tc-sparc.c, config/tc-sparc.h (sparc_regname_to_dw2regnum):
Likewise.
-------------------------------------------------------------------
Nathan Sidwell [Fri, 19 May 2006 10:18:02 +0000 (10:18 +0000)]
* gas/config/tc-m68k.c (m68k_init_arch): Move checking of
cfloat/m68881 to correct architecture before using it.
Alan Modra [Fri, 19 May 2006 06:10:03 +0000 (06:10 +0000)]
* ld-scripts/empty-orphan.t: Discard .reginfo.
* ld-scripts/empty-orphan.d: Update.
Alan Modra [Fri, 19 May 2006 06:09:31 +0000 (06:09 +0000)]
* ldlang.c (lang_size_sections_1): Don't check mem regions for
os->ignored sections.
Alan Modra [Fri, 19 May 2006 00:51:28 +0000 (00:51 +0000)]
* elf.c (elf_fake_sections): Formatting.
(assign_file_positions_for_load_sections): Only add SEC_ALLOC
sections to p_memsz. Remove hack for PT_NOTE sections. Allow
section alignment to increase p_align for PT_LOAD.
(assign_file_positions_for_non_load_sections): Remove ARM BPABI
hack for PT_DYNAMIC. Instead, set p_filesz for all segments
other than PT_LOAD, and PT_NOTE in core.
Alan Modra [Fri, 19 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Alan Modra [Thu, 18 May 2006 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Wed, 17 May 2006 23:44:58 +0000 (23:44 +0000)]
* avr-dis.c: Formatting fix.
Carlos O'Donell [Wed, 17 May 2006 21:40:44 +0000 (21:40 +0000)]
2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
* doc/binutils.texi: Use "Binutils Index" for index name.
Daniel Jacobowitz [Wed, 17 May 2006 19:09:52 +0000 (19:09 +0000)]
* src-release (MAKEINFOFLAGS): Define.
(do-proto-toplev): Pass MAKEINFOFLAGS to submakes.
Daniel Jacobowitz [Wed, 17 May 2006 16:46:54 +0000 (16:46 +0000)]
* ldlang.c (lang_size_sections): Call lang_reset_memory_regions
before redoing one_lang_size_sections_pass.
Daniel Jacobowitz [Wed, 17 May 2006 14:57:33 +0000 (14:57 +0000)]
Fix a typo.
Thiemo Seufer [Wed, 17 May 2006 11:30:24 +0000 (11:30 +0000)]
* ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
Add __start as entry symbol.
Alan Modra [Wed, 17 May 2006 05:09:24 +0000 (05:09 +0000)]
* elf.c (assign_file_positions_for_segments): Split into..
(assign_file_positions_for_load_sections): ..this, and..
(assign_file_positions_for_non_load_sections): ..this new function,..
(assign_file_positions_except_relocs): ..writing program headers here.
Alan Modra [Wed, 17 May 2006 00:36:30 +0000 (00:36 +0000)]
* elflink.c (elf_gc_sweep): Don't specially keep non-alloc,
non-load sections if they have relocs.
Alan Modra [Wed, 17 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Thiemo Seufer [Tue, 16 May 2006 13:58:51 +0000 (13:58 +0000)]
* ld-elf/orphan.ld: Add placement for MIPS .reginfo section.
Nick Clifton [Tue, 16 May 2006 08:23:43 +0000 (08:23 +0000)]
* config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate constant values.
Alan Modra [Tue, 16 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Paul Brook [Mon, 15 May 2006 19:57:35 +0000 (19:57 +0000)]
2006-05-15 Paul Brook <paul@codesourcery.com>
bfd/
* cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename ...
(bfd_is_arm_special_symbol_name): ... to this. Add type argument.
Check symbol name is of specified type.
* elf32-arm.c (elf32_arm_is_target_special_symbol,
arm_elf_find_function, elf32_arm_output_symbol_hook): Use
bfd_is_arm_special_symbol_name.
* bfd-in.h (BFD_ARM_SPECIAL_SYM_TYPE_MAP,
BFD_ARM_SPECIAL_SYM_TYPE_TAG, BFD_ARM_SPECIAL_SYM_TYPE_OTHER,
BFD_ARM_SPECIAL_SYM_TYPE_ANY): Define.
(bfd_is_arm_mapping_symbol_name): Remove prototype.
(bfd_is_arm_special_symbol_name): Add prototype.
* bfd-in2.h: Regenerate.
gas/
* config/tc-arm.c (arm_adjust_symtab): Use
bfd_is_arm_special_symbol_name.
ld/testsuite/
* ld-arm/arm-be8.d: New test.
* ld-arm/arm-be8.s: New test.
* ld-arm/arm-elf.exp: Add arm-be8.
Bob Wilson [Mon, 15 May 2006 17:03:15 +0000 (17:03 +0000)]
bfd:
* elf32-xtensa.c (check_loop_aligned): Fix reversed check for
undefined opcode. Clean up assertions.
(narrow_instruction, widen_instruction): Remove "do_it" parameters.
Factor most of the code into separate functions....
(can_narrow_instruction, can_widen_instruction): New.
(prev_instr_is_a_loop): New.
(compute_ebb_proposed_actions): Combine error handling code for
decode errors. Replace call to insn_decode_len with inline code.
Use can_narrow_instruction and can_widen_instruction. Handle errors
from call to xtensa_opcode_is_loop.
(relax_section): Adjust calls to narrow_instruction and
widen_instruction.
gas:
* config/tc-xtensa.c (is_direct_call_opcode, is_branch_jmp_to_next,
xg_assemble_vliw_tokens, xtensa_mark_narrow_branches,
xtensa_fix_short_loop_frags, is_local_forward_loop, relax_frag_immed):
Handle errors from calls to xtensa_opcode_is_* functions.
H.J. Lu [Mon, 15 May 2006 14:50:38 +0000 (14:50 +0000)]
2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
* dwarf.c (display_debug_frames): Don't return on ZERO
terminator.
Alan Modra [Mon, 15 May 2006 02:22:20 +0000 (02:22 +0000)]
PR 2658
* elf32-ppc.c (ppc_elf_relax_section): Don't segfault on non-pic
-shared link.
H.J. Lu [Mon, 15 May 2006 00:48:44 +0000 (00:48 +0000)]
2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/stab.d: Skip ia64-*-*.
Alan Modra [Mon, 15 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Thiemo Seufer [Sun, 14 May 2006 15:35:22 +0000 (15:35 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (macro_build): Test for currently active
mips16 option.
(mips16_ip): Reject invalid opcodes.
[ opcodes/ChangeLog ]
* mips16-opc.c (I1, I32, I64): New shortcut defines.
(mips16_opcodes): Change membership of instructions to their
lowest baseline ISA.
[ gas/testsuite/ChangeLog ]
* gas/mips/mips.exp: Run new tests.
* gas/mips/mips16e.s, gas/mips/mips16e.d, gas/mips/mips16e-64.s,
gas/mips/mips16e-64.d, gas/mips/mips16e-64.l: New tests.
Ben Elliston [Sun, 14 May 2006 00:51:19 +0000 (00:51 +0000)]
* config.sub, config.guess: Update from upstream sources.
Alan Modra [Sun, 14 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 13 May 2006 00:00:08 +0000 (00:00 +0000)]
daily update
DJ Delorie [Fri, 12 May 2006 20:00:37 +0000 (20:00 +0000)]
merge from gcc
Ben Elliston [Fri, 12 May 2006 01:45:10 +0000 (01:45 +0000)]
* config.sub, config.guess: Update from upstream sources.
Alan Modra [Fri, 12 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Carlos O'Donell [Thu, 11 May 2006 16:11:29 +0000 (16:11 +0000)]
bfd/doc/
2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
* bfd.texinfo: Rename "Index" to "BFD Index"
gas/
2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
* doc/as.texinfo: Rename "Index" to "AS Index",
and "ABORT" to "ABORT (COFF)".
ld/
2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
* ld.texinfo: Rename "Index" to "LD Index"
H.J. Lu [Thu, 11 May 2006 15:55:40 +0000 (15:55 +0000)]
2006-05-11 Michael Matz <matz@suse.de>
* elflink.c (match_group_member): Correctly iterate group
members.
Paul Brook [Thu, 11 May 2006 15:17:34 +0000 (15:17 +0000)]
2006-05-11 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
(elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
* reloc.c: Ditto.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
gas/
* config/tc-arm.c (parse_half): New function.
(operand_parse_code): Remove OP_Iffff. Add OP_HALF.
(parse_operands): Ditto.
(do_mov16): Reject invalid relocations.
(do_t_mov16): Ditto. Use Thumb reloc numbers.
(insns): Replace Iffff with HALF.
(md_apply_fix): Add MOVW and MOVT relocs.
(tc_gen_reloc): Ditto.
* doc/c-arm.texi: Document relocation operators
ld/testsuite/
* ld-arm/arm-elf.exp: Add arm-movwt.
* ld-arm/arm-movwt.d: New test.
* ld-arm/arm-movwt.s: New test.
* ld-arm/arm.ld: Add .far.
Paul Brook [Thu, 11 May 2006 15:05:17 +0000 (15:05 +0000)]
2006-05-11 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (arm_fix_adjustable): Return 0 for function symbols.
gas/testsuite/
* gas/arm/local_function.d: New test.
* gas/arm/local_function.s: New test.
Thiemo Seufer [Thu, 11 May 2006 14:30:58 +0000 (14:30 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (append_insn): Don't check the range of j or
jal addresses.
[ gas/testsuite/ChangeLog ]
* gas/mips/jal-range.l: Don't check the range of j or jal
addresses.
Alan Modra [Thu, 11 May 2006 12:35:44 +0000 (12:35 +0000)]
* ld-elf/stab.d: New.
Alan Modra [Thu, 11 May 2006 12:34:46 +0000 (12:34 +0000)]
* elf.c (_bfd_elf_init_private_section_data): Don't change
section type if already set.
Nick Clifton [Thu, 11 May 2006 08:57:08 +0000 (08:57 +0000)]
PR ld/2607
* elfcode.h (valid_section_index_p): New function: Checks for a valid section
index. Allows indicies in the range SHN_LOPROC to SHN_HIOS.
(elf_object_p): Use valid_section_index_p.
Nick Clifton [Thu, 11 May 2006 08:48:58 +0000 (08:48 +0000)]
Apply fixes to allow arm WinCE toolchain to produce working executables.
Alan Modra [Thu, 11 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Thiemo Seufer [Wed, 10 May 2006 15:07:24 +0000 (15:07 +0000)]
* ld-elf/sec64k.exp: Extend for MIPS ELF.
Alan Modra [Wed, 10 May 2006 04:55:43 +0000 (04:55 +0000)]
PR 2342
* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.