Andrew Cagney [Mon, 4 Aug 2003 22:24:44 +0000 (22:24 +0000)]
2003-08-04 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (gdbarch_data_free_ftype): Delete declaration.
(register_gdbarch_data): Delete "free" parameter. Update
comments.
* gdbarch.h, gdbarch.c: Re-generate.
* reggroups.c (_initialize_reggroup): Update.
* gnu-v3-abi.c (init_gnuv3_ops): Update.
* frame-base.c (_initialize_frame_base): Update.
* frame-unwind.c (_initialize_frame_unwind): Update.
* user-regs.c (_initialize_user_regs): Update.
* remote.c (_initialize_remote): Update.
* regcache.c (_initialize_regcache): Update.
Andrew Cagney [Mon, 4 Aug 2003 21:12:46 +0000 (21:12 +0000)]
2003-08-04 Andrew Cagney <cagney@redhat.com>
* regcache.c (xfree_regcache_descr): Delete function.
(_initialize_regcache): Update call to register_gdbarch_data.
(init_regcache_descr, init_legacy_regcache_descr): Use
GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC.
Andrew Cagney [Mon, 4 Aug 2003 20:52:27 +0000 (20:52 +0000)]
2003-08-04 Andrew Cagney <cagney@redhat.com>
* remote.c (free_remote_state): Delete function.
(_initialize_remote): Update register_gdbarch_data.
(init_remote_state): Use GDBARCH_OBSTACK_XALLOC and
GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc.
Andrew Cagney [Mon, 4 Aug 2003 20:43:57 +0000 (20:43 +0000)]
2003-08-04 Andrew Cagney <cagney@redhat.com>
* agentexpr.texi: Delete @bye.
* Makefile.in (STABS_DOC_SOURCE_INCLUDES): Add "fdl.texi"
(stabs.info): Add $(srcdir) to include search path.
(html): Depend on "annotate_toc.html", and not "annotate.html".
* stabs.texinfo: Ditto. Include "fdl.texi".
* gdbint.texinfo: Update copyright statement's list of invariant
sections.
Andrew Cagney [Mon, 4 Aug 2003 20:34:10 +0000 (20:34 +0000)]
2003-08-04 Andrew Cagney <cagney@redhat.com>
* reggroups.c (struct reggroup_el): Define.
(struct reggroups): Delete field "nr_group". Replace array
"group" with a "first" to "last" linked list.
(reggroups_init): Update. Allocate using gdbarch's obstack.
(reggroups_free): Delete function.
(add_group): Update. Add "el" parameter.
(reggroup_add): Pass gdbarch obstack allocated space to add_group.
(default_groups): Update.
(reggroup_next): Replace reggroups.
(reggroups_dump): Update.
(_initialize_reggroup): Pass XMALLOC allocated space to add_group.
* regcache.c (regcache_dump): Use reggroup_next instead of reggroups.
* infcmd.c (registers_info): Use reggroup_next instead of reggroups.
Daniel Jacobowitz [Mon, 4 Aug 2003 19:28:17 +0000 (19:28 +0000)]
* tui-interp.c: Include "cli-out.h".
(tui_resume): Update tui_old_uiout's stream to gdb_stdout.
Daniel Jacobowitz [Mon, 4 Aug 2003 19:28:05 +0000 (19:28 +0000)]
* Makefile.in (tui-interp.o): Update dependencies.
David Carlton [Mon, 4 Aug 2003 17:08:24 +0000 (17:08 +0000)]
2003-08-04 David Carlton <carlton@kealia.com>
* charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args
to internal_error call.
* source.c (forward_search_command): Add "%s" format argument.
(reverse_search_command): Ditto.
* top.c (quit_confirm): Ditto.
* cli/cli-setshow.c (do_setshow_command): Ditto.
* cp-valprint.c (cp_print_class_method): Replace
{f,}printf_{un,}filtered by {f,}puts_{un,}filtered.
(cp_print_class_member): Ditto.
* event-top.c (command_line_handler): Ditto.
* linux-proc.c (linux_info_proc_cmd): Ditto.
* p-typeprint.c (pascal_type_print_base): Ditto.
* p-valprint.c (pascal_object_print_class_method): Ditto.
(pascal_object_print_class_member): Ditto.
* printcmd.c (print_scalar_formatted,printf_command): Ditto.
* remote.c (remote_cisco_section_offsets): Ditto.
* top.c (command_line_input): Ditto.
* utils.c (vwarning,error_stream,quit): Ditto.
* valprint.c (print_floating,print_binary_chars)
(print_octal_chars,print_decimal_chars,print_hex_chars): Ditto.
2003-08-04 David Carlton <carlton@kealia.com>
* mi-main.c (mi_error_last_message): Add "%s" second argument to
xasprintf call.
2003-08-04 David Carlton <carlton@kealia.com>
* generic/gdbtk.c (gdbtk_source_start_file): Add "%s" first
argument to error call.
(tk_command): Ditto.
(view_command): Ditto.
Andrew Cagney [Mon, 4 Aug 2003 15:42:43 +0000 (15:42 +0000)]
2003-08-04 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_func_unwind): Use frame_unwind_address_in_block.
Alan Modra [Mon, 4 Aug 2003 14:29:34 +0000 (14:29 +0000)]
* objdump.c (include_paths, include_path_count): New vars.
(usage): Describe --include.
(long_options): Add "include".
(add_include_path): New function.
(struct print_file_list): Make filename const. Add modname.
(try_print_file_open, update_source_path): New functions.
(show_line): Use them.
(main): Handle 'I' option. Don't check for NULL xrealloc arg.
Alan Modra [Mon, 4 Aug 2003 12:03:49 +0000 (12:03 +0000)]
* config/tc-i386.c (i386_intel_operand): Always call i386_index_check
for memory operands. Pass the full operand_string to i386_index_check.
Nick Clifton [Mon, 4 Aug 2003 11:32:52 +0000 (11:32 +0000)]
Prefix .gnu.warning section messages with "warning: ".
Alan Modra [Mon, 4 Aug 2003 09:39:46 +0000 (09:39 +0000)]
* elfcode.h: Convert to C90, remove unneeded casts and prototypes.
* elfcore.h: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elf.c (sym_is_global): Remove INLINE.
(align_file_position): Replace INLINE with inline.
* elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE.
(elf_file_p): Replace INLINE with inline.
Alan Modra [Mon, 4 Aug 2003 04:01:39 +0000 (04:01 +0000)]
* emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
.rel.dyn before other reloc sections. Don't stop looking for reloc
sections on finding one that isn't allocated. Match .rel even when
placing .rela and vice versa, when setting last_rel and
last_rel_alloc for the first time. If no reloc sections in script,
prefer allocated section over non-alloc.
(gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
Jason Eckhardt [Mon, 4 Aug 2003 02:45:05 +0000 (02:45 +0000)]
2003-08-03 Jason Eckhardt <jle@rice.edu>
* gas/i860/*.d: Prefix name with "i860".
Jason Eckhardt [Mon, 4 Aug 2003 02:23:49 +0000 (02:23 +0000)]
2003-08-03 Jason Eckhardt <jle@rice.edu>
* gas/i860/dual01.{s,d}: New files.
* gas/i860/dual02-err.{s,l}: New files.
* gas/i860/dual03.{s,d}: New files.
* gas/i860/i860.exp: Execute the above new tests.
* gas/i860/README.i860: Update.
gdbadmin [Mon, 4 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 4 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Sun, 3 Aug 2003 02:42:16 +0000 (02:42 +0000)]
2003-08-02 Andrew Cagney <cagney@redhat.com>
* config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc,
gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and
amd64fbsd-nat.c.
Andrew Cagney [Sun, 3 Aug 2003 01:57:13 +0000 (01:57 +0000)]
2003-08-02 Andrew Cagney <cagney@redhat.com>
* gdb.base/annota3.exp: New file.
* gdb.base/annota3.c: New file.
* gdb.c++/annota3.exp: New file.
* gdb.c++/annota3.cc: New file.
Alan Modra [Sun, 3 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 3 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sat, 2 Aug 2003 20:11:48 +0000 (20:11 +0000)]
2003-08-02 Andrew Cagney <cagney@redhat.com>
* Makefile.in: Update all dependencies and definitions.
Kaz Kojima [Sat, 2 Aug 2003 13:46:44 +0000 (13:46 +0000)]
* elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.
* ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test.
Alan Modra [Sat, 2 Aug 2003 11:34:30 +0000 (11:34 +0000)]
Adjust for objdump -d change.
Jason Eckhardt [Sat, 2 Aug 2003 04:27:50 +0000 (04:27 +0000)]
2003-08-01 Jason Eckhardt <jle@rice.edu>
* gas/i860/README.i860: New file.
Adam Fedor [Sat, 2 Aug 2003 03:59:40 +0000 (03:59 +0000)]
* linespec.c (is_objc_method_format): New function
(decode_line_1, locate_first_half): Use it.
Fixes PR objc/1298
Jason Eckhardt [Sat, 2 Aug 2003 03:03:52 +0000 (03:03 +0000)]
2003-08-01 Jason Eckhardt <jle@rice.edu>
* config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences.
(target_intel_syntax): Declare variable.
(OPTION_INTEL_SYNTAX): Declare macro.
(md_longopts): Add option -mintel-syntax.
(md_parse_option): Set target_intel_syntax.
(md_show_usage): Add -mintel-syntax usage.
(md_begin): Set reg_prefix based on target_intel_syntax.
(i860_process_insn): Skip register prefix only if there is one.
Parse relocatable expressions in either Intel or AT&T syntax based
on target_intel_syntax instead of the SYNTAX_SVR4 macro.
* doc/c-i860.texi: Document -mintel-syntax option and give blurb
about the differences in syntax.
Nathanael Nerode [Sat, 2 Aug 2003 02:00:38 +0000 (02:00 +0000)]
Merge from gcc:
2003-08-01 Matt Kraai <kraai@alumni.cmu.edu>
* Makefile.tpl (check, check-c++): Express dependencies using
dependencies rather than commands.
* Makefile.in: Regenerate.
2003-07-31 Geoffrey Keating <geoffk@apple.com>
* Makefile.tpl (libsubdir): Use gcc instead of gcc-lib.
* Makefile.in: Update.
gdbadmin [Sat, 2 Aug 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 2 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update
H.J. Lu [Fri, 1 Aug 2003 22:46:16 +0000 (22:46 +0000)]
2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (get_got): Align the .got section at 8 bytes.
H.J. Lu [Fri, 1 Aug 2003 22:42:26 +0000 (22:42 +0000)]
2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use
ElfNN_External_Rela instead of Elf64_External_Rela.
Andrew Cagney [Fri, 1 Aug 2003 21:35:02 +0000 (21:35 +0000)]
2003-08-01 Andrew Cagney <cagney@redhat.com>
* configure.in (noconfigdirs): Do not add GDB when m32r-*-*.
* configure: Ditto.
Andrew Cagney [Fri, 1 Aug 2003 21:14:33 +0000 (21:14 +0000)]
2003-08-01 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that m32r is multi-arch.
From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>:
* configure.tgt: Recognize m32r-*-*.
* config/m32r/tm-m32r.h: Delete file.
* config/m32r/m32r.mt: New file.
* m32r-rom.c (m32r_upload_command): Use hostent only when
gethostname succeeds, in order to avoid a compilation
warning.
* m32r-tdep.c (m32r_store_return_value): Add a cast to remove a
compiler warning.
Michael Snyder [Fri, 1 Aug 2003 19:52:49 +0000 (19:52 +0000)]
2003-08-01 Michael Snyder <msnyder@redhat.com>
* sh-tdep.c (sh_frame_align): New gdbarch method.
(sh_gdbarch_init): Set up frame_align method.
Nick Clifton [Fri, 1 Aug 2003 08:35:04 +0000 (08:35 +0000)]
Add code to catch obsolete configurations and warn about them unless
--enable-obsolete is used. Use this to mark vax-vms port as obsolete.
Alan Modra [Fri, 1 Aug 2003 03:48:55 +0000 (03:48 +0000)]
* config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaround
to all arches.
Alan Modra [Fri, 1 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 1 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Thu, 31 Jul 2003 23:41:25 +0000 (23:41 +0000)]
2003-07-31 Michael Snyder <msnyder@redhat.com>
* value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change,
which is already covered by the new frames infrastructure.
Andrew Cagney [Thu, 31 Jul 2003 21:42:39 +0000 (21:42 +0000)]
2003-07-31 Andrew Cagney <cagney@redhat.com>
* user-regs.c (struct user_reg): Add "next" link.
(struct user_regs): Replace "user" with "first" and "last" links.
(append_user_reg): Add pre-allocated "reg" parameter.
(builtin_user_regs): Provide initial value for "last".
(user_reg_add_builtin): XMALLOC memory for append_user_reg.
(user_regs_init): Allocate memory from the gdbarch obstack.
(user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg.
(user_reg_map_name_to_regnum): Rewrite to search the user_reg
linked list.
(usernum_to_user_reg): New function.
(user_reg_map_regnum_to_name): Use usernum_to_user_reg.
(value_of_user_reg): Use usernum_to_user_reg.
(user_regs_free): Delete function.
(_initialize_user_regs): Update register_gdbarch_data call.
Daniel Jacobowitz [Thu, 31 Jul 2003 21:05:38 +0000 (21:05 +0000)]
* dwarf2read.c (new_symbol): Use var_decode_location for parameters.
Alan Modra [Thu, 31 Jul 2003 14:38:15 +0000 (14:38 +0000)]
* elf32-ppc.c (ppc_elf_install_value): Tidy.
(ppc_elf_relax_section): Remove dead code. Remove unnecessary casts.
Formatting.
* elfxx-target.h: Remove PARAMS macro. Formatting.
Alan Modra [Thu, 31 Jul 2003 14:34:13 +0000 (14:34 +0000)]
* elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
* elf64-ppc.c (get_fdh): New function, split out from
ppc64_elf_edit_opd.
(ppc64_elf_check_relocs): Use get_fdh.
(func_desc_adjust): Likewise. Tidy.
(ppc64_elf_edit_opd): Tighten reloc checks. Free local_syms on error
exit. Use get_fdh. Account for superfluous dynamic relocs.
(ppc64_elf_relocate_section): Warning fix.
Alan Modra [Thu, 31 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 31 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Jason Eckhardt [Wed, 30 Jul 2003 21:37:35 +0000 (21:37 +0000)]
2003-07-30 Jason Eckhardt <jle@rice.edu>
* coff-i860.c: Convert to ISO C90. Remove superflous prototypes.
Jason Eckhardt [Wed, 30 Jul 2003 21:10:12 +0000 (21:10 +0000)]
2003-07-30 Jason Eckhardt <jle@rice.edu>
* i860-dis.c: Convert to ISO C90. Remove superflous prototypes.
Michael Snyder [Wed, 30 Jul 2003 20:59:10 +0000 (20:59 +0000)]
2003-07-30 Michael Snyder <msnyder@redhat.com>
* structs.h (value_being_returned): Add a struct_addr argument.
* infcall.c (call_function_by_hand): Pass struct_addr to
value_being_returned.
* infcmd.c (print_return_value): Pass zero as struct_addr.
* values.c (value_being_returned): If struct_addr is passed,
use it instead of trying to recover it from the inferior.
Kevin Buettner [Wed, 30 Jul 2003 20:44:46 +0000 (20:44 +0000)]
* mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that
the prologue analyzer won't need to attempt to extract the pc
value from the woefully incomplete dummy frame.
(mn10300_analyze_prologue): Avoid calls to get_frame_pc() when
possible. Disable code which modifies the frame.
Joern Rennecke [Wed, 30 Jul 2003 20:34:26 +0000 (20:34 +0000)]
* config/tc-sh.c (md_assemble): For branches, check & update
valid_arch here.
Jason Eckhardt [Wed, 30 Jul 2003 20:24:55 +0000 (20:24 +0000)]
bfd:
2003-07-30 Jason Eckhardt <jle@rice.edu>
* elf32-i860.c: Convert to ISO C90. Remove superflous prototypes.
gas:
2003-07-30 Jason Eckhardt <jle@rice.edu>
* config/tc-i860.c: Convert to ISO C90.
DJ Delorie [Wed, 30 Jul 2003 20:12:58 +0000 (20:12 +0000)]
* configure.in: Enable libgcj for darwin.
* configure: Rebuild.
Rainer Orth [Wed, 30 Jul 2003 17:21:52 +0000 (17:21 +0000)]
* read.c (s_space): Revert 2003-07-28 change.
Nick Clifton [Wed, 30 Jul 2003 15:53:12 +0000 (15:53 +0000)]
Updated Romanian translation
Alan Modra [Wed, 30 Jul 2003 14:11:03 +0000 (14:11 +0000)]
* config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.
Andrew Cagney [Wed, 30 Jul 2003 04:14:38 +0000 (04:14 +0000)]
2003-07-28 Andrew Cagney <cagney@redhat.com>
* Makefile.in (INFO_DEPS): Add annotate.info.
(dvi, ps, html, pdf): Add annotate.
(ANNOTATE_DOC_SOURCE_INCLUDES): New macro.
(ANNOTATE_DOC_BUILD_INCLUDES): New macro.
(ANNOTATE_DOC_FILES): New macro.
(ANNOTATE_TEX_TMPS): New macro.
(annotate.info, annotate_toc.html): Specify dependencies.
(annotate.ps, annotate.pdf, annotate.dvi): Ditto.
* annotate.texinfo: Rename annotate.texi. Get building. Add
"Migrating to GDB/MI" and "Limitations of the Annotation
Interface" chapters. Mention why it is not part of the user
guide. Update copyright notice. Include "fdl.texi".
Alan Modra [Wed, 30 Jul 2003 03:54:15 +0000 (03:54 +0000)]
* objdump.c: Remove unnecessary prototypes.
(disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
code, and print relocs when dump_dynamic_reloc_info.
(disassemble_data): Read and handle dynamic relocs. Correct reloc
skip code. Formatting.
(dump_bfd): Don't dump dynamic relocs when disassembling.
Kaz Kojima [Wed, 30 Jul 2003 02:22:07 +0000 (02:22 +0000)]
* emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
section for shared library.
* emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
* emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
Alan Modra [Wed, 30 Jul 2003 02:15:07 +0000 (02:15 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
* elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type.
Alan Modra [Wed, 30 Jul 2003 02:08:06 +0000 (02:08 +0000)]
* elf.c: Convert to C90, remove unnecessary prototypes and casts.
Replace PTR with void *. Formatting.
(_bfd_elf_assign_file_position_for_section): Remove INLINE.
(make_mapping): Likewise.
Nathanael Nerode [Wed, 30 Jul 2003 01:35:07 +0000 (01:35 +0000)]
* mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
Alan Modra [Wed, 30 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 30 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Ben Elliston [Tue, 29 Jul 2003 23:44:03 +0000 (23:44 +0000)]
* MAINTAINERS: Remove self as M88k maintainer. Future M88k
maintenance defaults to the blanket write privilege maintainers.
Michael Chastain [Tue, 29 Jul 2003 21:51:25 +0000 (21:51 +0000)]
2003-07-29 Michael Chastain <mec@shout.net>
* gdb.threads/tls.c (spin): Check errno only if sem_wait
actually failed.
(do_pass): Likewise.
* gdb.threads/tls.exp: Always initialize no_of_threads.
Michael Snyder [Tue, 29 Jul 2003 21:07:40 +0000 (21:07 +0000)]
2003-07-22 Michael Snyder <msnyder@redhat.com>
* cmpw.s: Add test for less-than-zero immediate.
* shll.s: Test for shll reg, reg.
* shlr.s: Test for shlr reg, reg.
* mova.s: Add dozens of new mova tests.
Michael Snyder [Tue, 29 Jul 2003 21:05:31 +0000 (21:05 +0000)]
2003-07-18 Michael Snyder <msnyder@redhat.com>
* include/opcode/h8sx.h (DO_MOVA1, DO_MOVA2): Reformatting.
Michael Snyder [Tue, 29 Jul 2003 21:03:39 +0000 (21:03 +0000)]
2003-07-18 Michael Snyder <msnyder@redhat.com>
* compile.c (decode): Enhancements for mova.
Initialize cst, reg, and rdisp inside the loop, for each
new instruction. Defer correction of the disp2 values until
later, and then adjust them by the size of the first operand,
rather than the size of the instruction.
(sim_resume): For mova, adjust the size of the second operand
according to the type of the first operand (INDEXB vs. INDEXW).
In cases where there is only one operand, the other two must
both be composed on the fly.
Stephane Carrez [Tue, 29 Jul 2003 20:17:17 +0000 (20:17 +0000)]
* scripttempl/elfm68hc12.sc: Add gcc_except_table.
* scripttempl/elfm68hc11.sc: Likewise.
Michael Meissner [Tue, 29 Jul 2003 17:09:00 +0000 (17:09 +0000)]
Update meissner email address
Nick Clifton [Tue, 29 Jul 2003 15:40:37 +0000 (15:40 +0000)]
Update to Iso C.
Jakub Jelinek [Tue, 29 Jul 2003 14:02:55 +0000 (14:02 +0000)]
* ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc
sections.
--- ld/testsuite/ld-elfvsb/elf-offset.ld.jj 2003-05-19 17:12:47.
000000000 -0400
+++ ld/testsuite/ld-elfvsb/elf-offset.ld 2003-07-29 05:39:34.
000000000 -0400
@@ -46,6 +46,8 @@ SECTIONS
}
.rel.got : { *(.rel.got) }
.rela.got : { *(.rela.got) }
+ .rel.toc : { *(.rel.toc) }
+ .rela.toc : { *(.rela.toc) }
.rel.ctors : { *(.rel.ctors) }
.rela.ctors : { *(.rela.ctors) }
.rel.dtors : { *(.rel.dtors) }
@@ -111,6 +113,7 @@ SECTIONS
KEEP (*(.dtors))
}
.got : { *(.got.plt) *(.got) }
+ .toc : { *(.toc) }
.dynamic : { *(.dynamic) }
/* We want the small data sections together, so single-instruction offsets
can access them all, and initialized data all before uninitialized, so
Jakub Jelinek [Tue, 29 Jul 2003 08:29:56 +0000 (08:29 +0000)]
* ppc-opc.c (insert_mbe, extract_mbe): Shift 1L instead of 1 up.
Nick Clifton [Tue, 29 Jul 2003 07:06:08 +0000 (07:06 +0000)]
Remove empty .text disassembly
Alan Modra [Tue, 29 Jul 2003 06:55:34 +0000 (06:55 +0000)]
* config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.
Alan Modra [Tue, 29 Jul 2003 06:53:41 +0000 (06:53 +0000)]
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.
Alan Modra [Tue, 29 Jul 2003 06:48:30 +0000 (06:48 +0000)]
* config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
Alan Modra [Tue, 29 Jul 2003 06:47:10 +0000 (06:47 +0000)]
* elf64-ppc.c (func_desc_adjust): Give linker created function
descriptor symbols a size and type.
(ppc64_elf_relocate_section): Correct lq insn test.
Eric Christopher [Tue, 29 Jul 2003 06:42:51 +0000 (06:42 +0000)]
2003-07-28 Eric Christopher <echristo@redhat.com>
* elf32-ppc.c (R_PPC_RELAX32): New relocation.
(ppc_elf_install_value): New function.
(ppc_elf_sort_rela): Remove.
(ppc_elf_relax_section): Rewrite. Remove old relaxation
and replace with out of range branch stubs.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32.
2003-07-28 Eric Christopher <echristo@redhat.com>
* ppc.h (R_PPC_RELAX32): New. Fake relocation.
Nick Clifton [Tue, 29 Jul 2003 06:26:23 +0000 (06:26 +0000)]
Update expected output regexps to include .eh_frame section.
Alexandre Oliva [Tue, 29 Jul 2003 06:18:40 +0000 (06:18 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
from input_bfd.
Andrew Cagney [Tue, 29 Jul 2003 03:17:08 +0000 (03:17 +0000)]
2003-07-28 Andrew Cagney <cagney@redhat.com>
* annotate.c (annotate_breakpoints_headers): Restrict annotation
to level 2.
(annotate_breakpoints_table, annotate_record): Ditto.
(annotate_breakpoints_table_end, annotate_field_begin): Ditto.
(annotate_field_name_end, annotate_field_value): Ditto.
(annotate_field_end, annotate_frame_source_begin): Ditto.
(annotate_frame_source_file, annotate_frame_source_file_end): Ditto.
(annotate_frame_source_line, annotate_frame_source_end): Ditto.
(annotate_frame_begin, annotate_frame_function_name): Ditto.
(annotate_frame_address_end, annotate_frame_address): Ditto.
(annotate_frame_args, annotate_frame_end): Ditto.
(annotate_frame_where, annotate_arg_begin): Ditto.
(annotate_arg_name_end, annotate_arg_value): Ditto.
(annotate_arg_end, annotate_signal_handler_caller): Ditto.
(annotate_function_call, annotate_signal_name): Ditto.
(annotate_signal_string, annotate_signal_name_end): Ditto.
(annotate_signal_string_end, annotate_value_history_begin): Ditto.
(annotate_value_begin, annotate_value_history_value): Ditto.
(annotate_value_history_end, annotate_value_end): Ditto.
(annotate_display_begin, annotate_display_number_end): Ditto.
(annotate_display_format, annotate_display_expression): Ditto.
(annotate_display_expression_end, annotate_display_value): Ditto.
(annotate_display_end, annotate_array_section_begin): Ditto.
(annotate_elt_rep, annotate_elt_rep_end): Ditto.
(annotate_elt, annotate_array_section_end): Ditto.
H.J. Lu [Tue, 29 Jul 2003 02:03:33 +0000 (02:03 +0000)]
gas/
2003-07-28 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (obj_elf_section_type): Also accept "note".
gas/testsuite/
2003-07-28 H.J. Lu <hongjiu.lu@intel.com>
* gas/elf/elf.exp: Add section3 for note section.
* gas/elf/section3.d: New file.
* gas/elf/section3.s: Likewise.
Alan Modra [Tue, 29 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 29 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Rainer Orth [Mon, 28 Jul 2003 20:35:59 +0000 (20:35 +0000)]
* read.c (s_space): Don't warn about .space 0.
Rainer Orth [Mon, 28 Jul 2003 20:06:27 +0000 (20:06 +0000)]
* config/tc-mips.c (mips_flag_pdr): Define.
(md_begin) [OBJ_ELF]: Use it to control .pdr creation.
(s_mips_end) [OBJ_ELF]: Likewise.
(md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR.
(md_parse_option) [OBJ_ELF]: Handle them.
(md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr.
* doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr.
* doc/as.texinfo (Overview) [MIPS]: Likewise.
Andrew Cagney [Mon, 28 Jul 2003 15:41:19 +0000 (15:41 +0000)]
2003-07-28 Andrew Cagney <cagney@redhat.com>
* regcache.c (struct regcache_descr): Update comments on
nr_raw_registers.
(init_legacy_regcache_descr): Don't set nr_raw_registers or
sizeof_raw_register_valid_p.
(init_regcache_descr): Set nr_raw_registers and
sizeof_raw_register_valid_p before calling
init_legacy_regcache_descr.
Andrew Cagney [Mon, 28 Jul 2003 15:31:08 +0000 (15:31 +0000)]
2003-07-28 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (print_gp_register_row): Print the GPR's register
MOD NUM_REGS.
Alan Modra [Mon, 28 Jul 2003 14:21:44 +0000 (14:21 +0000)]
* elf.c (special_sections): Set attributes for .got and .plt.
Daniel Jacobowitz [Mon, 28 Jul 2003 13:02:12 +0000 (13:02 +0000)]
* thread.c (info_threads_command): Use get_selected_frame ().
Check that there is at least one non-sentinel frame.
Alan Modra [Mon, 28 Jul 2003 03:33:48 +0000 (03:33 +0000)]
* emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
Nathanael Nerode [Mon, 28 Jul 2003 03:27:46 +0000 (03:27 +0000)]
* Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
creating target and build subdirs to build all parent dirs as needed.
* Makefile.in: Rebuild.
* configure.in: Don't build dirs explicitly here.
* configure: Rebuild.
Alan Modra [Mon, 28 Jul 2003 02:42:37 +0000 (02:42 +0000)]
* emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
Daniel Jacobowitz [Mon, 28 Jul 2003 00:57:29 +0000 (00:57 +0000)]
* gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
pattern.
* gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
* gdb.threads/tls.exp: Recognize one case of the host library not
supporting TLS.
gdbadmin [Mon, 28 Jul 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 28 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update
Stephane Carrez [Sun, 27 Jul 2003 21:39:44 +0000 (21:39 +0000)]
* m68hc11-tdep.c (struct frame_extra_info): Remove.
(m68hc11_pop_frame): Remove.
(m68hc11_frame_saved_pc): Remove.
(m68hc11_frame_chain): Remove.
(m68hc11_frame_init_saved_regs): Remove.
(m68hc11_init_extra_frame_info): Remove.
(m68hc11_store_struct_return): Remove.
(m68hc11_saved_pc_after_call): Remove.
(m68hc11_call_dummy_address): Remove.