OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years ago2004-04-28 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 28 Apr 2004 16:36:23 +0000 (16:36 +0000)]
2004-04-28  Andrew Cagney  <cagney@redhat.com>

* stack.c (print_stack_frame_stub): Delete declaration.
(struct print_stack_frame_args, print_stack_frame)
(print_frame_info, print_frame): Replace "source" with print what.
Replace "print" with "print_level".  Replace "args" with
"print_args".
* frame.h (show_and_print_stack_frame, print_stack_frame)
(print_frame_info): Update declarations.
* stack.c (select_and_print_frame, frame_command)
(current_frame_command, up_command, down_command): Update calls -
use get_selected_frame, pass "enum print_what" for source, do not
call frame_relative_level.
* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto.
* remote-rdp.c (remote_rdp_open): Ditto.
* remote-mips.c (common_open): Ditto.
* remote-e7000.c (e7000_start_remote): Ditto.
* ocd.c (ocd_start_remote): Ditto.
* mi/mi-main.c (mi_cmd_exec_return): Ditto.
* infrun.c (normal_stop): Ditto.
* inflow.c (kill_command): Ditto.
* infcmd.c (finish_command): Ditto.
* corelow.c (core_open): Ditto.
* tracepoint.c (finish_tfind_command): Ditto.
* thread.c (info_threads_command, info_threads_command)
(restore_current_thread, do_captured_thread_select): Ditto.
* ada-tasks.c (task_command): Ditto.

20 years ago2004-04-28 Luke Dunstan <infidel@users.sourceforge.net>
infidel [Wed, 28 Apr 2004 14:18:11 +0000 (14:18 +0000)]
2004-04-28  Luke Dunstan  <infidel@users.sourceforge.net>

* lib/comctl32.def (SetWindowSubclass): Add stub.
Thanks to Eugene <egladysh@users.sourceforge.net>.

2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/winbase.h (EXECUTION_STATE): Add typedef.
(SetThreadExecutionState): Declare.
* include/wingdi.h (_WINGDI_): Define.
* include/objbase.h (_OBJBASE_H_): Define.

20 years ago* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
kettenis [Wed, 28 Apr 2004 00:22:43 +0000 (00:22 +0000)]
* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
i*86-*-*.

20 years ago* gdb.base/call-sc.exp (start_scalars_test): Fix regular
kettenis [Wed, 28 Apr 2004 00:15:52 +0000 (00:15 +0000)]
* gdb.base/call-sc.exp (start_scalars_test): Fix regular
expression that checks the return type.

20 years agodaily update
amodra [Wed, 28 Apr 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size
bwilson [Tue, 27 Apr 2004 21:28:15 +0000 (21:28 +0000)]
* elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size
if set.  Check reloc_done flag before applying relocations.  Use
output addresses, both when applying relocations and when comparing
against the specified section.
(elf_xtensa_relocate_section): Use output address to check if dynamic
reloc is in a literal pool.  Set section's reloc_done flag.

20 years agomerge from gcc:
dj [Tue, 27 Apr 2004 18:28:03 +0000 (18:28 +0000)]
merge from gcc:
2004-04-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
* acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for
Ada compilation.
Fix acx_cv_cc_gcc_supports_ada spelling.

20 years agomerge from gcc:
dj [Tue, 27 Apr 2004 18:25:00 +0000 (18:25 +0000)]
merge from gcc:
2004-04-27  Paolo Bonzini  <bonzini@gnu.org>

Revert:
2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host_modules): Mark with the bootstrap
flag packages on which gcc depends.
* Makefile.tpl (all-bootstrap): Use it.
* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
        * configure: Regenerate.
        * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc.
        * gcc/Makefile.tpl (compare): Use the result of the test.
        * gcc/Makefile.in: Regenerate.

2004-04-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc):
Always relocate gcc and prev-gcc to the original names, even
if the build fails.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
New targets.

20 years ago2004-04-27 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 27 Apr 2004 16:06:06 +0000 (16:06 +0000)]
2004-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-sh64.c (elf_backend_section_flags): New. Defined.
(sh64_elf_set_mach_from_flags): Remove the kludge for .cranges
section.
(sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges
section.

20 years ago * objcopy.c (copy_usage, strip_usage): Fix spelling.
amodra [Tue, 27 Apr 2004 06:31:16 +0000 (06:31 +0000)]
* objcopy.c (copy_usage, strip_usage): Fix spelling.

20 years agobinutils/
hjl [Tue, 27 Apr 2004 03:59:08 +0000 (03:59 +0000)]
binutils/

2004-04-26  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (do_section_groups): New.
(options): Add --section-groups/-g.
(usage): Mention --section-groups/-g.
(parse_args): Support --section-groups/-g.
(get_group_flags): New.
(process_section_groups): New.
(process_object): Call process_section_groups.

gas/

2004-04-26  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Check if the old
group name is NULL before comparison.

gas/testsuite/

2004-04-26  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/elf.exp: Add group0a, group0b and group1 for section
group.

* gas/elf/group0.s: New file.
* gas/elf/group0a.d: Likewise.
* gas/elf/group0b.d: Likewise.
* gas/elf/group1.e: Likewise.
* gas/elf/group1.s: Likewise.

20 years ago * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign
amodra [Tue, 27 Apr 2004 03:13:14 +0000 (03:13 +0000)]
* elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign
structure field removed in 2004-04-24 patch.
* elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix.

* elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>):
Constify hdr arg.
* elf32-arm.h (elf32_arm_section_flags): Likewise.
* elf64-alpha.c (elf64_alpha_section_flags): Likewise.
* elfxx-ia64.c (elfNN_ia64_section_flags): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section
field before calling elf_backend_section_flags.

20 years agodaily update
amodra [Tue, 27 Apr 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
aldyh [Mon, 26 Apr 2004 22:43:34 +0000 (22:43 +0000)]
    * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
        CT_INT case.

20 years agomerge from gcc
dj [Mon, 26 Apr 2004 18:23:59 +0000 (18:23 +0000)]
merge from gcc

20 years ago2004-04-26 Orjan Friberg <orjanf@axis.com>
orjanf [Mon, 26 Apr 2004 09:49:35 +0000 (09:49 +0000)]
2004-04-26  Orjan Friberg <orjanf@axis.com>

* frame.c: Include "observer.h".
(frame_observer_target_changed): New function.
(_initialize_frame): Attach target_changed observer.
* regcache.c: Include "observer.h".
(regcache_observer_target_changed): New function.
(_initialize_regcache): Attach target_changed observer.
* valops.c: Include "observer.h".
(value_assign): Notify target_changed event when modifying register.
* Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).

20 years ago2004-04-26 Orjan Friberg <orjanf@axis.com>
orjanf [Mon, 26 Apr 2004 09:36:56 +0000 (09:36 +0000)]
2004-04-26  Orjan Friberg  <orjanf@axis.com>

* observer.texi (GDB Observers): Add target_changed event.

20 years ago2004-04-26 Orjan Friberg <orjanf@axis.com>
orjanf [Mon, 26 Apr 2004 09:02:40 +0000 (09:02 +0000)]
2004-04-26  Orjan Friberg <orjanf@axis.com>

From Paul Koning <pkoning@equallogic.com>:
* breakpoint.c (free_valchain): New function.
(insert_bp_location, delete_breakpoint): Use free_valchain.
(remove_breakpoint): Do not remove the valchain.
(bpstat_stop_status): If not stopped by watchpoint, skip
watchpoints when generating stop status list.
* infrun.c (handle_inferior_event): Make
stepped_after_stopped_by_watchpoint a global variable.
* remote.c (remote_stopped_data_address): Return watch data
address rather than zero if stepped_after_stopped_by_watchpoint is
set.

20 years ago2004-04-25 Michael Chastain <mec.gnu@mindspring.com>
chastain [Sun, 25 Apr 2004 20:42:40 +0000 (20:42 +0000)]
2004-04-25  Michael Chastain  <mec.gnu@mindspring.com>

Fix PR gdb/1626.
* configure.in: Check for curses after termcap.
On osf5.*, do not check for ncurses.
* configure: Regenerate.

20 years ago* ppcobsd-nat.c: Include "ppc-tdep.h".
kettenis [Sun, 25 Apr 2004 14:36:14 +0000 (14:36 +0000)]
* ppcobsd-nat.c: Include "ppc-tdep.h".
* Makefile.in (ppcobsd-nat.o): Update dependencies.

20 years ago* stack.c (return_command): Use CHECK_TYPEDEF on the return type.
kettenis [Sun, 25 Apr 2004 11:28:34 +0000 (11:28 +0000)]
* stack.c (return_command): Use CHECK_TYPEDEF on the return type.
Fixes PR tdep/1623 and PR tdep/1624.

20 years ago[ bfd/ChangeLog ]
cgd [Sat, 24 Apr 2004 22:07:13 +0000 (22:07 +0000)]
[ bfd/ChangeLog ]
2004-04-24  Chris Demetriou  <cgd@broadcom.com>

* elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16)
(elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove.
(bfd_elf32_bfd_reloc_type_lookup): Remove cases for
BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL,
and BFD_RELOC_32_PCREL.
(mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16,
R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
(_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16.
(mips_elf_next_relocation): Move comment about matching HI/LO
relocations to...
(_bfd_mips_elf_relocate_section): Here.  Remove handling for
R_MIPS_GNU_REL_HI16.

[ include/elf/ChangeLog ]
2004-04-24  Chris Demetriou  <cgd@broadcom.com>

* mips.h (R_MIPS_PC32, R_MIPS_PC64, R_MIPS_GNU_REL_LO16)
(R_MIPS_GNU_REL_HI16): Remove.
(R_MIPS_GNU_REL16_S2): Update comment.

[ ld/testsuite/ChangeLog ]
2004-04-24  Chris Demetriou  <cgd@broadcom.com>

* ld-elf/merge.d: XFAIL on all MIPS targets.

20 years ago2004-04-24 Michael Chastain <mec.gnu@mindspring.com>
chastain [Sat, 24 Apr 2004 18:44:28 +0000 (18:44 +0000)]
2004-04-24  Michael Chastain  <mec.gnu@mindspring.com>

* xmodem.h, xmodem.c: Remove files.
* Makefile.in: Remove references to xmodem.h, xmodem.c.

20 years ago * ld-powerpc/tlsexe32.d: Update.
amodra [Sat, 24 Apr 2004 12:41:02 +0000 (12:41 +0000)]
* ld-powerpc/tlsexe32.d: Update.
* ld-powerpc/tlsso32.d: Update.

20 years ago * objdump.c (disassemble_section): Don't disassemble sections
amodra [Sat, 24 Apr 2004 12:39:47 +0000 (12:39 +0000)]
* objdump.c (disassemble_section): Don't disassemble sections
without SEC_HAS_CONTENTS.

20 years ago2004-04-23 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 24 Apr 2004 06:57:28 +0000 (06:57 +0000)]
2004-04-23  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.

20 years ago2004-04-23 Randolph Chung <tausq@debian.org>
tausq [Sat, 24 Apr 2004 06:13:31 +0000 (06:13 +0000)]
2004-04-23  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache)
(hppa_stub_frame_this_id, hppa_stub_frame_prev_register)
(hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder
for handling stackless frames.
(hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer.

20 years ago[ bfd/ChangeLog ]
cgd [Sat, 24 Apr 2004 06:12:24 +0000 (06:12 +0000)]
[ bfd/ChangeLog ]
2004-04-23  Chris Demetriou  <cgd@broadcom.com>

        * coff-mips.c (mips_relhi_reloc, mips_rello_reloc)
        (mips_switch_reloc, mips_read_relocs, mips_relax_section)
        (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove.
        (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments,
        and update comments to reflect current usage.
        (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO,
        and MIPS_R_SWITCH, as well as several empty entries.  Update comment
        for MIPS_R_PCREL16.
        (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out)
        (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support
        for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations.
        (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation
        type number to be MIPS_R_PCREL16.
        (mips_relocate_section): Remove support for link-time relaxation
        of branches used by embedded-PIC.  Remove support for MIPS_R_SWITCH,
        MIPS_R_RELLO, and MIPS_R_RELHI relocations.
        (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section.
        * ecoff.c (ecoff_indirect_link_order): Remove support for link-time
        relaxation of branches used by embedded-PIC.
        * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise.
        * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC
        related members, update comment.
        * pe-mips.c: Remove disabled (commented-out and #if 0'd)
        code related to embedded-PIC.
        * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove
        initialization of now-removed 'adjust' member of
        'struct ecoff_debug_info'.

[ include/coff/ChangeLog ]
2004-04-23  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove
        (MIPS_R_PCREL16): Update comment.
        * ecoff.h (struct ecoff_value_adjust): Remove structure.
        (struct ecoff_debug_info): Remove 'adjust' member.

20 years ago2004-04-23 Randolph Chung <tausq@debian.org>
tausq [Sat, 24 Apr 2004 06:09:59 +0000 (06:09 +0000)]
2004-04-23  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind
starts at a pc before the frame is created.

20 years agooops, fix date on my last entry (2004-04-23)
cgd [Sat, 24 Apr 2004 00:20:56 +0000 (00:20 +0000)]
oops, fix date on my last entry (2004-04-23)

20 years ago2004-04-23 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 24 Apr 2004 00:20:13 +0000 (00:20 +0000)]
2004-04-23  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/reloc-3-r.d: Remove, as part of MIPS -membedded-pic
        removal.
        * ld-mips-elf/reloc-3-srec.d: Likewise.
        * ld-mips-elf/reloc-3.ld: Likewise.
        * ld-mips-elf/reloc-3a.s: Likewise.
        * ld-mips-elf/reloc-3b.s: Likewise.
        * ld-mips-elf/mips-elf.exp: Don't run now-removed tests.

20 years ago2004-04-22 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 24 Apr 2004 00:15:31 +0000 (00:15 +0000)]
2004-04-22  Chris Demetriou  <cgd@broadcom.com>

        * elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove.

20 years agodaily update
amodra [Sat, 24 Apr 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago2004-04-23 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 23 Apr 2004 23:34:52 +0000 (23:34 +0000)]
2004-04-23  Andrew Cagney  <cagney@redhat.com>

* gdb.base/call-sc.exp: New test of scalar call/return values.
* gdb.base/call-sc.c: Ditto.

20 years ago * ChangeLog-2002: Fix year in one of the ChangeLog entries.
brobecke [Fri, 23 Apr 2004 22:15:17 +0000 (22:15 +0000)]
    * ChangeLog-2002: Fix year in one of the ChangeLog entries.

20 years ago2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
jjohnstn [Fri, 23 Apr 2004 21:44:21 +0000 (21:44 +0000)]
2004-04-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * configure.in: Define _MB_CAPABLE if mb supported.
        * configure: Regenerated.
        * configure.host: Remove manual setting of MB_CAPABLE compiler
        flag.
        * newlib.hin: Add _MB_CAPABLE flag.
        * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
        and check for _MB_CAPABLE flag instead of MB_CAPABLE.
        * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
        * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
        * libc/ctype/jp2uc.c: Ditto.
        * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
        * libc/locale/locale.c: Ditto
        * libc/machine/powerpc/vfscanf.c: Ditto
        * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
        * libc/stdlib/mblen.c: Ditto
        * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
        * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
        * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
        * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
        * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
        * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
        * libc/sys/linux/intl/explodename.c: Ditto
        * libc/sys/linux/intl/finddomain.c: Ditto
        * libc/sys/linux/intl/l10nflist.c: Ditto
        * libc/sys/linux/intl/loadmsgcat.c: Ditto
        * libc/sys/linux/intl/localealias.c: Ditto

20 years ago2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 23 Apr 2004 21:30:03 +0000 (21:30 +0000)]
2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
        (__svfscanf_r): In integer conversions, leave out leading zeroes
        which are not part of a base prefix.
        Keep track of width truncation to fit into buf, not counting left-out
        zeroes against width till the truncation has been compensated for.
        This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.

20 years ago2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 23 Apr 2004 20:06:02 +0000 (20:06 +0000)]
2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.

20 years ago2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
jjohnstn [Fri, 23 Apr 2004 20:01:54 +0000 (20:01 +0000)]
2004-04-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/asprintf.c libc/stdio/clearerr.c,
        libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
        libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
        libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
        libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
        libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
        libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
        libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
        libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
        libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
        libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
        libc/stdio/getchar.c libc/stdio/getchar_u.c,
        libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
        libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
        libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
        libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
        libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
        libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
        libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
        libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
        libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
        libc/stdio/siprintf.c libc/stdio/snprintf.c,
        libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
        libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
        libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
        libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
        libc/stdio/vprintf.c libc/stdio/vscanf.c,
        libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
        libc/stdio/vsscanf.c libc/stdio/wbuf.c,
        libc/stdio/wsetup.c: Perform minor formatting changes.  Move
        copyright notices to top of file, ensure that <_ansi.h> is
        included, be consistent with open parentheses, use _DEFUN macro,
        include "local.h" where needed, and remove various compiler
        warnings.

20 years ago2004-04-21 Philip Blundell <pb@nexus.co.uk>
pb [Fri, 23 Apr 2004 19:12:55 +0000 (19:12 +0000)]
2004-04-21  Philip Blundell  <pb@nexus.co.uk>

* elf32-arm.h (elf32_arm_check_relocs): Don't output REL32
relocs for locally defined symbols during -shared final link.
(elf32_arm_final_link_relocate): Likewise.

20 years ago2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
jjohnstn [Fri, 23 Apr 2004 19:01:16 +0000 (19:01 +0000)]
2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

        * gdb.threads/manythreads.c: Reduce thread stack size.

20 years ago2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 23 Apr 2004 18:50:35 +0000 (18:50 +0000)]
2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.threads/manythreads.c: Add copyright notice.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
infidel [Fri, 23 Apr 2004 18:24:03 +0000 (18:24 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/winuser.h (SM_IMMENABLED, SM_CXFOCUSBORDER,
SM_CYFOCUSBORDER, SM_TABLETPC, SM_MEDIACENTER): Add defines.
(SM_CMETRICS): Adjust value.
* include/winnt.h (PROCESSOR_ARCHITECTURE_MSIL): Correct define.
(PROCESSOR_ARCHITECTURE_AMD64, PROCESSOR_ARCHITECTURE_IA32_ON_WIN64):
Add defines.
Thanks to Benoit Blanchon <benoit.blanchon@free.fr>

20 years ago2004-04-24 Justin Forest <vhex@users.sourceforge.net>
infidel [Fri, 23 Apr 2004 18:01:08 +0000 (18:01 +0000)]
2004-04-24  Justin Forest  <vhex@users.sourceforge.net>

* include/winsock2.h (LUP_DEEP, LUP_CONTAINERS,
LUP_NOCONTAINERS, LUP_NEAREST, LUP_RETURN_NAME,
LUP_RETURN_TYPE, LUP_RETURN_VERSION, LUP_RETURN_COMMENT,
LUP_RETURN_ADDR, LUP_RETURN_BLOB, LUP_RETURN_ALIASES,
LUP_RETURN_QUERY_STRING, LUP_RETURN_ALL, LUP_RES_SERVICE,
LUP_FLUSHCACHE, LUP_FLUSHPREVIOUS): Add defines.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
infidel [Fri, 23 Apr 2004 17:31:31 +0000 (17:31 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/windns.h (DNSREC_QUESTION, DNSREC_ANSWER, DNSREC_AUTHORITY,
DNSREC_ADDITIONAL): Add defines.

20 years ago* config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
ths [Fri, 23 Apr 2004 17:25:50 +0000 (17:25 +0000)]
* config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.

20 years ago2004-04-23 Robert Wruck <wruck@tweerlei.de>
infidel [Fri, 23 Apr 2004 17:17:13 +0000 (17:17 +0000)]
2004-04-23  Robert Wruck  <wruck@tweerlei.de>

* include/commctrl.h (LPNMLVDISPINFO): Add defines.

20 years ago2004-04-23 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 23 Apr 2004 16:44:25 +0000 (16:44 +0000)]
2004-04-23  Andrew Cagney  <cagney@redhat.com>

* gdb.base/siginfo.exp: Clean up step out of signal.
* gdb.base/sigstep.exp: Ditto.

20 years ago * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,
guitton [Fri, 23 Apr 2004 16:21:34 +0000 (16:21 +0000)]
* rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,
use convert_typed_floating to get the appropriate format.

20 years ago2004-04-23 Robert Wruck <wruck@tweerlei.de>
infidel [Fri, 23 Apr 2004 16:03:42 +0000 (16:03 +0000)]
2004-04-23  Robert Wruck  <wruck@tweerlei.de>

* include/aclui.h: New file.
* lib/aclui.def: New file.
* lib/test.c: Add aclui.h to includes.

20 years agoCope with extra symbols inserted by arm-elf toolchains
nickc [Fri, 23 Apr 2004 14:15:20 +0000 (14:15 +0000)]
Cope with extra symbols inserted by arm-elf toolchains

20 years ago * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also
jakub [Fri, 23 Apr 2004 08:51:09 +0000 (08:51 +0000)]
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also
ELF_LINK_POINTER_EQUALITY_NEEDED.
(elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED
if r_type is not R_X86_64_PC32.
(elf64_x86_64_finish_dynamic_symbol): If
ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of
SHN_UNDEF symbols.

20 years ago2004-04-22 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 23 Apr 2004 04:50:53 +0000 (04:50 +0000)]
2004-04-22  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
        (OPTION_MEMBEDDED_PIC): Remove.
        (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
        (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
        (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
        (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
        (OPTION_ELF_BASE): Renumber.
        (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
        (md_show_usage): Remove mention of -membedded-pic.
        * doc/as.texinfo: Remove mention of -membedded-pic.

20 years ago2004-04-22 Randolph Chung <tausq@debian.org>
tausq [Fri, 23 Apr 2004 02:54:21 +0000 (02:54 +0000)]
2004-04-22  Randolph Chung  <tausq@debian.org>

* hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load)
(hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17)
(hppa_extract_21, hppa_extract_14, hppa_low_sign_extend)
(hppa_sign_extend): Add prototype.
* hppa-tdep.c (get_field, extract_5_load, extract_5R_store)
(extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend)
(sign_extend): Rename with hppa_ prefix and make non-static.  Other
hppa targets will also use these functions.
(find_unwind_entry): Remove prototype (moved to hppa-tdep.h).
(hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline)
(hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c
(hppa_gdbarch_init): Remove gdbarch setting of
skip_trampoline_code, in_solib_call_trampoline and
in_solib_return_trampoline.
* hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
(hppa64_hpux_in_solib_call_trampoline): New functions, split from
hppa_in_solib_call_trampoline.
(hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code):
Moved from hppa-tdep.c.
  (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code,
in_solib_call_trampoline and in_solib_return_trampoline.

20 years ago2004-04-22 Randolph Chung <tausq@debian.org>
tausq [Fri, 23 Apr 2004 02:51:52 +0000 (02:51 +0000)]
2004-04-22  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_debug): New variable.
(find_unwind_entry, hppa_frame_cache): Add debug output.
(_initialize_hppa_tdep): Add command to set debug flag.

20 years agobfd/
kkojima [Fri, 23 Apr 2004 02:47:38 +0000 (02:47 +0000)]
bfd/
* elf32-sh.c (sh_elf_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.

opcodes/
* sh-dis.c (print_insn_sh): Print the value in constant pool
as a symbol if it looks like a symbol.

gas/testsuite/
* gas/sh/pcrel2.d: Update.
* gas/sh/tlsd.d: Update.
* gas/sh/tlsnopic.d: Update.
* gas/sh/tlspic.d: Update.

ld/testsuite/
* ld-sh/tlsbin-1.d: Update
* ld-sh/tlspic-1.d: Update.

20 years ago* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
ths [Fri, 23 Apr 2004 02:07:12 +0000 (02:07 +0000)]
* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
* config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
a.out support.
(md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
USE_GLOBAL_POINTER_OPT.

20 years ago2004-04-22 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 23 Apr 2004 01:02:30 +0000 (01:02 +0000)]
2004-04-22  Andrew Cagney  <cagney@redhat.com>

* ppcnbsd-tdep.c: Update copyright.  Include "tramp-frame.h" and
"trad-frame.h".
(ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD
signal trampoline unwinder.
(ppcnbsd_init_abi): Register ppcnbsd_sigtramp.

20 years ago2004-04-22 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 23 Apr 2004 00:22:57 +0000 (00:22 +0000)]
2004-04-22  Andrew Cagney  <cagney@redhat.com>

* opncls.c (bfd_alloc): Fix type of "wanted" in doco.

20 years agodaily update
amodra [Fri, 23 Apr 2004 00:00:08 +0000 (00:00 +0000)]
daily update

20 years ago * hpux-core.c (hpux_core_core_file_p): Add cast in call to
danglin [Thu, 22 Apr 2004 23:17:06 +0000 (23:17 +0000)]
* hpux-core.c (hpux_core_core_file_p): Add cast in call to
make_bfd_asection.
* som.c (som_set_section_contents): Constantify second argument.
(hppa_som_gen_reloc_type): Abort for unsupported selectors.
(som_object_setup): Rework to avoid warning.
(setup_sections, som_write_fixups, bfd_section_from_som_symbol):
Likewise.

20 years ago2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 22 Apr 2004 22:19:40 +0000 (22:19 +0000)]
2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
            Daniel Jacobowitz  <drow@mvista.com>

        * gdb.threads/manythreads.c: New testcase.
        * gdb.threads/manythreads.exp: Ditto.

20 years ago* config/tc-mips.c (macro): One more use of load_delay_nop.
ths [Thu, 22 Apr 2004 22:00:47 +0000 (22:00 +0000)]
* config/tc-mips.c (macro): One more use of load_delay_nop.

20 years ago2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
jjohnstn [Thu, 22 Apr 2004 21:58:14 +0000 (21:58 +0000)]
2004-04-21  J"orn Rennecke <joern.rennecke@superh.com>

        * libc/stdio/vfscanf.c (NNZDIGITS): New define.
        (__svfscanf_r): In integer conversions, leave out leading zeroes
        which are not part of a base prefix.
        Keep track of width truncation to fit into buf, not counting left-out
        zeroes against width till the truncation has been compensated for.

20 years agoAdd OpenBSD/powerpc support.
kettenis [Thu, 22 Apr 2004 21:13:05 +0000 (21:13 +0000)]
Add OpenBSD/powerpc support.
* NEWS (New native configurations): Mention OpenBSD/powerpc.
* ppc-tdep.h (struct ppc_reg_offsets): New structure.
(ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset)
(ppc_collect_fpregset): New prototypes.
* ppcobsd-nat.c: New file.
* ppcobsd-tdep.c: New file.
* ppcobsd-tdep.h: New file.
* rs6000-tdep.c: Include "regset.h".
(ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset)
(ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset):
New functions.
* Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c.
(ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies.
(rs6000-tdep.o): Update dependencies.
* configure.host: Add powerpc-*-openbsd.
* configure.tgt: Add powerpc-*-openbsd.
* config/powerpc/obsd.mh: New file.
* config/powerpc/nm-obsd.h: New file.
* config/powerpc/obsd.mt: New file.

20 years ago* gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
jimb [Thu, 22 Apr 2004 21:11:55 +0000 (21:11 +0000)]
* gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.

20 years ago2004-04-21 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 22 Apr 2004 21:10:55 +0000 (21:10 +0000)]
2004-04-21  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (heuristic_proc_start):
Warning() already prefixes "Warning: ".

20 years ago* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.
kettenis [Thu, 22 Apr 2004 20:27:40 +0000 (20:27 +0000)]
* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.

20 years agomerge from gcc
dj [Thu, 22 Apr 2004 18:38:58 +0000 (18:38 +0000)]
merge from gcc

20 years ago2004-04-22 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 22 Apr 2004 18:19:55 +0000 (18:19 +0000)]
2004-04-22  Andrew Cagney  <cagney@redhat.com>

* frame.h (show_frame_info): Delete declaration.

20 years ago* config/tc-mips.c (load_delay_nop): New function.
ths [Thu, 22 Apr 2004 18:13:54 +0000 (18:13 +0000)]
* config/tc-mips.c (load_delay_nop): New function.
(load_address, macro): Use load_delay_nop() to build a nop
which can be omitted with gpr_interlocks.

* gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot.
* gas/mips/mips-abi32-pic.d: Likewise.
* gas/mips/mips-abi32-pic2.d: Likewise.
* gas/mips/mips-gp32-fp32-pic.d: Likewise.
* gas/mips/mips-gp32-fp64-pic.d: Likewise.
* gas/mips/mips-gp64-fp32-pic.d: Likewise.
* gas/mips/mips-gp64-fp64-pic.d: Likewise.
* gas/mips/relax-swap1-mips2.d: Likewise.
* gas/mips/lb-svr4pic-ilocks.d: New test.
* gas/mips/mips.exp: Run it.

20 years ago* config/tc-mips.c (hilo_interlocks, gpr_interlocks,
ths [Thu, 22 Apr 2004 17:58:56 +0000 (17:58 +0000)]
* config/tc-mips.c (hilo_interlocks, gpr_interlocks,
cop_interlocks): Remove superfluous CPU entries.

20 years ago2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 22 Apr 2004 17:55:45 +0000 (17:55 +0000)]
2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.stabs/weird.exp: Accept full pathname for $binfile.

20 years ago2004-04-22 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 22 Apr 2004 17:02:25 +0000 (17:02 +0000)]
2004-04-22  Andrew Cagney  <cagney@redhat.com>

* arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test.
* m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
* m32r-tdep.c (m32r_frame_this_id): Ditto.
* frv-tdep.c (frv_frame_this_id): Ditto.
* avr-tdep.c (avr_frame_this_id): Ditto.

20 years agoNOTE: This needs fixing. Shouldn't be difficult, but it will be tedious.
kseitz [Thu, 22 Apr 2004 16:51:43 +0000 (16:51 +0000)]
NOTE: This needs fixing. Shouldn't be difficult, but it will be tedious.
        * generic/gdbtk-hooks.c (gdbtk_add_hooks): "Update" deprecated hooks.
        "Houston... We have a problem."
        * generic/gdbtk-interp.c (gdbtk_interpreter_resume): Likewise.
        * generic/gdbtk.c (gdbtk_init_1): Likewise.

20 years agoMove testsuite ChangeLog entry to testsuite/ChangeLog
hjl [Thu, 22 Apr 2004 16:42:12 +0000 (16:42 +0000)]
Move testsuite ChangeLog entry to testsuite/ChangeLog

20 years ago * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
earnie [Thu, 22 Apr 2004 16:34:31 +0000 (16:34 +0000)]
* strncasecmp.c: Reword copyright and disclaimer.  Move Contributors
section to CONTRIBUTORS file.  Remove RCS tags.

20 years ago * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
earnie [Thu, 22 Apr 2004 16:34:00 +0000 (16:34 +0000)]
* strncasecmp.c: Reword copyright and disclaimer.  Move Contributors
section to CONTRIBUTORS file.  Remove RCS tags.

20 years ago2004-04-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 22 Apr 2004 16:31:47 +0000 (16:31 +0000)]
2004-04-22  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/tlspic.dd: Updated.

20 years ago CORRECTION:
earnie [Thu, 22 Apr 2004 16:27:00 +0000 (16:27 +0000)]
CORRECTION:
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.

20 years ago * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
pbrook [Thu, 22 Apr 2004 16:18:28 +0000 (16:18 +0000)]
* config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
testsuite
* maverick.c (off8s): Test full shifted operand range.
(MCC2): Define.
(MVDSPACC, MVACCDSP): Use it.
* maverick.d, maverick.s: Regenerate.

20 years ago2004-04-22 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 22 Apr 2004 16:17:31 +0000 (16:17 +0000)]
2004-04-22  Andrew Cagney  <cagney@redhat.com>

* cache.c (bfd_cache_close): Check for a previously closed file.

20 years ago * DISCLAIMER: Add words about "free to use".
earnie [Thu, 22 Apr 2004 16:16:24 +0000 (16:16 +0000)]
* DISCLAIMER: Add words about "free to use".
* README: Modify "Win32 runtime" to "Microsoft C Runtime".
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and README.
(inst_docdir): New variable.
(INSTDOCS): Ditto.
(FLAGS_TO_PASS): Include inst_docdir.
(install-dirs): Add inst_docdir.
(install): Add loop for INSTDOCS.

20 years ago2004-04-22 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 22 Apr 2004 15:48:11 +0000 (15:48 +0000)]
2004-04-22  Elena Zannoni  <ezannoni@redhat.com>

       * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c.

20 years agobfd/
jakub [Thu, 22 Apr 2004 14:45:30 +0000 (14:45 +0000)]
bfd/
* bfd.c (bfd_get_synthetic_symtab): Define.
* targets.c (BFD_JUMP_TABLE_DYNAMIC): Add
NAME##_get_synthetic_symtab.
(struct bfd_target): Add _bfd_get_synthetic_symtab.
* libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define.
* elf-bfd.h (struct elf_backend_data): Add plt_sym_val and
relplt_name fields.
(_bfd_elf_get_synthetic_symtab): New prototype.
* elfcode.h (elf_get_synthetic_symtab): Define.
* elf.c (_bfd_elf_get_synthetic_symtab): New function.
* elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define.
(elf_backend_plt_sym_val, elf_backend_relplt_name): Define.
(elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name.
* bfd-in2.h: Rebuilt.
* libbfd.h: Rebuilt.
* elf32-i386.c (elf_i386_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
* elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
* elf32-s390.c (elf_s390_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
* elf64-s390.c (elf_s390_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
* elf32-sparc (elf32_sparc_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
* elf64-sparc.c (sparc64_elf_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
* elf32-ppc.c (ppc_elf_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
* aout-target.h (MY_get_synthetic_symtab): Define.
* aout-tic30.c (MY_get_synthetic_symtab): Define.
* coff-rs6000.c (rs6000coff_vec): Add
_bfd_nodynamic_get_synthetic_symtab.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Add
_bfd_nodynamic_get_synthetic_symtab.
(aix5coff64_vec): Likewise.
* sunos.c (MY_get_synthetic_symtab): Define.
* vms.c (vms_get_synthetic_symtab): Define.
binutils/
* objdump.c (synthsyms, synthcount): New variables.
(disassemble_data): Use dynsyms for stripped binaries or libraries.
Add synthetized symbols.
(dump_bfd): For disassemble, initialize dynsyms always and
also synthsyms.  Free synthsyms and clear {sym,dynsym,synth}count
before returning.

20 years agoHave bfd_archive_filename() return NULL on NULL input
nickc [Thu, 22 Apr 2004 10:43:33 +0000 (10:43 +0000)]
Have bfd_archive_filename() return NULL on NULL input

20 years agoAdd support for ColdFire MAC instructions and tidy up support for other m68k
nickc [Thu, 22 Apr 2004 10:33:14 +0000 (10:33 +0000)]
Add support for ColdFire MAC instructions and tidy up support for other m68k
variants.

20 years agoApply Bruno de Bus's patch to record the ARM mapping symbol state on a per-
nickc [Thu, 22 Apr 2004 09:49:02 +0000 (09:49 +0000)]
Apply Bruno de Bus's patch to record the ARM mapping symbol state on a per-
section basis and to switch to the MAP_DATA state when emitting literal pools.

20 years ago* ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is
jimb [Thu, 22 Apr 2004 08:37:05 +0000 (08:37 +0000)]
* ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is
register number zero.

20 years ago(forgot to commit this earlier)
cgd [Thu, 22 Apr 2004 05:24:04 +0000 (05:24 +0000)]
(forgot to commit this earlier)
2004-04-21  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/elempic.d: File removed as part of -membedded-pic removal.
* gas/mips/empic.d: Likewise.
* gas/mips/empic.l: Likewise.
* gas/mips/empic.s: Likewise.
* gas/mips/empic2.d: Likewise.
* gas/mips/empic2.s: Likewise.
* gas/mips/empic3_e.d: Likewise.
* gas/mips/empic3_e.s: Likewise.
* gas/mips/empic3_g1.d: Likewise.
* gas/mips/empic3_g1.s: Likewise.
* gas/mips/empic3_g2.d: Likewise.
* gas/mips/empic3_g2.s: Likewise.
* gas/mips/jal-empic-elf-2.d: Likewise.
* gas/mips/jal-empic-elf-2.s: Likewise.
* gas/mips/jal-empic-elf-3.d: Likewise.
* gas/mips/jal-empic-elf-3.s: Likewise.
* gas/mips/jal-empic-elf.d: Likewise.
* gas/mips/jal-empic.d: Likewise.
* gas/mips/la-empic.d: Likewise.
* gas/mips/la-empic.s: Likewise.
* gas/mips/lb-empic.d: Likewise.
* gas/mips/ld-empic.d: Likewise.
* gas/mips/lif-empic.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/ulh-empic.d: Likewise.
* gas/mips/ld-pic.s: Remove code conditional on EMPIC.
* gas/mips/lifloat.s: Likewise.
* gas/mips/mips.exp: Remove -membedded-pic tests and related comments.

20 years ago * mingwex/math/lround.c: Rewrite.
dannysmith [Thu, 22 Apr 2004 04:38:23 +0000 (04:38 +0000)]
* mingwex/math/lround.c: Rewrite.
* mingwex/math/lroundf.c: Rewrite.
* mingwex/math/lroundl.c: Rewrite.
* mingwex/math/llround.c: Rewrite.
* mingwex/math/llroundf.c: Rewrite.
* mingwex/math/llroundl.c: Rewrite.

20 years ago2004-04-21 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 22 Apr 2004 02:41:02 +0000 (02:41 +0000)]
2004-04-21  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/elempic.d: File removed as part of -membedded-pic removal.
* gas/mips/empic.d: Likewise.
* gas/mips/empic.l: Likewise.
* gas/mips/empic.s: Likewise.
* gas/mips/empic2.d: Likewise.
* gas/mips/empic2.s: Likewise.
* gas/mips/empic3_e.d: Likewise.
* gas/mips/empic3_e.s: Likewise.
* gas/mips/empic3_g1.d: Likewise.
* gas/mips/empic3_g1.s: Likewise.
* gas/mips/empic3_g2.d: Likewise.
* gas/mips/empic3_g2.s: Likewise.
* gas/mips/jal-empic-elf-2.d: Likewise.
* gas/mips/jal-empic-elf-2.s: Likewise.
* gas/mips/jal-empic-elf-3.d: Likewise.
* gas/mips/jal-empic-elf-3.s: Likewise.
* gas/mips/jal-empic-elf.d: Likewise.
* gas/mips/jal-empic.d: Likewise.
* gas/mips/la-empic.d: Likewise.
* gas/mips/la-empic.s: Likewise.
* gas/mips/lb-empic.d: Likewise.
* gas/mips/ld-empic.d: Likewise.
* gas/mips/lif-empic.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/ulh-empic.d: Likewise.
* gas/mips/ld-pic.s: Remove code conditional on EMPIC.
* gas/mips/lifloat.s: Likewise.
* gas/mips/mips.exp: Remove -membedded-pic tests and related comments.

20 years agodaily update
amodra [Thu, 22 Apr 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2004-04-21 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 21 Apr 2004 23:52:18 +0000 (23:52 +0000)]
2004-04-21  Andrew Cagney  <cagney@redhat.com>

* annotate.h (deprecated_annotate_starting_hook)
(deprecated_annotate_stopped_hook)
(deprecated_annotate_exited_hook)
(deprecated_annotate_signal_hook)
(deprecated_annotate_signalled_hook): Deprecate.
* tracepoint.h (deprecated_create_tracepoint_hook)
(deprecated_delete_tracepoint_hook)
(deprecated_modify_tracepoint_hook)
(deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Deprecate.
* target.h (deprecated_target_new_objfile_hook): Deprecate.
* remote.h (deprecated_target_resume_hook)
(deprecated_target_wait_loop_hook): Deprecate.
* gdbcore.h (deprecated_exec_file_display_hook)
(deprecated_file_changed_hook): Deprecate.
* frame.h (deprecated_selected_frame_level_changed_hook): Deprecate.
* defs.h (deprecated_modify_breakpoint_hook)
(deprecated_command_loop_hook, deprecated_show_load_progress)
(deprecated_print_frame_info_listing_hook)
(deprecated_query_hook, deprecated_warning_hook)
(deprecated_flush_hook, deprecated_create_breakpoint_hook)
(deprecated_delete_breakpoint_hook)
(deprecated_interactive_hook, deprecated_registers_changed_hook)
(deprecated_readline_begin_hook, deprecated_readline_hook)
(deprecated_readline_end_hook, deprecated_register_changed_hook)
(deprecated_memory_changed_hook, deprecated_init_ui_hook)
(deprecated_context_hook, deprecated_target_wait_hook)
(deprecated_attach_hook, deprecated_detach_hook)
(deprecated_call_command_hook, deprecated_set_hook)
(deprecated_error_hook, deprecated_error_begin_hook)
(deprecated_ui_load_progress_hook): Deprecate.
* valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update.
* tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update.
* target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update.
* remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update.
* main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update.
* exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update.
* cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update.
* annotate.c, aix-thread.c: Update.

20 years ago2004-04-21 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 21 Apr 2004 23:26:59 +0000 (23:26 +0000)]
2004-04-21  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (vaxnbsd-tdep.o): Update dependencies.
* vaxnbsd-tdep.c: Include "gdb_string.h".

20 years ago2004-04-21 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 21 Apr 2004 22:02:37 +0000 (22:02 +0000)]
2004-04-21  Andrew Cagney  <cagney@redhat.com>

* symfile.c (symbol_file_add_from_memory): #if 0 function.
(add_symbol_file_from_memory_command): #if 0 function body, call
error instead.

20 years ago[ bfd/ChangeLog ]
cgd [Wed, 21 Apr 2004 20:52:24 +0000 (20:52 +0000)]
[ bfd/ChangeLog ]
2004-04-21  Chris Demetriou  <cgd@broadcom.com>

* coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove.
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove.
* bfd-in.h (bfd_mips_ecoff_create_embedded_relocs)
(bfd_mips_elf32_create_embedded_relocs): Remove prototypes
* bfd-in2.h: Regenerate.

[ ld/ChangeLog ]
2004-04-21  Chris Demetriou  <cgd@broadcom.com>

* ld.texinfo: Remove MIPS --embedded-relocs documentation.
* emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
* emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
(EXTRA_EM_FILE): Use mipsecoff.em
* emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
(EXTRA_EM_FILE): Use mipsecoff.em
* emultempl/mipsecoff.em: Restructure to be included as an
extra emulation file.
(check_sections, gld${EMULATION_NAME}_after_open)
(gld${EMULATION_NAME}_after_allocation)
(gld${EMULATION_NAME}_get_script)
(ld_${EMULATION_NAME}_emulation): Remove
(gld${EMULATION_NAME}_before_parse): Rename to...
(mipsecoff_before_parse): This.
(LDEMUL_BEFORE_PARSE): Define.
* emultempl/mipself.em: Remove file.
* scripttempl/mips.sc (.rel.sdata): Do not include in output.
(__runtime_reloc_start, __runtime_reloc_stop): Stop providing
these symbols.
* Makefile.am: Remove dependencies on emultempl/mipself.em.
* Makefile.in: Regenerate.

[ ld/testsuite/ChangeLog ]
2004-04-21  Chris Demetriou  <cgd@broadcom.com>

* ld-empic/run.c: Removed as part of MIPS --embedded-relocs removal.
* ld-empic/empic.exp: Likewise.
* ld-empic/relax.t: Likewise.
* ld-empic/relax1.c: Likewise.
* ld-empic/relax2.c: Likewise.
* ld-empic/relax3.c: Likewise.
* ld-empic/relax4.c: Likewise.
* ld-empic/runtest1.c: Likewise.
* ld-empic/runtest2.c: Likewise.
* ld-empic/runtesti.s: Likewise.
* ld-mips-elf/empic1-ln.d: Likewise.
* ld-mips-elf/empic1-lp.d: Likewise.
* ld-mips-elf/empic1-mn.d: Likewise.
* ld-mips-elf/empic1-mp.d: Likewise.
* ld-mips-elf/empic1-ref.s: Likewise.
* ld-mips-elf/empic1-sn.d: Likewise.
* ld-mips-elf/empic1-sp.d: Likewise.
* ld-mips-elf/empic1-space.s: Likewise.
* ld-mips-elf/empic1-tgt.s: Likewise.
* ld-mips-elf/empic2-fwd-0.d: Likewise.
* ld-mips-elf/empic2-fwd-1.d: Likewise.
* ld-mips-elf/empic2-fwd-tgt.s: Likewise.
* ld-mips-elf/empic2-ref.s: Likewise.
* ld-mips-elf/empic2-rev-0.d: Likewise.
* ld-mips-elf/empic2-rev-1.d: Likewise.
* ld-mips-elf/empic2-rev-tgt.s: Likewise.
* ld-mips-elf/empic2-space.s: Likewise.
* ld-mips-elf/emrelocs-eb.d: Likewise.
* ld-mips-elf/emrelocs-el.d: Likewise.
* ld-mips-elf/emrelocs.ld: Likewise.
* ld-mips-elf/emrelocs1.s: Likewise.
* ld-mips-elf/emrelocs2.s: Likewise.
* ld-mips-elf/mips-elf.exp: Don't run now-removed tests.

20 years ago * elf32-xtensa.c (is_same_value): Add final_static_link argument and
bwilson [Wed, 21 Apr 2004 18:12:47 +0000 (18:12 +0000)]
* elf32-xtensa.c (is_same_value): Add final_static_link argument and
require relocations against a weak symbol to reference the same
symbol hash entry if not a final, static link.
(get_cached_value, add_value_map): Add final_static_link argument.
(remove_literals): Pass final_static_link argument as needed.

20 years ago2004-04-21 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 21 Apr 2004 17:47:08 +0000 (17:47 +0000)]
2004-04-21  Andrew Cagney  <cagney@redhat.com>

* gdbcore.h: Update copyright.
(deprecated_add_core_fns): Rename add_core_fns.
* win32-nat.c (_initialize_core_win32): Update.
* sun3-nat.c (_initialize_core_sun3): Update.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Update.
* rs6000-nat.c (_initialize_core_rs6000): Update.
* ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update.
* nto-tdep.c (_initialize_nto_tdep): Update.
* ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update.
* mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update.
* mips-nat.c (_initialize_core_mips): Update.
* mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
* m68knbsd-nat.c (_initialize_m68knbsd_nat): Update.
* m68klinux-nat.c (_initialize_m68k_linux_nat): Update.
* lynx-nat.c (_initialize_core_lynx): Update.
* irix5-nat.c (_initialize_core_irix5): Update.
* i386-interix-nat.c (_initialize_core_interix): Update.
* cris-tdep.c (_initialize_cris_tdep): Update.
* corelow.c (deprecated_add_core_fns): Update.
* core-regset.c (_initialize_core_regset): Update.
* core-aout.c (_initialize_core_aout): Update.
* armnbsd-nat.c (_initialize_arm_netbsd_nat): Update.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update.
* alpha-nat.c (_initialize_core_alpha): Update.

20 years ago2004-04-21 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 21 Apr 2004 17:19:27 +0000 (17:19 +0000)]
2004-04-21  Andrew Cagney  <cagney@redhat.com>

* gdb.base/sigstep.c: New file.
* gdb.base/sigstep.exp: New file.