Alan Modra
b165715209
* coff-arm.c (arm_emit_base_file_entry): Check fwrite return value.
...
Return status. Adjust callers.
* coff-mcore.c (mcore_emit_base_file_entry): Likewise.
* coff-ppc.c (write_base_file_entry): New function.
(coff_ppc_relocate_section): Use it.
* elf32-arm.c (find_thumb_glue): Check asprintf return status.
(find_arm_glue): Likewise.
* vms-misc.c (_bfd_vms_output_flush): Check fwrite return value.
2007-10-15 02:00:11 +00:00
gdbadmin
919bea4130
*** empty log message ***
2007-10-15 00:00:33 +00:00
Alan Modra
a7c7166623
daily update
2007-10-15 00:00:05 +00:00
Ian Lance Taylor
aeddab66fe
Keep track of weak aliases, so that overriding environ works.
2007-10-14 15:35:27 +00:00
Ian Lance Taylor
ad435a2465
Adjust linkonce symbol name algorithm to work for
...
.gnu.linkonce.t.__i686.get_pc_thunk.bx.
2007-10-14 07:27:10 +00:00
Ian Lance Taylor
d20222a1e7
Better multiple definition errors.
2007-10-14 07:10:20 +00:00
Ian Lance Taylor
a0c4fb0ac6
Remove extraneous newlines.
2007-10-14 06:57:58 +00:00
Ian Lance Taylor
ac2d295e92
Remove extraneous newline.
2007-10-14 06:54:56 +00:00
Ian Lance Taylor
75f2446ec3
Run all error handling through an Errors object. Delete output file
...
on error.
2007-10-14 06:49:14 +00:00
Ian Lance Taylor
eb4dfdd470
Fix typo in comment.
2007-10-14 04:10:25 +00:00
Ian Lance Taylor
27b7985a73
From Craig Silverstein: add some internationalization calls.
2007-10-14 04:06:18 +00:00
Ian Lance Taylor
097ec620e1
Only run static TLS tests on glibc 2.4 or later.
2007-10-14 03:57:22 +00:00
Ian Lance Taylor
8261e3bfa5
From Craig Silverstein: TLS test cleanups.
2007-10-14 03:23:38 +00:00
Ian Lance Taylor
e2305dc04c
From Craig Silverstein: always use 32-bit format for gold note.
2007-10-14 03:12:53 +00:00
Ian Lance Taylor
4eff2974c2
From Craig Silverstein: error if we see a dynamic object when the
...
-static option was given.
2007-10-14 02:52:13 +00:00
gdbadmin
8acdf0bf43
*** empty log message ***
2007-10-14 00:00:34 +00:00
Alan Modra
0c607b23d8
daily update
2007-10-14 00:00:04 +00:00
Ulrich Weigand
2685572f6e
* ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter,
...
replacing use of global current_gdbarch.
(ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
(ia64_linux_fetch_register, ia64_linux_store_register): Update callers.
* ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro.
(ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter,
replace uses of SIGCONTEXT_REGISTER_ADDRESS.
(ia64_sigtramp_frame_cache): Update caller.
2007-10-13 00:49:15 +00:00
Ian Lance Taylor
e041f13d5a
From Craig Silverstein: use tls.h in x86_64.cc.
2007-10-13 00:15:07 +00:00
Ulrich Weigand
c187492465
* gdbarch.sh (deprecated_use_struct_convention): Remove.
...
(extract_return_value, store_return_value): Remove.
(return_value): Remove default implementation.
* gdbarch.c, gdbarch.h: Regenerate.
* stack.c (return_command): Remove compatibility hack.
* arch-utils.c (legacy_return_value): Remove.
* arch-utils.h (legacy_return_value): Likewise.
* arch-utils.c (always_use_struct_convention): Remove.
* arch-utils.h (always_use_struct_convention): Likewise.
* value.c (generic_use_struct_convention): Remove.
* defs.h (generic_use_struct_convention): Likewise.
doc/ChangeLog:
* gdbint.texi (Target Conditionals): Remove documentation
of and references to DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS,
gdbarch_extract_return_value, and gdbarch_store_return_value.
2007-10-13 00:06:54 +00:00
Ulrich Weigand
4c8b6ae009
* avr-tdep.c (avr_return_value): New function.
...
(avr_gdbarch_init): Call set_gdbarch_return_value instead of
set_gdbarch_extract_return_value.
* fvr-tdep.c (frv_return_value): New function.
(frv_gdbarch_init): Call set_gdbarch_return_value instead of
set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
and set_gdbarch_deprecated_use_struct_convention.
* ia64-tdep.c (ia64_use_struct_convention): Make static.
Add check for structure, union, or array types.
(ia64_extract_return_value): Make static.
(ia64_store_return_value): Make static. Support multi-word values.
(ia64_return_value): New function.
(ia64_gdbarch_init): Call set_gdbarch_return_value instead of
set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
and set_gdbarch_deprecated_use_struct_convention.
2007-10-13 00:05:07 +00:00
Alan Modra
f266c1c5f5
daily update
2007-10-13 00:00:05 +00:00
gdbadmin
1c6a774b0b
*** empty log message ***
2007-10-13 00:00:03 +00:00
H.J. Lu
9fcfb3d73e
2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-i386.c (process_operands): Simplify implicit xmm0
handling.
2007-10-12 22:26:55 +00:00
Joel Brobecker
899cff7a33
* solib-target.c (solib_target_parse_libraries)
...
[HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type.
2007-10-12 21:52:07 +00:00
H.J. Lu
e2ec9d29b7
gas/
...
2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_operands): Check the firstxmm0
field in opcode_modifier for instruction with a implicit
xmm0 as the first operand.
opcodes/
2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Add FirstXmm0.
* i386-opc.h (FirstXmm0): New.
(IsPrefix): Updated.
(i386_opcode_modifier): Add firstxmm0.
* i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
(blendvps): Likewise.
(pblendvb): Likewise.
* i386-tbl.h: Regenerated.
2007-10-12 21:40:38 +00:00
H.J. Lu
88a94849aa
2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
2007-10-12 20:37:58 +00:00
Jim Blandy
d41ebd5d45
* serial.h (struct serial_ops): Document read_prim to return zero
...
at EOF.
* ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when
read_prim returns zero, not SERIAL_TIMEOUT.
2007-10-12 20:14:57 +00:00
Ian Lance Taylor
e03748586c
From Craig Silverstein: expand the TLS test to a second file, to test
...
IE to LE conversion.
2007-10-12 17:32:20 +00:00
Daniel Jacobowitz
2152e0479e
* ld-mips-elf/multi-got-hidden-1.d,
...
ld-mips-elf/multi-got-hidden-1.s,
ld-mips-elf/multi-got-hidden-2.d,
ld-mips-elf/multi-got-hidden-2.s: New.
* ld-mips-elf/mips-elf.exp: Run multi-got-hidden tests.
2007-10-12 17:07:04 +00:00
Nick Clifton
1b9750d66e
PR gprof/5147
...
* configure.in: Add check for fabs() being in libm.
* configure: Regenerate.
2007-10-12 16:36:48 +00:00
Nick Clifton
7337fc21f2
* config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B, AT90PWM3B.
...
* doc/c-avr.texi: Document new devices.
2007-10-12 16:28:03 +00:00
Nick Clifton
4b93929bf9
PR 5160
...
* elflink.c (eval_symbol): Remove bufsz variable and use sizeof(symbuf) where necessary.
2007-10-12 16:25:21 +00:00
Ulrich Weigand
62f6180c25
* alpha-mdebug-tdep.c: Include "gdb_string.h".
...
(find_proc_desc): Add fix-up code for setjmp procedure descriptor.
* mdebugread.c (parse_procedure): Remove setjmp fix-up code.
* Makefile.in (alpha-mdebug-tdep.o): Update dependencies.
* config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove.
* config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove.
* config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove.
* config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/alpha/tm-alpha.h: Remove file.
2007-10-12 16:13:20 +00:00
Ulrich Weigand
ee53e8729a
* breakpoint.c (breakpoint_sals_to_pc): Do not check for
...
DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE.
* config/pa/tm-hppa.h: Delete file.
* config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE.
* config/pa/hppahpux.mt: Likewise.
* config/pa/hppa.mt: Likewise.
* config/pa/linux.mt: Likewise.
* hppa-tdep.c (hppa_pc_requires_run_before_use): Delete.
2007-10-12 16:11:12 +00:00
Nick Clifton
e9deb29d4f
* elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.
...
* config/tc-cr16.c: Update the md_relax_table for 1 word b<cc> instruction range information.
2007-10-12 16:11:02 +00:00
Daniel Jacobowitz
720199d64e
* elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced
...
local symbols specially.
(mips_elf_set_global_got_offset): Skip forced local symbols.
2007-10-12 15:59:19 +00:00
Ulrich Weigand
3d5e6107ba
* config/arm/nm-nbsdaout.h: Remove file.
...
* config/nm-nbsdaout.h: Likewise.
* config/nm-nbsd.h: Likewise.
2007-10-12 15:49:07 +00:00
Ulrich Weigand
82585c7265
* block.h (struct block): Remove "gcc_compile_flag" member.
...
(BLOCK_GCC_COMPILED): Remove.
* block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED.
* buildsym.c (finish_block): Do not set it.
* symmisc.c (dump_symtab_1): Do not dump it.
* value.h (using_struct_return): Remove "gcc_p" argument.
* value.c (using_struct_return): Likewise.
* eval.c (evaluate_subexp_standard): Adapt callers.
* infcall.c (call_function_by_hand): Likewise.
* stack.c (return_command): Likewise.
* sparc-tdep.c (sparc32_push_dummy_code): Likewise.
* gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter.
* gdbarch.c, gdbarch.h: Regenerate.
* cris-tdep.c (cris_push_dummy_code): Adapt prototype.
* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise.
* sparc-tdep.c (sparc32_push_dummy_code): Likewise.
* infcall.c (generic_push_dummy_code, push_dummy_code): Likewise.
(push_dummy_code, call_function_by_hand): Adapt callers.
2007-10-12 15:34:45 +00:00
Ulrich Weigand
8f536afe35
* infcmd.c (print_return_value): Remove STRUCT_RETURN argument.
...
(finish_command_continuation, finish_command): Adapt callers.
2007-10-12 15:32:50 +00:00
Ulrich Weigand
f156e33b31
* infcall.c (call_function_by_hand): Remove special handling
...
for HP aCC compiled code.
2007-10-12 15:31:42 +00:00
Ulrich Weigand
f6e56ab396
* cris-tdep.c (cris_push_dummy_call): Support arguments passed by
...
reference. Fix endianness bugs.
(cris_reg_struct_has_address): Remove.
(cris_gdbarch_init): Remove set_gdbarch_deprecated_reg_struct_has_addr
and set_gdbarch_deprecated_use_struct_convention calls.
* gdbarch.sh (deprecated_reg_struct_has_addr): Remove.
* gdbarch.c, gdbarch.h: Regenerate.
* infcall.c (call_function_by_hand): Remove handling of
deprecated_reg_struct_has_addr.
doc/ChangeLog:
* gdbint.texi (Target Conditionals): Remove documentation of
and references to DEPRECATED_REG_STRUCT_HAS_ADDR.
2007-10-12 15:30:05 +00:00
Daniel Jacobowitz
3a99f02f77
* doc/as.texinfo (Object Attributes): New chapter.
...
(Pseudo Ops): Document .gnu_attribute.
(LNS directives): Correct .loc_mark_labels documentation.
2007-10-12 14:00:31 +00:00
Ian Lance Taylor
cfd73a4e26
Add an option for Stringpools to not copy strings.
2007-10-12 06:06:34 +00:00
Ian Lance Taylor
0ffd9845f2
From Craig Silverstein: improve x86_64 TLS support.
2007-10-12 06:00:55 +00:00
Ian Lance Taylor
e44fcf3bcf
Add --stats option to print runtime and memory usage statistics.
2007-10-12 05:51:25 +00:00
Alan Modra
6ca8706da5
* ld-srec/srec.exp: Define __stack_chk_fail sym.
2007-10-12 04:38:29 +00:00
Alan Modra
971d4640d2
* elf.c (elfcore_grok_prxfpreg): Fix comment typo.
2007-10-12 03:34:45 +00:00
Alan Modra
ed4c31f254
daily update
2007-10-12 00:00:05 +00:00
gdbadmin
1c0589c2c6
*** empty log message ***
2007-10-12 00:00:03 +00:00