OSDN Git Service
Alan Modra [Sun, 22 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 21 Jan 2006 23:05:33 +0000 (23:05 +0000)]
daily update
DJ Delorie [Sat, 21 Jan 2006 04:28:49 +0000 (04:28 +0000)]
merge from gcc
Alan Modra [Fri, 20 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update
Jie Zhang [Fri, 20 Jan 2006 17:22:50 +0000 (17:22 +0000)]
* config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
in load immediate intruction.
Jie Zhang [Fri, 20 Jan 2006 16:57:09 +0000 (16:57 +0000)]
* config/bfin-parse.y (value_match): Use correct conversion
specifications in template string for __FILE__ and __LINE__.
(binary): Ditto.
(unary): Ditto.
Alan Modra [Thu, 19 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Eric Christopher [Thu, 19 Jan 2006 01:06:48 +0000 (01:06 +0000)]
2006-01-18 Roger Sayle <roger@eyesopen.com>
* emultempl/irix.em: Use lbasename instead of basename.
Alan Modra [Wed, 18 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Alexandre Oliva [Wed, 18 Jan 2006 21:07:51 +0000 (21:07 +0000)]
include/elf/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* common.h (DT_TLSDESC_GOT, DT_TLSDESC_PLT): New.
* i386.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, R_386_TLS_DESC):
New.
* x86-64.h (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL,
R_X86_64_TLSDESC): New.
bfd/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-i386.c (elf_howto_table): New relocations.
(R_386_tls): Adjust.
(elf_i386_reloc_type_lookup): Map new relocations.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf_i386_link_hash_entry): Add tlsdesc_got field.
(struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
(elf_i386_local_tlsdesc_gotent): New macro.
(struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
(elf_i386_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
(elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_check_relocs): Likewise. Allocate space for
local_tlsdesc_gotent.
(elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(allocate_dynrelocs): Count function PLT relocations. Reserve
space for TLS descriptors and relocations.
(elf_i386_size_dynamic_sections): Reserve space for TLS
descriptors and relocations. Set up sgotplt_jump_table_size.
Don't zero reloc_count in srelplt.
(elf_i386_always_size_sections): New. Set up _TLS_MODULE_BASE_.
(elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf_backend_always_size_sections): Define.
* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
(R_X86_64_standard): Adjust.
(x86_64_reloc_map): Map new relocs.
(elf64_x86_64_rtype_to_howto): New, split out of...
(elf64_x86_64_info_to_howto): ... this function, and...
(elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
(struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
(elf64_x86_64_local_tlsdesc_gotent): New macro.
(struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
tlsdesc_got and sgotplt_jump_table_size fields.
(elf64_x86_64_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf64_x86_64_link_hash_table_create): Initialize new fields.
(elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(elf64_x86_64_check_relocs): Likewise. Allocate space for
local_tlsdesc_gotent.
(elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(allocate_dynrelocs): Count function PLT relocations. Reserve
space for TLS descriptors and relocations.
(elf64_x86_64_size_dynamic_sections): Reserve space for TLS
descriptors and relocations. Set up sgotplt_jump_table_size,
tlsdesc_plt and tlsdesc_got. Make room for them. Don't zero
reloc_count in srelplt. Add dynamic entries for DT_TLSDESC_PLT
and DT_TLSDESC_GOT.
(elf64_x86_64_always_size_sections): New. Set up
_TLS_MODULE_BASE_.
(elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
DT_TLSDESC_GOT. Set up TLS descriptor lazy resolver PLT entry.
(elf_backend_always_size_sections): Define.
binutils/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
DT_TLSDESC_PLT.
gas/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* config/tc-i386.c (tc_i386_fix_adjustable): Handle
BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
(optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
displacement bits.
(build_modrm_byte): Set up zero modrm for TLS desc calls.
(lex_got): Handle @tlsdesc and @tlscall.
(md_apply_fix, tc_gen_reloc): Handle the new relocations.
ld/testsuite/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* ld-i386/i386.exp: Run on x86_64-*-linux* and amd64-*-linux*.
Add new tests.
* ld-i386/pcrel16.d: Add -melf_i386.
* ld-i386/pcrel8.d: Likewise.
* ld-i386/tlsbindesc.dd: New.
* ld-i386/tlsbindesc.rd: New.
* ld-i386/tlsbindesc.s: New.
* ld-i386/tlsbindesc.sd: New.
* ld-i386/tlsbindesc.td: New.
* ld-i386/tlsdesc.dd: New.
* ld-i386/tlsdesc.rd: New.
* ld-i386/tlsdesc.s: New.
* ld-i386/tlsdesc.sd: New.
* ld-i386/tlsdesc.td: New.
* ld-i386/tlsgdesc.dd: New.
* ld-i386/tlsgdesc.rd: New.
* ld-i386/tlsgdesc.s: New.
* ld-x86-64/x86-64.exp: Run new tests.
* ld-x86-64/tlsbindesc.dd: New.
* ld-x86-64/tlsbindesc.rd: New.
* ld-x86-64/tlsbindesc.s: New.
* ld-x86-64/tlsbindesc.sd: New.
* ld-x86-64/tlsbindesc.td: New.
* ld-x86-64/tlsdesc.dd: New.
* ld-x86-64/tlsdesc.pd: New.
* ld-x86-64/tlsdesc.rd: New.
* ld-x86-64/tlsdesc.s: New.
* ld-x86-64/tlsdesc.sd: New.
* ld-x86-64/tlsdesc.td: New.
* ld-x86-64/tlsgdesc.dd: New.
* ld-x86-64/tlsgdesc.rd: New.
* ld-x86-64/tlsgdesc.s: New.
DJ Delorie [Wed, 18 Jan 2006 21:05:51 +0000 (21:05 +0000)]
merge from gcc
Arnold Metselaar [Wed, 18 Jan 2006 15:00:22 +0000 (15:00 +0000)]
fix typo
Arnold Metselaar [Wed, 18 Jan 2006 14:52:11 +0000 (14:52 +0000)]
Add tests for instructions with offsets.
Arnold Metselaar [Wed, 18 Jan 2006 13:48:46 +0000 (13:48 +0000)]
fixes related to indexed operands
Nick Clifton [Wed, 18 Jan 2006 11:01:09 +0000 (11:01 +0000)]
PR binutils/1391
* objcopy.c (copy_object): For PE format targets set the VMA of a newly
created gnu_debuglink section to a non-zero, aligned, contiguous value.
* Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
* Makefile.in: Regenerate.
Alan Modra [Tue, 17 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Arnold Metselaar [Tue, 17 Jan 2006 21:15:56 +0000 (21:15 +0000)]
Use unsigned char to hold data to be disassembled.
Andreas Schwab [Tue, 17 Jan 2006 17:39:20 +0000 (17:39 +0000)]
PR binutils/1486
binutils/:
* configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
* configure: Regenerate.
* objdump.c (struct objdump_disasm_info): Don't check for
DISASSEMBLER_NEEDS_RELOCS.
(objdump_print_addr): Likewise.
(disassemble_bytes): Check disassembler_needs_relocs from
disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
at compile-time.
(disassemble_section): Likewise.
(disassemble_data): Initialize it.
include/:
* dis-asm.h (struct disassemble_info): Add
disassembler_needs_relocs.
objdump/:
* disassemble.c (disassemble_init_for_target): Set
disassembler_needs_relocs for bfd_arch_arm.
H.J. Lu [Tue, 17 Jan 2006 17:12:58 +0000 (17:12 +0000)]
2006-01-17 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2096
* dwarf2.c (comp_unit_contains_address): Update comment.
(_bfd_dwarf2_find_nearest_line): Use section's vma, instead of
lma. Return TRUE only if both comp_unit_contains_address and
comp_unit_find_nearest_line return TRUE.
(_bfd_dwarf2_find_line): Use section's vma, instead of lma.
Alan Modra [Tue, 17 Jan 2006 15:32:41 +0000 (15:32 +0000)]
* elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.
(bfd_elf_gc_mark_dynamic_ref_symbol): Declare.
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from
elf_gc_mark_dynamic_ref_symbol. Make global.
(bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref.
* elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define.
(elfNN_bed): Init new field.
* elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define.
(ppc64_elf_gc_mark_dynamic_ref): New function.
Alan Modra [Tue, 17 Jan 2006 13:00:16 +0000 (13:00 +0000)]
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.
Nick Clifton [Tue, 17 Jan 2006 11:09:56 +0000 (11:09 +0000)]
Update copyright date
Nick Clifton [Tue, 17 Jan 2006 10:34:43 +0000 (10:34 +0000)]
PR binutils/2159
* elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused parameters.
Alan Modra [Mon, 16 Jan 2006 23:15:07 +0000 (23:15 +0000)]
split changelogs
Alan Modra [Mon, 16 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Mon, 16 Jan 2006 17:34:37 +0000 (17:34 +0000)]
Sync top level config files from the master config repository
Paul Brook [Mon, 16 Jan 2006 16:23:30 +0000 (16:23 +0000)]
2006-01-16 Paul Brook <paul@codesourcery.com>
opcodes/
* m68k-opc.c(m68k_opcodes): Fix opcodes for ColdFire f?abss,
f?add?, and f?sub? instructions.
gas/testsuite/
* gas/m68k/all.exp: Add mcf-fpu.
* gas/m68k/mcf-fpu.d: New file.
* gas/m68k/mcf-fpu.s: New file.
Nick Clifton [Mon, 16 Jan 2006 16:15:17 +0000 (16:15 +0000)]
Add new Chinese (simplified) translation
Nick Clifton [Mon, 16 Jan 2006 16:08:55 +0000 (16:08 +0000)]
Fix email address in previous delta
Nick Clifton [Mon, 16 Jan 2006 16:07:45 +0000 (16:07 +0000)]
Fix duplicated word typo
Alan Modra [Sun, 15 Jan 2006 23:00:11 +0000 (23:00 +0000)]
daily update
Paul Brook [Sun, 15 Jan 2006 16:35:21 +0000 (16:35 +0000)]
2006-01-05 Paul Brook <paul@codesourcery.com>
* m68k-opc.c (m68k_opcodes): Add missing ColdFire fdsqrtd entry.
Alan Modra [Sat, 14 Jan 2006 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 13 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 12 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 11 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Nick Clifton [Wed, 11 Jan 2006 18:11:43 +0000 (18:11 +0000)]
* elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry into the
newly (re)allocated map array.
Nick Clifton [Wed, 11 Jan 2006 17:39:50 +0000 (17:39 +0000)]
Fixes for building on 64-bit hosts:
* config/tc-avr.c (mod_index): New union to allow conversion
between pointers and integers.
(md_begin, avr_ldi_expression): Use it.
* config/tc-i370.c (md_assemble): Add cast for argument to print
statement.
* config/tc-tic54x.c (subsym_substitute): Likewise.
* config/tc-mn10200.c (md_assemble): Use a union to convert the
opindex field of fr_cgen structure into a pointer so that it can
be stored in a frag.
* config/tc-mn10300.c (md_assemble): Likewise.
* config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
types.
* config/tc-v850.c: Replace uses of (int) casts with correct
types.
* gas/tic54x/address.d: Work with 64bit hosts.
* gas/tic54x/addrfar.d: Likewise.
* gas/tic54x/align.d: Likewise.
* gas/tic54x/all-opcodes.d: Likewise.
* gas/tic54x/asg.d: Likewise.
* gas/tic54x/cons.d: Likewise.
* gas/tic54x/consfar.d: Likewise.
* gas/tic54x/extaddr.d: Likewise.
* gas/tic54x/field.d: Likewise.
* gas/tic54x/labels.d: Likewise.
* gas/tic54x/loop.d: Likewise.
* gas/tic54x/lp.d: Likewise.
* gas/tic54x/macro.d: Likewise.
* gas/tic54x/math.d: Likewise.
* gas/tic54x/opcodes.d: Likewise.
* gas/tic54x/sections.d: Likewise.
* gas/tic54x/set.d: Likewise.
* gas/tic54x/struct.d: Likewise.
* gas/tic54x/subsym.d: Likewise.
Alan Modra [Tue, 10 Jan 2006 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 10 Jan 2006 22:34:03 +0000 (22:34 +0000)]
* objcopy.c (copy_object): Fix thinko.
Alan Modra [Tue, 10 Jan 2006 22:14:18 +0000 (22:14 +0000)]
* objcopy.c (copy_object): Set isympp and osympp to NULL after free.
Bob Wilson [Mon, 9 Jan 2006 23:47:37 +0000 (23:47 +0000)]
* xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
Alan Modra [Mon, 9 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Nick Clifton [Mon, 9 Jan 2006 17:21:17 +0000 (17:21 +0000)]
Define EM_ALTERA_NIOS2 and EM_NIOS32.
H.J. Lu [Mon, 9 Jan 2006 17:14:40 +0000 (17:14 +0000)]
gas/
2006-01-09 H.J. Lu <hongjiu.lu@intel.com>
PR gas/2117
* symbols.c (snapshot_symbol): Don't change a defined symbol.
gas/testsuite/
2006-01-09 H.J. Lu <hongjiu.lu@intel.com>
PR gas/2117
* gas/ia64/ia64.exp: Add ltoff22x-2, ltoff22x-3, ltoff22x-4 and
ltoff22x-5.
* gas/ia64/ltoff22x-2.d: New file.
* gas/ia64/ltoff22x-2.s: Likewise.
* gas/ia64/ltoff22x-3.d: Likewise.
* gas/ia64/ltoff22x-3.s: Likewise.
* gas/ia64/ltoff22x-4.d: Likewise.
* gas/ia64/ltoff22x-4.s: Likewise.
* gas/ia64/ltoff22x-5.d: Likewise.
* gas/ia64/ltoff22x-5.s: Likewise.
Nick Clifton [Mon, 9 Jan 2006 15:58:42 +0000 (15:58 +0000)]
Update date in copyright notice
Nick Clifton [Mon, 9 Jan 2006 12:55:01 +0000 (12:55 +0000)]
Add comma after HIGH3ADJ
Alan Modra [Sun, 8 Jan 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 7 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Fri, 6 Jan 2006 23:25:53 +0000 (23:25 +0000)]
* m32c.cpu (mov.w:q): Fix mode.
(push32.b.imm): Likewise, for the comment.
DJ Delorie [Fri, 6 Jan 2006 23:25:36 +0000 (23:25 +0000)]
* m32c-desc.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.
Alan Modra [Fri, 6 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 5 Jan 2006 23:00:13 +0000 (23:00 +0000)]
daily update
Alexandre Oliva [Thu, 5 Jan 2006 17:45:45 +0000 (17:45 +0000)]
* Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove
@ from continuation.
* Makefile.in: Rebuilt.
Alan Modra [Wed, 4 Jan 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Paolo Bonzini [Wed, 4 Jan 2006 13:11:22 +0000 (13:11 +0000)]
2006-01-04 Paolo Bonzini <bonzini@gnu.org>
Sync from gcc:
2006-01-04 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/24252
* Makefile.def (flags_to_pass): Add STAGE1_CFLAGS and STAGE1_LANGUAGES.
* Makefile.tpl (OBJDUMP): New.
(EXTRA_HOST_FLAGS): Add it.
(EXTRA_GCC_FLAGS): Remove flags already specified in flags_to_pass.
* Makefile.tpl (stage[+id+]-start, stage[+id+]-end): Do not try
to use symbolic links between directories. Avoid race conditions
or make them harmless.
* configure.in: Do not try to use symbolic links between directories.
* Makefile.def (LEAN): Pass.
* Makefile.tpl (LEAN): Define.
(stage[+id+]-start): Accept that the previous directory does not
exist, if the bootstrap is lean.
(stage[+id+]-bubble): Invoke lean bootstrap commands after
stage[+id+]-start. Use a makefile variable and an `if' instead of a
configure substitution.
([+compare-target+]): Likewise.
([+bootstrap-target+]-lean): New.
* configure.in: Remove lean bootstrap support from here.
* Makefile.in: Regenerate.
* configure: Regenerate.
2006-01-02 Andreas Schwab <schwab@suse.de>
* configure.in: When reconfiguring remove Makefile in
all stage directories.
* configure: Regenerate.
Alan Modra [Tue, 3 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Tue, 3 Jan 2006 22:06:18 +0000 (22:06 +0000)]
* cgen-ibld.in (extract_normal): Avoid memory range errors.
* m32c-ibld.c: Regenerated.
Hans-Peter Nilsson [Tue, 3 Jan 2006 07:03:26 +0000 (07:03 +0000)]
* ld-mmix/sec-1.d: Adjust for section order changes.
Hans-Peter Nilsson [Tue, 3 Jan 2006 06:23:10 +0000 (06:23 +0000)]
fix last-minute typo
Hans-Peter Nilsson [Tue, 3 Jan 2006 05:56:15 +0000 (05:56 +0000)]
PR gas/2101
* config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
a local-label reference.
Hans-Peter Nilsson [Tue, 3 Jan 2006 05:52:15 +0000 (05:52 +0000)]
PR gas/2101
* gas/mmix/hex2.s, gas/mmix/hex2.d: New test.
Alan Modra [Mon, 2 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update
Paolo Bonzini [Mon, 2 Jan 2006 18:55:51 +0000 (18:55 +0000)]
2006-02-01 Paolo Bonzini <bonzini@gnu.org>
PR target/25259
* stdint.m4: New.
Alan Modra [Sun, 1 Jan 2006 23:00:04 +0000 (23:00 +0000)]
daily update
Jakub Jelinek [Sun, 1 Jan 2006 00:06:24 +0000 (00:06 +0000)]
* elf64-ppc.c (ppc64_elf_action_discarded): Return 0
for .toc1 section.
Kaz Kojima [Sat, 31 Dec 2005 16:23:13 +0000 (16:23 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Don't reset relocation
for R_SH_REL32 in shared objects if the symbol is locally called.
Alan Modra [Sat, 31 Dec 2005 12:55:10 +0000 (12:55 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Adjust relocs against
opd section sym when opd has been edited. Use correct addend
when determining branch 'y' bit and branch overflow. Adjust and
save opd relocs for ld -r too.
Eric Christopher [Sat, 31 Dec 2005 05:02:22 +0000 (05:02 +0000)]
2005-12-30 Eric Christopher <echristo@apple.com>
* elfxx-mips.c (mips_elf_record_global_got_symbol): Add assert
to verify we have a got.
(_bfd_mips_elf_check_relocs): Add R_MIPS_TLS_GOTTPREL to relocs
needing a GOT.
Bob Wilson [Fri, 30 Dec 2005 23:34:00 +0000 (23:34 +0000)]
include:
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
gas:
* config/tc-xtensa.c (op_placement_info_struct): Delete single,
single_size, widest, and widest_size fields. Add narrowest_slot.
(xg_emit_insn_to_buf): Remove fmt parameter and compute it here.
Use xg_get_single_slot to find the slot.
(finish_vinsn): Use emit_single_op instead of bundle_single_op.
(bundle_single_op): Rename this to....
(bundle_tinsn): ...this function, which builds a vliw_insn but does
not call finish_vinsn.
(emit_single_op): Use bundle_tinsn instead of bundle_single_op.
(relax_frag_immed): Get num_slots from cur_vinsn.
(convert_frag_narrow): Update call to xg_emit_insn_to_buf.
(convert_frag_immed): Likewise. Also, get num_slots from cur_vinsn.
(init_op_placement_info_table): Set narrowest_slot field. Remove
code for deleted fields.
(xg_get_single_size): Return narrowest_size field, not single_size.
(xg_get_single_format): Return narrowest field, not single.
(xg_get_single_slot): New.
(tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf.
* config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations.
(transition_applies): Check wide branch option availability.
Alan Modra [Fri, 30 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Dave Anglin [Fri, 30 Dec 2005 22:25:57 +0000 (22:25 +0000)]
* configure.host (hppa*64*-*-hpux*): Set host64 to true.
Jie Zhang [Fri, 30 Dec 2005 08:27:16 +0000 (08:27 +0000)]
* readelf.c (get_machine_name): Add case for Blackfin.
Bob Wilson [Fri, 30 Dec 2005 00:57:27 +0000 (00:57 +0000)]
* config/tc-xtensa.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
Alan Modra [Thu, 29 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Bob Wilson [Thu, 29 Dec 2005 21:04:14 +0000 (21:04 +0000)]
* config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf.
Nick Clifton [Thu, 29 Dec 2005 10:33:40 +0000 (10:33 +0000)]
(bfd_hash_set_default_size): Add more entries to the hash_size_primes table.
Nick Clifton [Thu, 29 Dec 2005 10:29:23 +0000 (10:29 +0000)]
(_bfd_link_section_stabs): Use bfd_hash_table_init rather than
bfd_hash_table_init_n(...,251) so that the size of the hash table can be
controlled by the user.
Alan Modra [Wed, 28 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Jie Zhang [Wed, 28 Dec 2005 06:01:48 +0000 (06:01 +0000)]
* emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS.
And add a prefix '_' to ENTRY.
* scripttempl/elf.sc: Add END_SYMBOLS.
Alan Modra [Tue, 27 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Bob Wilson [Tue, 27 Dec 2005 22:56:02 +0000 (22:56 +0000)]
* emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete.
(LDEMUL_PLACE_ORPHAN): Delete.
Dave Anglin [Tue, 27 Dec 2005 22:50:08 +0000 (22:50 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable
instead of !info->shared.
Jan-Benedict Glaw [Tue, 27 Dec 2005 22:17:25 +0000 (22:17 +0000)]
2005-12-27 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* vaxlinux.h: New file. (TRAD_CORE_EXTRA_SIZE_ALLOWED): Define.
(HOST_MACHINE_ARCH): Define. This allows cross-building vax-linux
hosted binutils.
Jan-Benedict Glaw [Tue, 27 Dec 2005 19:43:47 +0000 (19:43 +0000)]
2005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* MAINTAINERS: Add myself as VAX maintainer.
Nathan Sidwell [Tue, 27 Dec 2005 18:38:05 +0000 (18:38 +0000)]
* config/tc-mt.c (mt_arch): Default to ms1_16_002.
(md_parse_options): Only allow lowercase.
(md_show_usage): Update.
Nathan Sidwell [Tue, 27 Dec 2005 17:47:42 +0000 (17:47 +0000)]
* elf32-mt.c (mt_elf_merge_private_bfd_data): Do not allow mixing
object files from different mt variants.
Nick Clifton [Tue, 27 Dec 2005 17:42:45 +0000 (17:42 +0000)]
Add support for RDOS targets.
Nick Clifton [Tue, 27 Dec 2005 16:37:57 +0000 (16:37 +0000)]
PR binutils/1990
* libtool.m4: Synchronize with version in GCC sources.
Nick Clifton [Tue, 27 Dec 2005 16:07:36 +0000 (16:07 +0000)]
(lookup_symbol_in_function_table): Check for a function name before passing
it to strcmp.
Nick Clifton [Tue, 27 Dec 2005 11:55:37 +0000 (11:55 +0000)]
PR 1300
* config/tc-arm.c (md_apply_fix): Fix casts to match type in printf format.
Nick Clifton [Tue, 27 Dec 2005 11:00:03 +0000 (11:00 +0000)]
Add new Vietnamese translation
Alan Modra [Tue, 27 Dec 2005 09:22:59 +0000 (09:22 +0000)]
* elf.c (elf_find_function): Don't ignore section syms.
Simplify filename logic.
Alan Modra [Tue, 27 Dec 2005 04:19:15 +0000 (04:19 +0000)]
missed copyright 2005 addition
Alan Modra [Tue, 27 Dec 2005 03:54:33 +0000 (03:54 +0000)]
* elf32-ppc.c (add_stub_sym): Pass info rather than htab.
Use different names for pic vs non-pic, '.' instead of '_'.
(allocate_dynrelocs): Adjust add_stub_sym call.
Alan Modra [Tue, 27 Dec 2005 03:45:30 +0000 (03:45 +0000)]
* elf.c (bfd_section_from_shdr): Treat invalid reloc sections as
normal sections rather than returning false.
Alan Modra [Tue, 27 Dec 2005 03:06:27 +0000 (03:06 +0000)]
* coff-h8300.c (h8300_reloc16_extra_cases): Use input section
"output_offset" instead of link order "offset".
* coff-h8500.c (extra_case): Likewise.
* coff-w65.c (w65_reloc16_extra_cases): Likewise.
* coff-z80.c (extra_case): Likewise.
* coff-z8k.c (extra_case): Likewise.
* linker.c (default_indirect_link_order): Likewise, "size" too.
* ecoff.c (ecoff_indirect_link_order): Likewise.
Alan Modra [Tue, 27 Dec 2005 01:21:27 +0000 (01:21 +0000)]
* Makefile.am (Makefile): Remove dependency.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* gconfig.in: Regenerate.
Alan Modra [Tue, 27 Dec 2005 01:21:01 +0000 (01:21 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
Alan Modra [Tue, 27 Dec 2005 01:20:35 +0000 (01:20 +0000)]
* Makefile.am: Run "make dep-am".
(Makefile): Remove dependency.
* Makefile.in: Regenerate.