Alan Modra
00fd39d11f
daily update
2007-10-19 00:00:05 +00:00
Ian Lance Taylor
51b08ebe94
Add support for -Bsymbolic.
2007-10-18 23:20:53 +00:00
Ian Lance Taylor
af4a8a833e
Rework section mapping algorithm to handle .data.rel.ro sections.
2007-10-18 19:56:12 +00:00
Ian Lance Taylor
87f9577614
Correctly handle alignment in merge sections.
2007-10-18 17:46:23 +00:00
Daniel Jacobowitz
ba32f9896b
* mips-tdep.c (mips_xfer_register): Take a gdbarch argument.
...
(mips_n32n64_return_value, mips_o32_return_value)
(mips_o64_return_value): Update calls to mips_xfer_register.
2007-10-18 15:25:41 +00:00
Carlos O'Donell
717c53eab0
gas/
...
2007-10-18 Carlos O'Donell <carlos@systemhalted.org>
* config/tc-hppa.c (pa_ip): Fix comment typo.
(pa_comm): Likewise.
2007-10-18 13:33:57 +00:00
Nick Clifton
b2f58c0c09
PR gas/5172
...
* config/tc-arc.c (md_estimate_size_before_relax): Change error message.
(md_convert_frag): Just call abort.
* config/tc-i860.c (md_estimate_size_before_relax): Change error message.
* config/tc-i860.h (md_convert_frag): Just call abort.
* config/tc-ip2k.c (md_estimate_size_before_relax): Change error message.
(md_convert_frag): Just call abort.
* config/tc-m68k.c (m68k_ip): Do not attempt translation of architecture names.
2007-10-18 13:03:12 +00:00
Nick Clifton
5f4273c75a
PR gas/5174
...
* config/tc-arm.c: Fix formatting and spelling errors.
* gas.pot: Regenerate.
2007-10-18 11:49:34 +00:00
Nick Clifton
662a2e45c3
PR gas/5175
...
* config/tc-xc16x.c: Fix formatting and internationalization.
* gas.pot: Regenerate.
2007-10-18 11:01:24 +00:00
Michael Snyder
5e5ebfe659
2007-10-18 Michael Snyder <msnyder@specifix.com>
...
* gdb.base/dbx.exp: Add missing "-re " operator.
2007-10-18 10:05:44 +00:00
Roland McGrath
3e6ff6e5e4
.
2007-10-18 09:57:07 +00:00
Roland McGrath
7ca95d9475
2007-10-18 Roland McGrath <roland@redhat.com>
...
* common.h (NT_PPC_VMX): New macro.
2007-10-18 09:57:04 +00:00
Alan Modra
13285a1b2c
PR ld/4424
...
* config.bfd (targ_selvecs): Add bfd_elf64_alpha_vec for
alpha/FreeBSD. Add bfd_elf64_sparc_vec for sparc64/FreeBSD.
Add bfd_elf32_i386_vec and bfd_efi_app_ia32_vec for i386/FreeBSD.
(targ64_selvecs): Set for i386/FreeBSD.
* elf-bfd.h (elf_backend_data): Add relocs_compatible.
(_bfd_elf_default_relocs_compatible): Declare.
(_bfd_elf_relocs_compatible): Declare.
* elfxx-target.h (elf_backend_relocs_compatible): Define.
(elfNN_bed): Init new relocs_compatible field.
* elflink.c (_bfd_elf_default_relocs_compatible): New function.
(_bfd_elf_relocs_compatible): New function.
(elf_link_add_object_symbols): Call bed->relocs_compatible.
* elf32-i386.c (elf_backend_relocs_compatible): Define.
* elf64-alpha.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
2007-10-18 09:13:51 +00:00
gdbadmin
ec4f988b1b
*** empty log message ***
2007-10-18 00:00:33 +00:00
Alan Modra
51745be133
daily update
2007-10-18 00:00:05 +00:00
Daniel Jacobowitz
20e5635130
2007-10-17 Zack Weinberg <zack@codesourcery.com>
...
* ldlang.c (lang_check_section_addresses): Also report size of
overflow for any overflowed memory regions.
(os_region_check): Diagnose an overflowed region only once per
region. Do not reset region->current on overflow.
2007-10-17 Zack Weinberg <zack@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Mark Shinwell <shinwell@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* ld-scripts/rgn-over.exp: New driver.
* ld-scripts/rgn-over.s: New file.
* ld-scripts/rgn-over1.d, ld-scripts/rgn-over1.t,
ld-scripts/rgn-over2.d, ld-scripts/rgn-over2.t,
ld-scripts/rgn-over3.d, ld-scripts/rgn-over3.t,
ld-scripts/rgn-over4.d, ld-scripts/rgn-over4.t,
ld-scripts/rgn-over5.d, ld-scripts/rgn-over5.t,
ld-scripts/rgn-over6.d, ld-scripts/rgn-over6.t,
ld-scripts/rgn-over7.d, ld-scripts/rgn-over7.t:
New test cases.
2007-10-17 19:26:10 +00:00
Nick Clifton
499ac35361
Remove duplicate definitions of the md_atof() function
2007-10-17 16:45:56 +00:00
Nathan Sidwell
25b07cd9c4
opcodes/
...
* m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
coldfire.
gas/testsuite/
* gas/m68k/mcf-movsr.s: New.
* gas/m68k/mcf-movsr.d: New.
* gas/m68k/all.exp: Add mcf-movsr test.
2007-10-17 13:44:09 +00:00
Daniel Jacobowitz
11411de309
* frame.c (frame_unwind_unsigned_register): Delete.
...
(frame_sp_unwind): Use frame_unwind_register_unsigned instead.
* frame.h (frame_unwind_unsigned_register): Delete prototype.
* alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c,
avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c,
mt-tdep.c: Replace frame_unwind_unsigned_register with
frame_unwind_register_unsigned.
* gdbint.texinfo (Target Conditionals): Use
frame_unwind_register_unsigned in examples instead of
frame_unwind_unsigned_register.
2007-10-17 13:36:45 +00:00
Ian Lance Taylor
fe9a4c1201
Add infrastructure for threading support.
2007-10-17 06:24:50 +00:00
Bob Wilson
ae326da8eb
* elf32-xtensa.c (relax_section): Check for a reference to a discarded
...
DWARF section and anticipate its replacement with the kept section.
2007-10-17 00:30:31 +00:00
Alan Modra
bb14a92538
daily update
2007-10-17 00:00:05 +00:00
gdbadmin
189a22ca3f
*** empty log message ***
2007-10-17 00:00:03 +00:00
Bob Wilson
a3ef2d6352
* elf32-xtensa.c (elf_xtensa_discard_info_for_section): Remove
...
unnecessary size variables. Set sec->rawsize.
(relax_section, relax_property_section): Likewise.
2007-10-16 23:57:24 +00:00
Bob Wilson
73c5c7a8d6
* section.c (struct bfd_section): Clarify comment for rawsize field.
...
* bfd-in2.h: Regenerate.
2007-10-16 23:51:55 +00:00
Ian Lance Taylor
436ca963fd
From Cary Coutant: preliminary shared library support.
2007-10-16 23:23:08 +00:00
Ian Lance Taylor
a360aedd0f
From Craig Silverstein: check that we get environ right.
2007-10-16 23:09:45 +00:00
Ian Lance Taylor
0c5e9c22aa
From Craig Silverstein: implement -Ttext.
2007-10-16 22:38:36 +00:00
Bob Wilson
928a4139f6
* doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.
...
(objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e."
and change to spell out "for example" in two places.
2007-10-16 19:01:47 +00:00
Pedro Alves
10325bc5c4
* config/i386/mingw.mh, config/i386/mingw.mt: New files.
...
* configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw.
* win32-nat.c: Only include cygwin.h on Cygwin host. Don't
include procfs.h.
(cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable
if not building on Cygwin.
(win32_make_so, handle_output_debug_string, handle_exception)
(do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__.
(win32_attach): Only fallback to Cygwin pids if building on
Cygwin.
(win32_pid_to_exec_file): Disable Cygwin specific code, if not
building on Cygwin.
(win32_create_inferior): Disable starting the inferior through a
shell, environment var processing and tty handling if not building
on Cygwin.
(cygwin_pid_to_str): Rename to ...
(win32_pid_to_str): ... this.
(init_win32_ops): Update use of win32_pid_to_str. Disable "shell"
and "cygwin-exceptions" commands if not building on Cygwin.
2007-10-16 18:43:25 +00:00
Bob Wilson
00e3c4762a
* doc/as.texinfo (Overview): Add Xtensa --rename-section option.
2007-10-16 18:33:09 +00:00
Gaius Mulley
844781a1be
* doc/gdb.texinfo: Add TSIZE definition, removed
...
statement about unbounded arrays being unimplemented.
* m2-valprint.c (m2_print_array_contents): New function.
(m2_print_unbounded_array): New function.
(m2_print_array_contents): New function.
* m2-typeprint.c (m2_unbounded_array): New function.
(m2_is_unbounded_array): New function.
(m2_print_type): Test for unbounded array when walking
across structs.
* m2-lang.h: Added extern m2_is_unbounded_array.
* m2-lang.c (evaluate_subexp_modula2): New function.
(exp_descriptor_modula2): New structure.
(m2_language_defn): Use exp_descriptor_modula2.
* m2-exp.y: Added TSIZE and binary subscript.
2007-10-16 17:36:51 +00:00
Gaius Mulley
e831e7b6ed
* configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
...
* configure.ac: Removed trailing spaces after backslash.
* gdb.modula2: New directory.
* gdb.modula2/Makefile.in: New file.
* gdb.modula2/unbounded-array.exp: New file.
* gdb.modula2/unbounded1.c: New file.
2007-10-16 17:28:56 +00:00
Nick Clifton
003bc0ba75
* configure.in: Build windows tools for --enable-targets=all.
...
* configure: Regenerate.
2007-10-16 16:05:41 +00:00
Bob Wilson
1dd2625faa
* elflink.c (_bfd_elf_check_kept_section): Use the section rawsize
...
values if they are set.
2007-10-16 15:51:38 +00:00
Nick Clifton
8bc9c89276
PR 5146
...
* configure.in (AC_CHECK_HEADERS): Add alloca.h
* configure: Regenerate.
* config.in: Regenerate.
* som.c: Replace alloca-conf.h inclusion with code recommended in autoconf documentation.
* elf64-hppa.c: Likewise.
2007-10-16 15:15:50 +00:00
Nick Clifton
504b7d2026
Support the use of the STT_COMMON type. (In source and object files only at the moment)
2007-10-16 14:42:15 +00:00
Daniel Jacobowitz
62c018fe4a
* mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message
...
after freeing it.
2007-10-16 11:55:17 +00:00
Maciej W. Rozycki
415d93d6d6
* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
...
(GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.
2007-10-16 10:45:50 +00:00
Kevin Buettner
9ffbf372a2
* m32r-tdep.c (decode_prologue): Sign extend offset for
...
"addi sp, xx" case.
(m32r_frame_unwind_cache): Likewise.
2007-10-16 06:39:30 +00:00
Peter Bergner
91eb7075e3
* ppc-opc.c (powerpc_opcodes): Fix the first two operands of
...
dquaiq. to use the TE and FRT macros.
2007-10-16 02:55:30 +00:00
Peter Bergner
8dbcd839b1
gas/
...
* config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted
according to major opcode number.
opcodes/
* ppc-opc.c (TE): Correct signedness.
(powerpc_opcodes): Sort psq_st and psq_stu according to major
opcode number.
2007-10-16 02:26:30 +00:00
Ian Lance Taylor
1b64748bed
From Craig Silverstein: support local GOT relocs for i386.
2007-10-16 00:42:36 +00:00
Alan Modra
a652a49c5f
daily update
2007-10-16 00:00:05 +00:00
gdbadmin
d592c035a7
*** empty log message ***
2007-10-16 00:00:03 +00:00
Jeff Johnston
2c133ff99d
2007-10-15 Patrick Mansfield <patmans@us.ibm.com>
...
* Makefile.def: To avoid problems running with parallel makes,
build newlib before libgloss so that target specific header
files are availble.
* Makefile.in: Regenerate.
2007-10-15 20:47:15 +00:00
Thiago Jung Bauermann
6a16c02972
* rs6000-tdep.c (skip_prologue): Restore comment with
...
function description to its proper place.
2007-10-15 20:20:08 +00:00
Daniel Jacobowitz
d71340b873
* NEWS: Mention gdbserver PowerPC improvements.
2007-10-15 20:00:23 +00:00
Daniel Jacobowitz
30ed0a8f0b
* Makefile.in (clean): Remove new files.
...
(powerpc-32.o, powerpc-32.c, powerpc-e500.o, powerpc-e500.c)
(powerpc-64.o, powerpc-64.c): New rules.
* configure.srv: Use alternate register sets for powerpc64-*-linux*
with AltiVec, powerpc-*-linux* with AltiVec, and powerpc-*-linux*
with SPE.
* linux-ppc-low.c (ppc_regmap): Do not fetch the FP registers for
SPE targets.
(ppc_cannot_store_register): Do not check for FPSCR for SPE targets.
(PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS, ppc_fill_vrregset)
(ppc_store_vrregset, PTRACE_GETEVRREGS, PTRACE_SETEVRREGS)
(struct gdb_evrregset_t, ppc_fill_evrregset, ppc_store_evrregset): New.
(target_regsets): Add AltiVec and SPE register sets.
* configure.ac: Check for AltiVec and SPE.
* linux-ppc64-low.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS)
(ppc_fill_vrregset, ppc_store_vrregset): New.
(target_regsets): Add AltiVec register set.
* configure: Regenerated.
* features/Makefile (WHICH): Add PowerPC register definitions.
(rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite)
(rs6000/powerpc-64-expedite): New macros.
($(outdir)/%.dat): Handle subdirectories.
* regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat,
regformats/rs6000/powerpc-e500.dat: New generated files.
2007-10-15 19:58:17 +00:00
Daniel Jacobowitz
310a98e102
* ppc-linux-nat.c (ppc_linux_read_description): New.
...
(_initialize_ppc_linux_nat): Set to_read_description.
* ppc-tdep.h (tdesc_powerpc_e500): Declare.
2007-10-15 19:49:53 +00:00