Commit Graph

52433 Commits

Author SHA1 Message Date
Alan Modra
cba94f9ccb daily update 2006-11-08 22:58:53 +00:00
Jeff Johnston
00d896752d 2006-11-08 Jie Zhang <jzhang918@gmail.com>
* configure.in: Remove target-libgloss from noconfigdirs for
        bfin-*-*.
        * configure: Regenerated.
2006-11-08 20:28:29 +00:00
H.J. Lu
b7d9ef3748 gas/
2006-11-08  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.h (CpuPNI): Removed.
	(CpuUnknownFlags): Replace CpuPNI with CpuSSE3.
	* config/tc-i386.c (md_assemble): Likewise.

include/opcode/

2006-11-08  H.J. Lu  <hongjiu.lu@intel.com>

	* i386.h (i386_optab): Replace CpuPNI with CpuSSE3.
2006-11-08 19:56:02 +00:00
DJ Delorie
3c9f59e48f merge from gcc 2006-11-08 19:09:26 +00:00
Vladimir Prus
fb3471960f 2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
* pex-win32.c (no_suffixes): Remove.
        (std_suffixes): Add "" as first element.
        (find_executable): Remove detection of already-present
        extension. Try all suffixes in std_suffixes.
2006-11-08 16:18:58 +00:00
Thiemo Seufer
a5e3001a40 * basic.exp: Fix spelling in comment. Use canonical form of target
patterns. Run DSP test only for DSP-capable ISAs. Check also mips32r2
	and mips64r2 if supported by the target.
2006-11-08 12:00:11 +00:00
Alan Modra
9e3be61d60 ld/
* emultempl/elf32.em (gld*_before_allocation): Adjust output section
	size for warning sections.
ld/testsuite/
	* ld-elf/group.ld: Handle .rodata.brlt for powerpc64.
2006-11-08 11:29:16 +00:00
Vladimir Prus
d661a1c202 2006-11-07 Vladimir Prus <vladimir@codesourcery.com>
* testsuite/ld-elf/symbol2w.s: Use "%" instead
        of "@" to avoid breakage on ARM.
2006-11-08 10:21:12 +00:00
Alan Modra
05e7221f06 * symbols.c (symbol_create, symbol_clone): Don't set udata.p. 2006-11-08 06:31:39 +00:00
gdbadmin
499f04a3c1 *** empty log message *** 2006-11-08 00:00:35 +00:00
David Daney
df1f3cdab5 gas:
* config/tc-mips.c (pic_need_relax): Return true for section symbols.

gas/testsuite:
	* gas/mips/elf-rel26.s: New test.
	* gas/mips/elf-rel26.d: Ditto.
	* gas/mips/mips.exp: Run it.
2006-11-07 23:55:36 +00:00
Alan Modra
3181e5dc7c daily update 2006-11-07 22:58:54 +00:00
Thiemo Seufer
09d969392e * gentmap.c: Fix compile time warning. 2006-11-07 19:29:59 +00:00
Thiemo Seufer
7e12978101 * sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
for bfd text addresses.
2006-11-07 19:07:41 +00:00
Ian Lance Taylor
645f81233b Add Elf_file interface which can be used by both Sized_relobj and
Sized_dynobj.
2006-11-07 18:51:39 +00:00
Julian Brown
9e59254c41 * floatformat.c (get_field): Fix segfault with little-endian word
order on 64-bit hosts.
	(put_field): Likewise.
	(min): Move definition.
2006-11-07 15:17:40 +00:00
Thiemo Seufer
02f97da761 * dsp.igen (do_w_op): Fix compiler warning. 2006-11-07 14:59:49 +00:00
Daniel Jacobowitz
f2a9dd69a9 * elf32-arm.c (find_thumb_glue): Add ERROR_MESSAGE argument; set it
on error.
	(find_arm_glue): Likewise.
	(elf32_thumb_to_arm_stub, elf32_arm_create_thumb_stub)
	(elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate): Add
	ERROR_MESSAGE argument and pass it through.
	(elf32_arm_to_thumb_export_stub): Update.
	(elf32_arm_relocate_section): Use ERROR_MESSAGE and reloc_dangerous.
2006-11-07 14:57:45 +00:00
Ian Lance Taylor
f0641a0b38 Rework stringpool and hash tables so that we always generate the same
output regardless of randomize_va_space.
2006-11-07 04:40:46 +00:00
Alan Modra
7c8fe5c480 * elf64-ppc.c (enum _ppc64_sec_type): New.
(struct _ppc64_elf_section_data): Move "t_symndx" into opd union,
	and rename fields.  Add sec_type and has_14bit_branch.
	(struct ppc_link_hash_table): Remove has_14bit_branch.
	(get_opd_info, get_tls_mask, ppc64_elf_edit_opd): Adjust.
	(ppc64_elf_relocate_section): Likewise.
	(ppc64_elf_check_relocs): Likewise.  Set per-section has_14bit_branch.
	(ppc64_elf_size_stubs): Don't set default group size here.
	(group_sections): Instead do so here, and group sections using
	their individual requirements.
2006-11-07 03:34:52 +00:00
Alan Modra
b3fac117e3 * elf64-ppc.c (struct ppc64_elf_obj_tdata): Remove "has_dotsym"
and union.
	(struct ppc_link_hash_entry): Add "next_dot_sym".
	(struct ppc_link_hash_table): Add "dot_syms".
	(link_hash_newfunc): Make list of syms starting with a dot.
	(ppc_get_stub_entry, adjust_opd_syms): Adjust.
	(ppc64_elf_add_symbol_hook): Don't set has_dotsym.
	(struct add_symbol_adjust_data): Delete.
	(add_symbol_adjust): Simplify params and return.
	(ppc64_elf_check_directives): Just process the "dot_syms" lists,
	not all syms.
2006-11-07 03:24:13 +00:00
gdbadmin
2f23e1502e *** empty log message *** 2006-11-07 00:00:33 +00:00
Jim Blandy
e5192dd81c 2006-11-06 Jim Blandy <jimb@codesourcery.com>
* (dwarf_expr_read_reg): Use frame_register_read, not frame_register.
	* dwarf2loc.c (dwarf_expr_read_reg): Use frame_register_read
	instead of frame_register.  Doc fix.
2006-11-06 23:20:12 +00:00
Alan Modra
fd034a2f3f daily update 2006-11-06 22:58:55 +00:00
Ian Lance Taylor
f6ce93d6e9 Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
Ian Lance Taylor
8d9455b422 Rework swapping code. 2006-11-06 22:45:08 +00:00
Daniel Jacobowitz
000ef4f0ec * server.c (handle_query): Correct error handling for read_auxv. 2006-11-06 21:50:32 +00:00
Thiemo Seufer
821001857f * doc/c-mips.texi (-march): Document sb1a. 2006-11-06 15:05:40 +00:00
Thiemo Seufer
a360e743fb * config/tc-mips.c (mips_cpu_info_table): Remove 24k/24ke aliases.
34k always has DSP ASE.
2006-11-06 14:28:21 +00:00
Vladimir Prus
7d0317c40f 2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
* testsuite/ld-elf/symbol1ref.s: Use ".dc.a" instead
       of ".long".
2006-11-06 12:15:35 +00:00
Vladimir Prus
bc251d509b * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Don't prepend "warning" to the message.
	* testsuite/ld-elf/warn2.d: New.
	* testsuite/ld-elf/symbol2w.s: New.
	* testsuite/ld-elf/symbol2ref.s: New.
2006-11-06 10:39:17 +00:00
Alan Modra
a9353e608e * ppc-opc.c: Restore COM to mfcr wrongly removed 2003-07-04. 2006-11-06 00:46:07 +00:00
gdbadmin
f09801072e *** empty log message *** 2006-11-06 00:00:04 +00:00
Alan Modra
c996113b94 daily update 2006-11-05 22:58:55 +00:00
Hans-Peter Nilsson
c70cf8c0a1 * ld-cris/ldsym1.d: Adjust for semi-recent ld changes. 2006-11-05 19:15:32 +00:00
gdbadmin
8a3b477701 *** empty log message *** 2006-11-05 00:00:02 +00:00
Alan Modra
583b392675 daily update 2006-11-04 22:58:57 +00:00
Vladimir Prus
8b9e3a1523 2006-11-04 Vladimir Prus <vladimir@codesourcery.com>
* serial.c (serial_open): Strip leading spaces from program
       name when opening pipe.
2006-11-04 08:37:24 +00:00
gdbadmin
f4f5eb403f *** empty log message *** 2006-11-04 00:00:32 +00:00
Alan Modra
e5bab8fed6 daily update 2006-11-03 22:58:59 +00:00
Jim Blandy
4bc9efe119 2006-11-03 Jim Blandy <jimb@codesourcery.com>
* dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register
        instead of frame_register.  Doc fix.
2006-11-03 22:09:28 +00:00
Ian Lance Taylor
652ec9bd89 Ignored the -m option, for old linker compatibility. 2006-11-03 18:48:03 +00:00
Ian Lance Taylor
dd32f77868 Update for line number changes. 2006-11-03 18:41:59 +00:00
Ian Lance Taylor
593f47df45 gcc 3.2.2 portability hacks. 2006-11-03 18:38:43 +00:00
Ian Lance Taylor
ead1e4244a Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
Thiemo Seufer
58ea3d6a2f Fix typo in comment. 2006-11-03 16:32:04 +00:00
Thiemo Seufer
648178740a * config/tc-mips.c (md_pcrel_from_section): Disallow PC relative
MIPS16 instructions referencing other sections, unless they are
	external branches.
2006-11-03 16:27:41 +00:00
Thiemo Seufer
7764b3958e * config/tc-mips.c (mips_cpu_info_table): The 25Kf is a MIPS64
release 1 CPU.
2006-11-03 12:36:40 +00:00
Jakub Jelinek
9b8ae42e78 * dw2gencfi.c (struct fde_entry): Add per_encoding, lsda_encoding,
personality and lsda.
	(struct cie_entry): Add per_encoding, lsda_encoding and personality.
	(alloc_fde_entry): Initialize per_encoding and lsda_encoding.
	(cfi_pseudo_table): Handle .cfi_personality and .cfi_lsda.
	(dot_cfi_personality, dot_cfi_lsda, encoding_size): New functions.
	(output_cie): Output personality including its encoding and LSDA encoding.
	(output_fde): Output LSDA.
	(select_cie_for_fde): Don't share CIE if personality, its encoding or
	LSDA encoding are different.  Copy the 3 fields from fde_entry to
	cie_entry.
	* doc/as.texinfo (.cfi_personality, .cfi_lsda): Document.

	* gas/cfi/cfi-common-6.d: New test.
	* gas/cfi/cfi-common-6.s: New.
	* gas/cfi/cfi.exp: Add cfi-common-6 test.
2006-11-03 07:29:37 +00:00
Jakub Jelinek
ae424f8246 * subsegs.h (struct frchain): Add frch_cfi_data field.
* dw2gencfi.c: Include subsegs.h.
	(cur_fde_data, last_address, cur_cfa_offset, cfa_save_stack): Removed.
	(struct frch_cfi_data): New type.
	(unused_cfi_data): New variable.
	(alloc_fde_entry): Move cur_fde_data, last_address, cur_cfa_offset
	and cfa_save_stack static vars into a structure pointed from
	each frchain.
	(alloc_cfi_insn_data, cfi_new_fde, cfi_end_fde, cfi_set_return_column,
	cfi_add_advance_loc, cfi_add_CFA_def_cfa, cfi_add_CFA_def_cfa_offset,
	cfi_add_CFA_remember_state, cfi_add_CFA_restore_state, dot_cfi,
	dot_cfi_escape, dot_cfi_startproc, dot_cfi_endproc, cfi_finish):
	Likewise.

	* gas/cfi/cfi-common-5.d: New test.
	* gas/cfi/cfi-common-5.s: New.
	* gas/cfi/cfi.exp: Add cfi-common-5 test.
2006-11-03 07:27:39 +00:00