binutils-gdb.git
22 years ago2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 23 Oct 2002 21:17:51 +0000 (21:17 +0000)]
2002-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-cmd-var.c: Change all remaining occurrences of ui_out_tuple_begin
        to make_cleanup_ui_out_tuple_begin_end.  Change all remaining
        occurrences of ui_out_list_begin to make_cleanup_ui_out_list_begin_end.         Use do_cleanups instead of ui_out_list_end or ui_out_tuple_end.  This
        is a fix for PR gdb/680.
        * mi-cmd-stack.c: Ditto.
        * mi-main.c: Ditto.

22 years ago * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
Jakub Jelinek [Wed, 23 Oct 2002 20:21:21 +0000 (20:21 +0000)]
* elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
relocs into shared lib non-allocated reloc sections.

22 years ago * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
Jakub Jelinek [Wed, 23 Oct 2002 20:13:01 +0000 (20:13 +0000)]
* emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
sections into .rel{,a}.dyn.

22 years ago2002-10-23 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 23 Oct 2002 20:09:28 +0000 (20:09 +0000)]
2002-10-23  Elena Zannoni  <ezannoni@redhat.com>

* symtab.c (symbol_demangled_name): New function.
* symtab.h (SYMBOL_DEMANGLED_NAME): Simplify macro, by
turning most of it into a function.
(symbol_demangled_name): Export.

22 years ago2002-10-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Oct 2002 19:22:28 +0000 (19:22 +0000)]
2002-10-23  Michael Snyder  <msnyder@redhat.com>

* valops.c (value_of_local): Restore quotes in error message.

22 years ago2002-10-23 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 23 Oct 2002 18:16:44 +0000 (18:16 +0000)]
2002-10-23  Elena Zannoni  <ezannoni@redhat.com>

* symtab.c (symbol_init_language_specific): New function.
* symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): Simplify macro, by
turning most of it into a function.
(symbol_init_language_specific): Export.

22 years ago2002-10-23 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 23 Oct 2002 16:40:55 +0000 (16:40 +0000)]
2002-10-23  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (dwarf_tag_name): Add DWARF 3 names.
(dwarf_attr_name): Ditto.
(dwarf_type_encoding_name): Ditto.
(scan_partial_symbols): Descend into DW_TAG_namespace entries.
(process_die): Handle DW_TAG_namespace,
DW_TAG_imported_declaration, DW_TAG_imported_module.
(read_namespace): New function.

22 years agoAdd conditional/unconditional branch classification.
Nick Clifton [Wed, 23 Oct 2002 15:45:49 +0000 (15:45 +0000)]
Add conditional/unconditional branch classification.

22 years agoDefine SKIP_ZEROES as 32 for tic4x target in order to ensure proper
Nick Clifton [Wed, 23 Oct 2002 14:49:08 +0000 (14:49 +0000)]
Define SKIP_ZEROES as 32 for tic4x target in order to ensure proper
disassembly of the valid 0-value opcode.

22 years ago * MAINTAINERS: Add Kaz Kojima as SH maintainer.
Kaz Kojima [Wed, 23 Oct 2002 13:39:09 +0000 (13:39 +0000)]
* MAINTAINERS: Add Kaz Kojima as SH maintainer.

22 years agoAdd new command line option "--no-omagic" which undoes the effects of -N.
Nick Clifton [Wed, 23 Oct 2002 13:24:10 +0000 (13:24 +0000)]
Add new command line option "--no-omagic" which undoes the effects of -N.

22 years ago * dwarf2.c (add_line_info): Ensure that the line_info_table is
Alan Modra [Wed, 23 Oct 2002 12:41:32 +0000 (12:41 +0000)]
* dwarf2.c (add_line_info): Ensure that the line_info_table is
sorted even when given an out-of-order line sequence.
(lookup_address_in_line_info_table): When an exact VMA match is
not found, return line information with the closest VMA.

22 years agoForce DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559.
Nick Clifton [Wed, 23 Oct 2002 12:34:57 +0000 (12:34 +0000)]
Force DT_FLAGS to always be set.  Required by HPUX 11.00 patch PHSS_26559.

22 years ago(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
Nick Clifton [Wed, 23 Oct 2002 11:21:27 +0000 (11:21 +0000)]
(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
only when relocating.

22 years agoAllow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted into
Nick Clifton [Wed, 23 Oct 2002 10:34:18 +0000 (10:34 +0000)]
Allow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted into
a GOT reloc.

22 years agoFix typo in last entry
Hans-Peter Nilsson [Wed, 23 Oct 2002 05:23:57 +0000 (05:23 +0000)]
Fix typo in last entry

22 years ago * config/tc-mmix.h (tc_frob_file_before_adjust): Don't declare.
Hans-Peter Nilsson [Wed, 23 Oct 2002 05:21:09 +0000 (05:21 +0000)]
* config/tc-mmix.h (tc_frob_file_before_adjust): Don't declare.
(tc_frob_file_before_adjust): Don't define.
* config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
function.
(mmix_frob_file_before_adjust): Remove ineffective function.

22 years ago * gdb.threads/schedlock.c (args): Make unsigned.
Daniel Jacobowitz [Wed, 23 Oct 2002 03:22:56 +0000 (03:22 +0000)]
* gdb.threads/schedlock.c (args): Make unsigned.

22 years ago2002-10-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 23 Oct 2002 03:11:47 +0000 (03:11 +0000)]
2002-10-22  H.J. Lu <hjl@gnu.org>

* gas/mips/branch-misc-2.d: Updated.

22 years ago*** empty log message ***
gdbadmin [Wed, 23 Oct 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 23 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * config/tc-cris.c (SIMPLE_EXPR): New macro.
Hans-Peter Nilsson [Tue, 22 Oct 2002 23:45:40 +0000 (23:45 +0000)]
* config/tc-cris.c (SIMPLE_EXPR): New macro.
(cris_relax_frag): New function.
(md_estimate_size_before_relax) <case ENCODE_RELAX
(STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
expressions that will become absolute expressions to relaxation.
(md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
STATE_WORD)>: Expect only absolute expressions.  Use the symbol
value, not distance to symbol.
<case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
Ditto.  Correct placement of fixup.
(md_assemble): Use SIMPLE_EXPR when dissecting expressions.
(gen_bdap): Ditto.
* config/tc-cris.h (cris_relax_frag): Declare.
(md_relax_frag): Define.

22 years ago * gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s,
Hans-Peter Nilsson [Tue, 22 Oct 2002 23:15:59 +0000 (23:15 +0000)]
* gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s,
gas/cris/rd-pcrel2.d, gas/cris/rd-pcrel2.s: New tests.

22 years ago* use @itemx, not @item, for --disassemble-zeroes.
Ben Elliston [Tue, 22 Oct 2002 22:59:02 +0000 (22:59 +0000)]
* use @itemx, not @item, for --disassemble-zeroes.

22 years ago * doc/binutils.texi (objdump): Document -z and move the entry for
Ben Elliston [Tue, 22 Oct 2002 22:40:47 +0000 (22:40 +0000)]
* doc/binutils.texi (objdump): Document -z and move the entry for
--disassemble-zeroes to the end of the options section (for `z').

22 years ago* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move
Alexandre Oliva [Tue, 22 Oct 2002 22:17:11 +0000 (22:17 +0000)]
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move
the options section into a separate section unless IRIX 6
compatibility is enabled.

22 years ago* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
Alexandre Oliva [Tue, 22 Oct 2002 22:13:26 +0000 (22:13 +0000)]
* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
emulation name.  Set LIB_PATH only for native tools, and
search the ABI-specific versions of NATIVE_LIB_DIRS before the
.../lib variants, not instead of them.  Mostly copied from...
* emulparams/elf32ppc.sh: ... here.  Fixed typo.
* emulparams/elf64bmip-defs.sh: Backed out.
* emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
* emulparams/elf64btsmip.sh: Likewise.
(DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
TEXT_DYNAMIC): Removed.

22 years ago* elflink.h (struct elf_link_sort_rela): Turn rel and rela
Alexandre Oliva [Tue, 22 Oct 2002 21:00:10 +0000 (21:00 +0000)]
* elflink.h (struct elf_link_sort_rela): Turn rel and rela
into arrays.
(elf_link_sort_cmp1, elf_link_sort_cmp2): Adjust.
(elf_link_sort_relocs): Likewise.  Take int_rels_per_ext_rel
into account.
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Compose
R_MIPS_REL32 with R_MIPS64 if ABI_64_P.

22 years ago * configure.in: Define NEW_PROC_API on Interix too.
Joel Brobecker [Tue, 22 Oct 2002 20:21:56 +0000 (20:21 +0000)]
   * configure.in: Define NEW_PROC_API on Interix too.
       * configure: Regenerate.

22 years ago * mi-main.c (mi_cmd_thread_select): Only return MI_CMD_CAUGHT_ERROR
Keith Seitz [Tue, 22 Oct 2002 17:53:42 +0000 (17:53 +0000)]
    * mi-main.c (mi_cmd_thread_select): Only return MI_CMD_CAUGHT_ERROR
        when we really did catch an error(). If we got GDB_RC_FAIL, return
        MI_CMD_ERROR instead.

22 years ago * config/obj-elf.c (special_sections): Use correct types for init
Alan Modra [Tue, 22 Oct 2002 10:56:45 +0000 (10:56 +0000)]
* config/obj-elf.c (special_sections): Use correct types for init
array sections.
(obj_elf_change_section): Don't mess with init array section type.

22 years ago * configure: Regenerate using the proper version of autoconf.
Joel Brobecker [Tue, 22 Oct 2002 03:54:20 +0000 (03:54 +0000)]
  * configure: Regenerate using the proper version of autoconf.

22 years ago * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
Daniel Jacobowitz [Tue, 22 Oct 2002 01:43:37 +0000 (01:43 +0000)]
    * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
        numbers.  Allow "foo2|selected stack frame".
        * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
        * gdb.asm/asmsrc2.s: Likewise.
        * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
        comments.
        * gdb.asm/mips.inc: New file.

22 years agodaily update
Alan Modra [Tue, 22 Oct 2002 00:01:04 +0000 (00:01 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 22 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-10-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 21 Oct 2002 20:12:56 +0000 (20:12 +0000)]
2002-10-21  Elena Zannoni  <ezannoni@redhat.com>

* findvar.c (read_var_value): Temporarily disable TLS code, until
complete TLS support is added.

22 years ago2002-10-21 Jim Blandy <jimb@redhat.com>
Elena Zannoni [Mon, 21 Oct 2002 19:11:50 +0000 (19:11 +0000)]
2002-10-21  Jim Blandy  <jimb@redhat.com>
    Elena Zannoni  <ezannoni@redhat.com>

* symtab.h (address_class): Re-add LOC_THREAD_LOCAL_STATIC
for thread local storage locations.
(struct symbol): Add objfile field.
(SYMBOL_OBJFILE): Define.
* dwarf2read.c (is_thread_local): New static variable.
(new_symbol): If variable is in thread local fill in address class
and objfile appropriately.
(decode_locdesc): Recognize and handle DW_OP_GNU_push_tls_address
stack operation.
* printcmd.c (address_info): Print the information for thread
local storage variable.
* findvar.c (read_var_value): In case of thread local variable,
defer to the target vector code to compute address.

22 years ago2002-10-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 21 Oct 2002 18:53:38 +0000 (18:53 +0000)]
2002-10-21  Elena Zannoni  <ezannoni@redhat.com>

        * solib-svr4.c (svr4_fetch_objfile_link_map): New function.
        * solib-svr4.h (svr4_fetch_objfile_link_map): Export.

22 years ago2002-10-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 21 Oct 2002 18:42:40 +0000 (18:42 +0000)]
2002-10-21  Elena Zannoni  <ezannoni@redhat.com>

        * solib-svr4.c (svr4_fetch_objfile_link_map): New function.
        * solib-svr4.h (svr4_fetch_objfile_link_map): Export.

22 years ago * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
Richard Sandiford [Mon, 21 Oct 2002 14:59:30 +0000 (14:59 +0000)]
* config/tc-mips.c (mips_need_elf_addend_fixup): Return true
for relocs against symbols in a merged section.

testsuite/
* gas/mips/elf-rel7.[sd]: New test.
* gas/mips/mips.exp: Run it.

22 years ago2002-10-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 21 Oct 2002 14:55:18 +0000 (14:55 +0000)]
2002-10-21  Elena Zannoni  <ezannoni@redhat.com>

* symtab.h (address_class):  Rename
LOC_THREAD_LOCAL_STATIC to LOC_HP_THREAD_LOCAL_STATIC.
* hpread.c (hpread_process_one_debug_symbol): Ditto.
* printcmd.c (address_info): Ditto.
* findvar.c (symbol_read_needs_frame, read_var_value): Ditto.

22 years ago * targets.c (_bfd_target_vector): Add missing qnx vectors.
Alan Modra [Mon, 21 Oct 2002 11:01:00 +0000 (11:01 +0000)]
* targets.c (_bfd_target_vector): Add missing qnx vectors.

22 years ago * targets.c (bfd_target_list): Don't return the default target twice.
Alan Modra [Mon, 21 Oct 2002 10:58:42 +0000 (10:58 +0000)]
* targets.c (bfd_target_list): Don't return the default target twice.

22 years agoDiscontinue Hans-Peter Nilsson as SH maintainer.
Nick Clifton [Mon, 21 Oct 2002 07:56:36 +0000 (07:56 +0000)]
Discontinue Hans-Peter Nilsson as SH maintainer.

22 years ago * objdump.c (dump_data): Correct addr_offset for opb != 1.
Alan Modra [Mon, 21 Oct 2002 02:18:58 +0000 (02:18 +0000)]
* objdump.c (dump_data): Correct addr_offset for opb != 1.

22 years ago * archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
Alan Modra [Mon, 21 Oct 2002 01:58:48 +0000 (01:58 +0000)]
* archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
perror with bfd_perror.

22 years ago*** empty log message ***
gdbadmin [Mon, 21 Oct 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 21 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* i386bsd-nat.c (i386bsd_dr_set, i386bsd_dr_get_status): Use
Mark Kettenis [Sun, 20 Oct 2002 21:18:59 +0000 (21:18 +0000)]
* i386bsd-nat.c (i386bsd_dr_set, i386bsd_dr_get_status): Use
DBREG_DRX macro to acces debug registers.

22 years ago* Makefile.in (i386obsd-tdep.o): New target.
Mark Kettenis [Sun, 20 Oct 2002 20:27:19 +0000 (20:27 +0000)]
* Makefile.in (i386obsd-tdep.o): New target.

22 years ago* solib-sunos.c: Include "bcache.h" and "regcache.h".
Mark Kettenis [Sun, 20 Oct 2002 14:38:26 +0000 (14:38 +0000)]
* solib-sunos.c: Include "bcache.h" and "regcache.h".
* Makefile.in (solib-sunos.o): Add $(bcache_h) and $(regcache_h).

22 years ago* configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds.
Mark Kettenis [Sun, 20 Oct 2002 11:54:40 +0000 (11:54 +0000)]
* configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds.
* config/i386/obsd.mt: New file.
* i386bsd-nat.c (_initialize_i386bsd_nat): Introduce
i386obsd_sc_pc_offset and i386obsd_sc_sp_offset;
* i386obsd-nat.c (_initialize_i386obsd_nat): Set
i386obsd_sigtramp_start and i386obsd_sigtramp_end instead of
i386nbsd_sigtramp_start and i386nbsd_sigtramp_end.
* i386obsd-tdep.c: New file.

22 years ago2002-10-19 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Sun, 20 Oct 2002 05:37:33 +0000 (05:37 +0000)]
2002-10-19  David O'Brien  <obrien@FreeBSD.org>
* configure.tgt (alpha*-*-freebsd*, i[3456]86-*-freebsd*,
sparc64-*-freebsd*): Combine to make *-*-freebsd* with gdb_target set
to fbsd.  Removes need for additional freebsd tupples.

22 years ago(name_not_typename): Fix invalid comment.
Adam Fedor [Sun, 20 Oct 2002 01:38:40 +0000 (01:38 +0000)]
(name_not_typename): Fix invalid comment.

22 years ago*** empty log message ***
gdbadmin [Sun, 20 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 20 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* solib-sunos.c (allocate_rt_common_objfile): Use bcache_xmalloc
Mark Kettenis [Sat, 19 Oct 2002 23:05:27 +0000 (23:05 +0000)]
* solib-sunos.c (allocate_rt_common_objfile): Use bcache_xmalloc
to allocate partial syms and macro byte caches.

22 years ago2002-10-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 19 Oct 2002 17:13:58 +0000 (17:13 +0000)]
2002-10-19  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Correctly handle
DT_RPATH and DT_RUNPATH.
:VS: ----------------------------------------------------------------------

22 years ago* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.
Mark Kettenis [Sat, 19 Oct 2002 13:52:58 +0000 (13:52 +0000)]
* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.

22 years ago* config/tc-mips.c (md_begin): Add $fcc registers to the symbol
Alexandre Oliva [Sat, 19 Oct 2002 00:37:50 +0000 (00:37 +0000)]
* config/tc-mips.c (md_begin): Add $fcc registers to the symbol
table as register names.

22 years ago*** empty log message ***
gdbadmin [Sat, 19 Oct 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 19 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-10-18 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 18 Oct 2002 23:47:53 +0000 (23:47 +0000)]
2002-10-18  David Carlton  <carlton@math.stanford.edu>

* symtab.h: Delete 'struct source' and 'struct sourcevector'.

(Also, I fixed up a date reference for an earlier ChangeLog entry of
mine; sorry about that.)

22 years agostabsread.c (find_name_end): New function.
Adam Fedor [Fri, 18 Oct 2002 22:49:42 +0000 (22:49 +0000)]
stabsread.c (find_name_end): New function.
(define_symbol): Use it.

22 years ago * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
Daniel Jacobowitz [Fri, 18 Oct 2002 19:34:39 +0000 (19:34 +0000)]
    * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
        * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Define to 1.
        * config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
        * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1.

22 years agogdb.base/default.exp: Update expected output to include 'ObjC'.
Adam Fedor [Fri, 18 Oct 2002 18:54:55 +0000 (18:54 +0000)]
gdb.base/default.exp: Update expected output to include 'ObjC'.
gdb.base/help.exp: Likewise.

22 years ago * gdbint.texinfo (Address Classes): Fix problems with insertion
Kevin Buettner [Fri, 18 Oct 2002 18:50:43 +0000 (18:50 +0000)]
* gdbint.texinfo (Address Classes): Fix problems with insertion
of ``{'' and ``}'' in example.

22 years ago * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
Martin Schwidefsky [Fri, 18 Oct 2002 07:30:06 +0000 (07:30 +0000)]
* config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
for option -m31.

22 years ago * expr.c (operand): Add support for n.nn flonums.
Alan Modra [Fri, 18 Oct 2002 01:56:39 +0000 (01:56 +0000)]
* expr.c (operand): Add support for n.nn flonums.

22 years agodaily update
Alan Modra [Fri, 18 Oct 2002 00:09:45 +0000 (00:09 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 18 Oct 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
Alexandre Oliva [Thu, 17 Oct 2002 21:54:44 +0000 (21:54 +0000)]
* emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
(GENERATE_SHLIB_SCRIPT): Set to yes.
(EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
* emulparams/elf32bmipn32.sh: here.
(GENERATE_SHLIB_SCRIPT): Deleted as redundant.
* emulparams/elf32btsmipn32.sh: Delete redundant unsets.
* emulparams/elf64bmip-defs.sh: New file.  Extend
elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
* emulparams/elf64bmip.sh: Bring in definitions from
elf64bmip-defs.sh.
(ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
settings.
(WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
* emulparams/elf64btsmip.sh: Bring in definitions from
elf64bmip-defs.sh.
(ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
(EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.

22 years ago2002-10-09 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 17 Oct 2002 21:16:12 +0000 (21:16 +0000)]
2002-10-09  David Carlton  <carlton@math.stanford.edu>

* symfile.h: Add opaque declaration for struct obstack.
Declare obsavestring to take a const char *.
* symfile.c (obsavestring): Make first argument a const char *.

22 years ago * gdb.base/constvars.c (struct crass, struct crisp): New structs.
Kevin Buettner [Thu, 17 Oct 2002 20:22:58 +0000 (20:22 +0000)]
* gdb.base/constvars.c (struct crass, struct crisp): New structs.
* gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.

22 years agoAddress Class documentation.
Kevin Buettner [Thu, 17 Oct 2002 18:33:36 +0000 (18:33 +0000)]
Address Class documentation.

22 years ago * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
Denis Chertykov [Thu, 17 Oct 2002 18:27:01 +0000 (18:27 +0000)]
* elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
for ip2k port.

22 years ago * elfxx-target.h (USE_REL): Don't define as 1.
Alan Modra [Thu, 17 Oct 2002 02:59:15 +0000 (02:59 +0000)]
* elfxx-target.h (USE_REL): Don't define as 1.
* elf32-arm.h (USE_REL): Provide a default define of 0.
Use #if rather than #ifdef when testing USE_REL.
* elf32-m32r.c: Likewise.

* elf32-arc.c (USE_REL): Define as 1.
* elf32-d10v.c (USE_REL): Likewise.
* elf32-m32r.c (USE_REL): Likewise.
* elf32-m68hc11.c (USE_REL): Likewise.
* elf32-m68hc12.c (USE_REL): Likewise.
* elf32-or32.c (USE_REL): Likewise.
* elfarm-nabi.c (USE_REL): Likewise.

22 years ago * itbl-parse.y (entry): Provide empty action.
Alan Modra [Thu, 17 Oct 2002 01:29:36 +0000 (01:29 +0000)]
* itbl-parse.y (entry): Provide empty action.

22 years ago*** empty log message ***
gdbadmin [Thu, 17 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 17 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago(parse_breakpoint_sals): Ignore ObjC method
Adam Fedor [Wed, 16 Oct 2002 23:25:32 +0000 (23:25 +0000)]
(parse_breakpoint_sals): Ignore ObjC method
names when matching breakpoints in current file.

22 years agoAddress class support.
Kevin Buettner [Wed, 16 Oct 2002 20:50:22 +0000 (20:50 +0000)]
Address class support.

22 years ago * config.bfd (s390-*-linux*): Add targ64_selvecs.
Jakub Jelinek [Wed, 16 Oct 2002 19:54:54 +0000 (19:54 +0000)]
* config.bfd (s390-*-linux*): Add targ64_selvecs.
(s390x-*-linux*): Add targ_selvecs.

* config.table: Use mh-s390pic for s390x too.

* configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
(s390-*-linux*): Add elf64_s390 emulation if want64.
* emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
genscript.sh changes.
* emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
* emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.

22 years ago2002-10-16 Klee Dienes <kdienes@apple.com>
Klee Dienes [Wed, 16 Oct 2002 17:36:44 +0000 (17:36 +0000)]
2002-10-16  Klee Dienes  <kdienes@apple.com>

        * stabsread.c (read_tilde_fields): Use name[sizeof(vptr_name)-2]
        to get the last character of a char[] buffer, not
        name[sizeof(vptr_name)-1].

22 years agomerge from gcc
DJ Delorie [Wed, 16 Oct 2002 13:47:35 +0000 (13:47 +0000)]
merge from gcc

22 years ago * configure.in (BFDVER_H): Set and subst.
Alan Modra [Wed, 16 Oct 2002 13:27:04 +0000 (13:27 +0000)]
* configure.in (BFDVER_H): Set and subst.
* dep-in.sed: Replace bfdver.h with $(BFDVER_H).
* Makefile.am: Run "make dep-am".
(BFDVER_H): Define.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

22 years ago * Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
Alan Modra [Wed, 16 Oct 2002 08:39:38 +0000 (08:39 +0000)]
* Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo,
elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo,
elf32-sh64-nbsd.lo, elf32-shqnx.lo.  Add elf32-qnx.lo.
(BFD32_BACKENDS_CFILES): Likewise for corresponding C files.
(BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo.
(BFD64_BACKENDS_CFILES): Likewise for corresponding C files.
(SOURCE_HFILES): Add elf32-qnx.h.
(BUILD_HFILES): Add bfdver.h.
Run "make dep-am".
* Makefile.in: Regenerate.
* configure.in Update bfd vector dependencies.
* configure: Regenerate.
* elf32-i386-fbsd.c: Delete.  Move code to elf32-i386.c.
* elf32-i386qnx.c: Likewise.
* elf32-ppcqnx.c: Delete.  Move code to elf32-ppc.c.
* elf32-sh-nbsd.c: Delete.  Move code to elf32-sh.c.
* elf32-sh-lin.c: Likewise.
* elf32-shqnx.c: Likewise.
* elf32-sh64-lin.c: Delete.  Move code to elf32-sh64.c.
* elf32-sh64-nbsd.c: Likewise.
* elf64-sh64-lin.c: Delete.  Move code to elf64-sh64.c.
* elf64-sh64-nbsd.c: Likewise.
* elfarmqnx-nabi.c: Delete.  Move code to elfarm-nabi.c.
* elf32-arm.h (ELF_MAXPAGESIZE): Always define.
* elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests.
* elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests.
* elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define.
(elf_backend_is_contained_by_filepos): Likewise.
(elf_backend_copy_private_bfd_data_p): Likewise.
Globalize and move functions to..
* elf32-qnx.c: ..here.  New file.
* elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests.  Don't
emit target vectors when INCLUDE_SHMEDIA.
* elf32-sh64.c: Remove ELF_ARCH test.  Move TARGET_* etc. defines to
end of file.
* elf64-sh64.c: Remove ELF_ARCH test.
* elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test.
* po/BLD-POTFILES.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

22 years ago * elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
Alan Modra [Wed, 16 Oct 2002 00:57:39 +0000 (00:57 +0000)]
* elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
loaded with --just-symbols.

22 years ago * elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
Alan Modra [Wed, 16 Oct 2002 00:56:41 +0000 (00:56 +0000)]
* elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
* elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elfarmqnx-nabi.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.

22 years agodaily update
Alan Modra [Wed, 16 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 16 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd.
Richard Henderson [Tue, 15 Oct 2002 17:14:51 +0000 (17:14 +0000)]
    * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd.
        (BFD64_BACKENDS_CFILES): Likewise.
        * configure.in (bfd_elf64_alpha_freebsd_vec): Use elf64-alpha.
        * elf64-alpha-fbsd.c: Remove file, move code ...
        * elf64-alpha.c: ... here.
        * Makefile.in, configure: Rebuild.

22 years ago * bucomm.c (list_supported_targets): Use bfd_target_list.
Alan Modra [Tue, 15 Oct 2002 11:34:01 +0000 (11:34 +0000)]
* bucomm.c (list_supported_targets): Use bfd_target_list.

22 years ago * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
Alan Modra [Tue, 15 Oct 2002 05:10:48 +0000 (05:10 +0000)]
* objcopy.c (copy_file): Report ambiguous bfd_object matches, and
other object errors in preference to bfd_core errors.

22 years agoNew objc_specific struct.
Adam Fedor [Tue, 15 Oct 2002 02:50:56 +0000 (02:50 +0000)]
New objc_specific struct.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Handle ObjC.
(SYMBOL_DEMANGLED_NAME): Likewise.

22 years ago(init_filename_language_table): Add ObjC file extension.
Adam Fedor [Tue, 15 Oct 2002 02:42:32 +0000 (02:42 +0000)]
(init_filename_language_table): Add ObjC file extension.

22 years ago * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
Alan Modra [Tue, 15 Oct 2002 02:20:53 +0000 (02:20 +0000)]
* config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
(MD_APPLY_SYM_VALUE): Define for PE too.

22 years agoutils.c (puts_filtered_tabular): New function.
Adam Fedor [Tue, 15 Oct 2002 02:16:51 +0000 (02:16 +0000)]
utils.c (puts_filtered_tabular): New function.
(fprintf_symbol_filtered): Get ObjC demangled name.
defs.h (puts_filtered_tabular): Declared.

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
Richard Henderson [Tue, 15 Oct 2002 01:07:52 +0000 (01:07 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment
        VALUE, not ADDEND.

22 years ago * ldlang.c (load_symbols): Revert last change.
Alan Modra [Tue, 15 Oct 2002 00:09:02 +0000 (00:09 +0000)]
* ldlang.c (load_symbols): Revert last change.