OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago2001-11-19 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 20 Nov 2001 16:36:43 +0000 (16:36 +0000)]
2001-11-19  Elena Zannoni  <ezannoni@redhat.com>

* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
        declaration.

22 years ago 2001-11-19 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 20 Nov 2001 16:35:23 +0000 (16:35 +0000)]
 2001-11-19  Elena Zannoni  <ezannoni@redhat.com>

* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
accessing registers[].
(fill_fpregset): Ditto.

22 years ago * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
amodra [Tue, 20 Nov 2001 15:31:10 +0000 (15:31 +0000)]
* ldlang.c (walk_wild_section): Move sec == NULL case out of loop.

22 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
amodra [Tue, 20 Nov 2001 15:19:36 +0000 (15:19 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
        of false when calling lang_size_sections.
(hppaelf_layout_sections_again): Likewise.

22 years agoFix md_apply_fix3 typo.
nickc [Tue, 20 Nov 2001 09:33:48 +0000 (09:33 +0000)]
Fix md_apply_fix3 typo.

22 years ago* merge 2001-11-01.
bje [Tue, 20 Nov 2001 05:16:05 +0000 (05:16 +0000)]
* merge 2001-11-01.

22 years ago2001-11-20 Ben Elliston <bje@redhat.com>
bje [Tue, 20 Nov 2001 03:33:29 +0000 (03:33 +0000)]
2001-11-20  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
 usage after md_apply_fix3 cleanups.

22 years ago2001-11-19 H.J. Lu <hjl@gnu.org>
hjl [Tue, 20 Nov 2001 00:54:48 +0000 (00:54 +0000)]
2001-11-19  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when
discarding relocations.

22 years ago*** empty log message ***
gdbadmin [Tue, 20 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-11-19 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 19 Nov 2001 23:59:55 +0000 (23:59 +0000)]
2001-11-19  Elena Zannoni  <ezannoni@redhat.com>

* infptrace.c (fetch_register): Dynamically allocate buffer for
register.
(store_register): Use regcache_collect, instead of accessing the
register buffer directly.

22 years ago * mips-tdep.c (find_proc_desc): Add cur_frame argument. Pass
drow [Mon, 19 Nov 2001 23:15:31 +0000 (23:15 +0000)]
    * mips-tdep.c (find_proc_desc): Add cur_frame argument.  Pass
        cur_frame to heuristic_proc_desc.
        (heuristic_proc_desc): Add cur_frame argument.  Do not read SP
        if cur_frame == 0.
        (after_prologue): Pass cur_frame == 0 to find_proc_desc.
        (mips_frame_chain): Pass cur_frame == 1 to find_proc_desc.
        (mips_init_extra_frame_info): Likewise.

22 years agodaily update
amodra [Mon, 19 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago* defs.h (return_to_top_level): Comment.
cagney [Mon, 19 Nov 2001 21:44:46 +0000 (21:44 +0000)]
* defs.h (return_to_top_level): Comment.

22 years ago2001-11-19 H.J. Lu <hjl@gnu.org>
hjl [Mon, 19 Nov 2001 20:32:02 +0000 (20:32 +0000)]
2001-11-19  H.J. Lu <hjl@gnu.org>

* ld-elfvsb/define.s: Mark all global lables as object.

* ld-elfvsb/hidden0.d: Match large section number.
* ld-elfvsb/hidden1.d: Likewise.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/internal1.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.
* ld-elfvsb/protected1.d: Likewise.

* ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.

22 years agoUse ISO C long strings.
cagney [Mon, 19 Nov 2001 20:18:32 +0000 (20:18 +0000)]
Use ISO C long strings.

22 years ago * varobj.c (c_value_of_child): Use the wrapper function,
kseitz [Mon, 19 Nov 2001 19:44:03 +0000 (19:44 +0000)]
* varobj.c (c_value_of_child): Use the wrapper function,
gdb_value_struct_elt.
(cplus_value_of_child): Likewise.

22 years ago2001-11-08 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 19 Nov 2001 18:43:18 +0000 (18:43 +0000)]
2001-11-08  Martin M. Hunt  <hunt@redhat.com>
* generic/gdbtk-cmds.c (gdb_eval): Add an optional
format argument.
(hex2bin): Swap bytes around if target is little endian.
Fix loop count.
(gdb_incr_addr): New function to do address arithmetic.
Needed because some addresses are 64-bits and tcl can't
deal with them, except as strings.

* library/memwin.itb (MemWin::build_win): Add a label
to indicate the target endianess.
(MemWin::edit): Use gdb_incr_addr.
(MemWin::busy): The constructor calls gdbtk_busy which
calls this before the window has finished drawing, so
don't disable items that don't exist yet.
(MemWin::update_address): Set a flag, bad_expr, if the
expression does not evaluate. Call gdb_eval with 'x' flag
to force the result to be hex.
(MemWin::BadExpr): Set bad_expr.
(MemWin::incr_addr): Use gdb_incr_addr.
(MemWin::update_addr): Return is bad_expr is set. Use
gdb_incr_addr.
(MemWin::goto): Call update_address.
* library/memwin.itb: Declare private variable bad_expr.

* library/util.tcl (gdbtk_endian): New procedure. Returns
BIG or LITTLE to indicate target endianess.

22 years ago2001-11-19 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 19 Nov 2001 16:25:58 +0000 (16:25 +0000)]
2001-11-19  Elena Zannoni  <ezannoni@redhat.com>

* lib/libgloss.exp (g++_link_flags): Libstdc++ is now in
libstdc++-v3/src/.libs.

22 years agoDefine and use bfd_is_const_section().
nickc [Mon, 19 Nov 2001 15:35:37 +0000 (15:35 +0000)]
Define and use bfd_is_const_section().

22 years agoAdd -ws switch to display contents of .debug_str sections
nickc [Mon, 19 Nov 2001 14:35:56 +0000 (14:35 +0000)]
Add -ws switch to display contents of .debug_str sections

22 years ago * testsuite/binutils-all/objdump.exp: Add x86-64.
aj [Mon, 19 Nov 2001 12:38:20 +0000 (12:38 +0000)]
* testsuite/binutils-all/objdump.exp: Add x86-64.

22 years ago * elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount.
amodra [Mon, 19 Nov 2001 03:52:36 +0000 (03:52 +0000)]
* elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount.

22 years ago * elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
amodra [Mon, 19 Nov 2001 03:01:41 +0000 (03:01 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
millicode syms as candidates for import stubs.

22 years ago * elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete.
amodra [Mon, 19 Nov 2001 01:24:59 +0000 (01:24 +0000)]
* elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete.
(allocate_PIC_calls): Rename to allocate_plt_static.
(allocate_dynrelocs): Move most of code handling .plt entries to..
(allocate_plt_static): ..here.  Don't drop plabel entries.

22 years ago * mmo.c: Adjust documentation tags to use texinfo 4 features.
hp [Mon, 19 Nov 2001 01:22:44 +0000 (01:22 +0000)]
* mmo.c: Adjust documentation tags to use texinfo 4 features.

22 years ago * doc/c-mmix.texi: Use texinfo 4 features.
hp [Mon, 19 Nov 2001 01:19:07 +0000 (01:19 +0000)]
* doc/c-mmix.texi: Use texinfo 4 features.
(MMIX-mmixal): Fix typo.

22 years ago*** empty log message ***
gdbadmin [Mon, 19 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * libc/sys/mmixware/*: Tweak license header in all source files.
hp [Sun, 18 Nov 2001 23:47:57 +0000 (23:47 +0000)]
* libc/sys/mmixware/*: Tweak license header in all source files.

22 years ago * COPYING.NEWLIB: Mention preserved notice in specific parts.
hp [Sun, 18 Nov 2001 23:43:02 +0000 (23:43 +0000)]
* COPYING.NEWLIB: Mention preserved notice in specific parts.

22 years agodaily update
amodra [Sun, 18 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
cagney [Sun, 18 Nov 2001 22:14:12 +0000 (22:14 +0000)]
* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
* config/i386/tm-i386.h (NUM_REGS): Delete.

22 years ago * i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
kevinb [Sun, 18 Nov 2001 21:38:59 +0000 (21:38 +0000)]
* i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
conversion for I386_LINUX_ORIG_EAX_REGNUM.

22 years agoZap config/i386/tm-embed.h.
cagney [Sun, 18 Nov 2001 21:28:19 +0000 (21:28 +0000)]
Zap config/i386/tm-embed.h.

22 years ago 2001-11-17 Fred Fish <fnf@redhat.com>
fnf [Sun, 18 Nov 2001 06:00:29 +0000 (06:00 +0000)]
2001-11-17  Fred Fish  <fnf@redhat.com>
* sim-main.h (float_operation): Move enum declaration outside
of _sim_cpu struct declaration.

22 years agoZap files in gdb/gdbserver/
cagney [Sun, 18 Nov 2001 05:09:25 +0000 (05:09 +0000)]
Zap files in gdb/gdbserver/

22 years agodoco more build probs.
cagney [Sun, 18 Nov 2001 04:43:49 +0000 (04:43 +0000)]
doco more build probs.

22 years ago * i386-linux-nat.c (fill_gregset): Use regcache_collect() instead
kevinb [Sun, 18 Nov 2001 01:19:47 +0000 (01:19 +0000)]
* i386-linux-nat.c (fill_gregset): Use regcache_collect() instead
of accessing registers[] directly.

22 years ago*** empty log message ***
gdbadmin [Sun, 18 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
kevinb [Sat, 17 Nov 2001 23:53:16 +0000 (23:53 +0000)]
* i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
when fetching ORIG_EAX.

22 years agodaily update
amodra [Sat, 17 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago* ppc-opc.c (mfvrsave, mtvrsave): New instructions.
mrg [Sat, 17 Nov 2001 22:34:16 +0000 (22:34 +0000)]
* ppc-opc.c (mfvrsave, mtvrsave): New instructions.

22 years ago* winsup.api/pthread/condvar3_1.c: Fix debugging output.
duda [Sat, 17 Nov 2001 21:15:47 +0000 (21:15 +0000)]
* winsup.api/pthread/condvar3_1.c: Fix debugging output.

22 years ago * arm-linux-nat.c: Don't include <asm/ptrace.h>.
drow [Sat, 17 Nov 2001 20:31:16 +0000 (20:31 +0000)]
    * arm-linux-nat.c: Don't include <asm/ptrace.h>.
        (fetch_register): Use elf_gregset_t instead of struct pt_regs.
        (fetch_regs): Likewise.
        (store_register): Likewise.
        (store_regs): Likewise.

22 years ago * sparc-linux-nat.c (fill_gregset): Replace read_register_gen
drow [Sat, 17 Nov 2001 20:21:08 +0000 (20:21 +0000)]
    * sparc-linux-nat.c (fill_gregset): Replace read_register_gen
        with regcache_collect.
        (fill_fpregset): Likewise.

22 years ago* path.cc (conv_path_list): Copy source paths before modifying them.
cgf [Sat, 17 Nov 2001 20:19:18 +0000 (20:19 +0000)]
* path.cc (conv_path_list): Copy source paths before modifying them.

22 years agoFix typo in comment in last commit
hp [Sat, 17 Nov 2001 18:51:15 +0000 (18:51 +0000)]
Fix typo in comment in last commit

22 years ago * config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in
hp [Sat, 17 Nov 2001 18:39:03 +0000 (18:39 +0000)]
* config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in
val assignment.

22 years ago * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,
drow [Sat, 17 Nov 2001 18:38:29 +0000 (18:38 +0000)]
    * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,
        and sparc-linux-nat.c to ALLDEPFILES.  Add dependencies.
        * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES.
        * sparc-linux-nat.c: New file, from Mark Kettenis.

22 years ago * strace.cc (main): Change getopt() to getopt_long().
corinna [Sat, 17 Nov 2001 09:48:09 +0000 (09:48 +0000)]
* strace.cc (main): Change getopt() to getopt_long().
Add support for help and version info.
Use new parse_mask() function for -m/--mask option.
(longopts): Add long options structure.
(opts): Move options string from getopts call to static var.
(usage): Print usage information.
(SCCSid): Version info.
(version): New function for displaying version info.
(parse_mask): New function supporting parsing of mnemonics,
hex, and basic expressions in masks.
(mnemonic2ul): New mnemonic parsing function.
(tag_mask_mnemonic): New type.
(mnemonic_table): New table of mnemonics for mnemonic2ul() to
search through.

22 years ago2001-11-16 Chris Demetriou <cgd@broadcom.cOm>
cgd [Sat, 17 Nov 2001 02:59:05 +0000 (02:59 +0000)]
2001-11-16  Chris Demetriou  <cgd@broadcom.cOm>

        * gas/mips/elf-rel5.s, gas/mips/elf-rel5.s: New test
        to test symbol plus offset relocations in various ways.
        * gas/mips/mips.exp: Run new test.

22 years ago * dwarf2read.c (dwarf_str_buffer): New.
jakub [Sat, 17 Nov 2001 00:08:10 +0000 (00:08 +0000)]
* dwarf2read.c (dwarf_str_buffer): New.
(struct dwarf2_pinfo): Add dwarf_str_buffer and dwarf_str_size.
(DWARF_STR_BUFFER, DWARF_STR_SIZE): Define.
(dwarf2_has_info): Clear dwarf_str_offset.
(dwarf2_build_psymtabs): Read .debug_str section if present.
(dwarf2_build_psymtabs_hard): Save DWARF_STR_BUFFER and
DWARF_STR_SIZE.
(psymtab_to_symtab_1): Restore DWARF_STR_BUFFER and DWARF_STR_SIZE.
(read_attribute): Handle DW_FORM_strp.
(read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8
handling code.
(read_indirect_string): New.
(dump_die): Handle DW_FORM_strp.

22 years ago*** empty log message ***
gdbadmin [Sat, 17 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * fhandler_raw.cc (fhandler_dev_raw::clear): Don't reset unit.
corinna [Fri, 16 Nov 2001 23:28:56 +0000 (23:28 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::clear): Don't reset unit.
* fhandler_tape.cc (fhandler_dev_tape::fhandler_dev_tape): Add debug
output.

22 years agodaily update
amodra [Fri, 16 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
dj [Fri, 16 Nov 2001 22:31:03 +0000 (22:31 +0000)]
merge from gcc

22 years ago* s390-tdep.c: Tweak argument-passing to match GCC bugs.
jimb [Fri, 16 Nov 2001 21:40:35 +0000 (21:40 +0000)]
* s390-tdep.c: Tweak argument-passing to match GCC bugs.
(is_float_singleton, is_struct_like, is_float_like): New
functions, that isolate the weirdness.
(is_double_or_float, is_simple_arg, pass_by_copy_ref,
is_double_arg): Use is_struct_like and is_float_like, rather than
testing the type codes ourselves.
(s390_push_arguments): When passing args on the stack, align each
on to a four-byte boundary, regardless of what the type itself
needs.

22 years ago2001-11-16 Ben Harris <bjh21@netbsd.org>
bjh21 [Fri, 16 Nov 2001 19:53:28 +0000 (19:53 +0000)]
2001-11-16  Ben Harris  <bjh21@netbsd.org>

* Makefile.in (os9kread.o): Replace $< with autoconf-approved
$(srcdir)/....
(procfs.o): Ditto.
(z8k-tdep.o): Ditto.

22 years ago2001-11-16 Ben Harris <bjh21@netbsd.org>
bjh21 [Fri, 16 Nov 2001 18:56:01 +0000 (18:56 +0000)]
2001-11-16  Ben Harris  <bjh21@netbsd.org>

* Makefile.in (armemu32.o): Replace $< with autoconf recommended
$(srcdir)/....
(armemu26.o): Ditto.

22 years ago2001-11-16 Ben Harris <bjh21@netbsd.org>
bjh21 [Fri, 16 Nov 2001 18:29:27 +0000 (18:29 +0000)]
2001-11-16  Ben Harris  <bjh21@netbsd.org>

* MAINTAINERS (write-after-approval): Add self.

22 years ago * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.
amodra [Fri, 16 Nov 2001 09:34:28 +0000 (09:34 +0000)]
* config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.

22 years ago2001-11-15 H.J. Lu <hjl@gnu.org>
hjl [Fri, 16 Nov 2001 07:27:58 +0000 (07:27 +0000)]
2001-11-15  H.J. Lu  <hjl@gnu.org>

* config/tc-hppa.c (md_apply_fix3): Fix a typo.

22 years ago2001-11-15 H.J. Lu <hjl@gnu.org>
hjl [Fri, 16 Nov 2001 07:17:11 +0000 (07:17 +0000)]
2001-11-15  H.J. Lu  <hjl@gnu.org>

* config/tc-alpha.c (md_apply_fix3): Fix a typo.

22 years ago * elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs against
drow [Fri, 16 Nov 2001 02:56:07 +0000 (02:56 +0000)]
    * elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs against
        local syms from discarded sections.  Update comment.

22 years ago* s390-tdep.c (is_simple_arg): Structs and unions exactly eight
jimb [Fri, 16 Nov 2001 02:48:28 +0000 (02:48 +0000)]
* s390-tdep.c (is_simple_arg): Structs and unions exactly eight
bytes long should be handled as DOUBLE_ARGs; don't recognize them
as SIMPLE_ARGs.

22 years ago*** empty log message ***
gdbadmin [Fri, 16 Nov 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Thu, 15 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agoUpdate all uses of md_apply_fix to use md_apply_fix3. Make it a void function.
nickc [Thu, 15 Nov 2001 21:28:52 +0000 (21:28 +0000)]
Update all uses of md_apply_fix to use md_apply_fix3.  Make it a void function.

22 years ago* remote.c (struct packet_reg): Declare.
cagney [Thu, 15 Nov 2001 20:58:36 +0000 (20:58 +0000)]
* remote.c (struct packet_reg): Declare.
(struct remote_state): Add fields sizeof_g_packet and g_packet.
(init_remote_state): Initialize sizeof_g_packet and g_packet.
(free_remote_state): Free g_packet.
(packet_reg_from_pnum, packet_reg_by_regnum): New functions.
(remote_wait): Use above instead of gdbarch methods
REGISTER_RAW_SIZE and REGISTER_BYTES.
(remote_async_wait): Ditto.
(remote_fetch_registers, remote_store_registers): Ditto.
(store_register_using_P): Ditto.

22 years agoReally zap tty_input from multi-arch swap.
cagney [Thu, 15 Nov 2001 20:30:40 +0000 (20:30 +0000)]
Really zap tty_input from multi-arch swap.

22 years ago2001-11-15 H.J. Lu <hjl@gnu.org>
hjl [Thu, 15 Nov 2001 19:10:05 +0000 (19:10 +0000)]
2001-11-15  H.J. Lu <hjl@gnu.org>

* ld-sh/ld-r-1.d: Updated.

22 years agomerge from gcc
dj [Thu, 15 Nov 2001 19:06:06 +0000 (19:06 +0000)]
merge from gcc

22 years agoCorrectly handle phex(*,0) and phex_nz(*,0).
cagney [Thu, 15 Nov 2001 18:35:04 +0000 (18:35 +0000)]
Correctly handle phex(*,0) and phex_nz(*,0).

22 years ago* utils.c (phex_nz): For default case, set str to phex_nz return
cagney [Thu, 15 Nov 2001 18:24:16 +0000 (18:24 +0000)]
* utils.c (phex_nz): For default case, set str to phex_nz return
value.

22 years ago * config/tc-i386.h (md_end): Define.
amodra [Thu, 15 Nov 2001 13:19:46 +0000 (13:19 +0000)]
* config/tc-i386.h (md_end): Define.
(i386_elf_emit_arch_note): Declare.
(CpuUnknown): Delete.
* config/tc-i386.c (default_arch): Constify.
(smallest_imm_type): Remove CpuUnknown test.
(md_assemble): Don't bother checking cpu_arch_flags non-zero.
(i386_elf_emit_arch_note): New function.

22 years ago * common.h (NT_ARCH): Define. Remove incorrect comment.
amodra [Thu, 15 Nov 2001 13:19:10 +0000 (13:19 +0000)]
* common.h (NT_ARCH): Define.  Remove incorrect comment.

22 years ago * readelf.c: Fix warnings without terminating newline.
schwab [Thu, 15 Nov 2001 13:14:09 +0000 (13:14 +0000)]
* readelf.c: Fix warnings without terminating newline.

22 years ago * binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.
amodra [Thu, 15 Nov 2001 12:51:42 +0000 (12:51 +0000)]
* binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.

22 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
amodra [Thu, 15 Nov 2001 12:44:01 +0000 (12:44 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
function when LDEMUL_FINISH isn't set to the same name.  Don't
call ${LDEMUL_FINISH}.
(ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
* emultempl/armelf.em (arm_elf_finish): Call
gld${EMULATION_NAME}_finish.
* emultempl/hppaelf.em (hppaelf_finish): Rename to
gld${EMULATION_NAME}_finish.  Call bfd_elf32_discard_info and
hppaelf_layout_sections_again if necessary.
(need_laying_out): New var.
(hppaelf_layaout_sections_again): Rename to
hppaelf_layout_sections_again.  Clear need_laying_out.
(PARSE_AND_LIST_OPTIONS): Format text.

22 years ago * po/POTFILES.in: Regenerate.
amodra [Thu, 15 Nov 2001 12:27:05 +0000 (12:27 +0000)]
* po/POTFILES.in: Regenerate.

22 years ago * po/POTFILES.in: Regenerate.
amodra [Thu, 15 Nov 2001 12:26:32 +0000 (12:26 +0000)]
* po/POTFILES.in: Regenerate.

22 years ago * po/SRC-POTFILES.in: Regenerate.
amodra [Thu, 15 Nov 2001 12:18:24 +0000 (12:18 +0000)]
* po/SRC-POTFILES.in: Regenerate.

22 years agoFix typo.
duda [Thu, 15 Nov 2001 11:27:15 +0000 (11:27 +0000)]
Fix typo.

22 years ago* winsup.api/pthread/: New directory. Ports of pthread functionality
duda [Thu, 15 Nov 2001 11:19:45 +0000 (11:19 +0000)]
* winsup.api/pthread/: New directory. Ports of pthread functionality
tests ported from pthreads-win32 project.
* winsup.api/pthread/test.h: Commmon declaraions for pthread tests.
* winsup.api/pthread/cleanup2.c: New test.
* winsup.api/pthread/cleanup3.c: Ditto.
* winsup.api/pthread/condvar1.c: Ditto.
* winsup.api/pthread/condvar2.c: Ditto.
* winsup.api/pthread/condvar2_1.c: Ditto.
* winsup.api/pthread/condvar3.c: Ditto.
* winsup.api/pthread/condvar3_1.c: Ditto.
* winsup.api/pthread/condvar3_2.c: Ditto.
* winsup.api/pthread/condvar3_3.c: Ditto.
* winsup.api/pthread/condvar4.c: Ditto.
* winsup.api/pthread/condvar5.c: Ditto.
* winsup.api/pthread/condvar6.c: Ditto.
* winsup.api/pthread/condvar8.c: Ditto.
* winsup.api/pthread/count1.c: Ditto.
* winsup.api/pthread/create1.c: Ditto.
* winsup.api/pthread/create2.c: Ditto.
* winsup.api/pthread/equal1.c: Ditto.
* winsup.api/pthread/exit1.c: Ditto.
* winsup.api/pthread/exit2.c: Ditto.
* winsup.api/pthread/exit3.c: Ditto.
* winsup.api/pthread/inherit1.c: Ditto.
* winsup.api/pthread/join0.c: Ditto.
* winsup.api/pthread/join1.c: Ditto.
* winsup.api/pthread/join2.c: Ditto.
* winsup.api/pthread/mutex1.c: Ditto.
* winsup.api/pthread/mutex1r.c: Ditto.
* winsup.api/pthread/mutex2.c: Ditto.
* winsup.api/pthread/mutex3.c: Ditto.
* winsup.api/pthread/mutex6r.c: Ditto.
* winsup.api/pthread/once1.c: Ditto.
* winsup.api/pthread/priority1.c: Ditto.
* winsup.api/pthread/priority2.c: Ditto.
* winsup.api/pthread/self1.c: Ditto.
* winsup.api/pthread/self2.c: Ditto.
* winsup.api/pthread/tsd1.c: Ditto.

22 years ago* include/pthread.h (PTHREAD_COND_INITIALIZER): Define.
duda [Thu, 15 Nov 2001 11:10:37 +0000 (11:10 +0000)]
* include/pthread.h (PTHREAD_COND_INITIALIZER): Define.
* thread.cc (__pthread_cond_destroy): Add support for
PTHREAD_COND_INITIALIZER.
(__pthread_cond_init): Ditto.
(__pthread_cond_broadcast): Ditto.
(__pthread_cond_signal): Ditto.
(__pthread_cond_dowait): Ditto.
(__pthread_mutex_init): Handle PTHREAD_MUTEX_INITIALIZER correctly,
don't return error when it's passed as parameter.
* winsup.h (check_null_invalid_struct): Call correct function.

22 years ago * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.
ths [Thu, 15 Nov 2001 09:49:54 +0000 (09:49 +0000)]
* config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.

22 years ago * elflink.h (elf_link_input_bfd): Complain about all relocs
amodra [Thu, 15 Nov 2001 09:31:23 +0000 (09:31 +0000)]
* elflink.h (elf_link_input_bfd): Complain about all relocs
against local syms from discarded sections.
(elf_reloc_symbol_deleted_p): Don't try to swap in external syms.

22 years agorevert last change.
amodra [Thu, 15 Nov 2001 09:16:45 +0000 (09:16 +0000)]
revert last change.

22 years ago2001-11-14 H.J. Lu <hjl@gnu.org>
hjl [Thu, 15 Nov 2001 07:12:45 +0000 (07:12 +0000)]
2001-11-14  H.J. Lu  <hjl@gnu.org>

* emultempl/armelf.em (arm_elf_finish): Renamed from
gld${EMULATION_NAME}_finish.
(LDEMUL_FINISH): Set to arm_elf_finish.

22 years ago* TODO (register_buffer): Delete.
cagney [Thu, 15 Nov 2001 06:43:07 +0000 (06:43 +0000)]
* TODO (register_buffer): Delete.
* regcache.c (register_buffer): Make static.
(regcache_collect): New function.
* regcache.h (register_buffer): Delete declaration.
(regcache_collect): Declare.
* remote.c (store_register_using_P): Rewrite using
regcache_collect.
(remote_store_registers): Ditto.
* go32-nat.c (store_register): Ditto.

22 years agogas/ChangeLog
amodra [Thu, 15 Nov 2001 05:18:22 +0000 (05:18 +0000)]
gas/ChangeLog
* dwarf2dbg.c (get_frag_fix): Align last frag size.

22 years agoMove global state variables to ``struct remote_state''.
cagney [Thu, 15 Nov 2001 05:00:45 +0000 (05:00 +0000)]
Move global state variables to ``struct remote_state''.

22 years ago* elf64-sparc.c (sparc64_elf_relocate_section): Disregard
aoliva [Thu, 15 Nov 2001 04:13:35 +0000 (04:13 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Disregard
overflows in the .stab section.

22 years ago* exceptions.cc: Add stdlib.h include for alloca declaration.
cgf [Thu, 15 Nov 2001 03:25:52 +0000 (03:25 +0000)]
* exceptions.cc: Add stdlib.h include for alloca declaration.
* poll.cc: Ditto.
* termios.cc: Ditto.
* syscalls.cc (_write): Only allow zero length when fd is valid.

22 years ago* remote.c: Include "gdb_assert.h".
cagney [Thu, 15 Nov 2001 02:56:28 +0000 (02:56 +0000)]
* remote.c: Include "gdb_assert.h".
(tty_input): Wire buffer to 400 bytes.
(readsocket): Check tty_input doesn't overflow.
(build_remote_gdbarch_data, _initialize_remote): Don't multi-arch
tty_input.

22 years ago* lib/remote.exp (local_exec, standard_close): Use SHELL
cagney [Thu, 15 Nov 2001 02:29:56 +0000 (02:29 +0000)]
* lib/remote.exp (local_exec, standard_close): Use SHELL
background instead of tcl background to background the kill
processes.  Work around problem found by Nick Duffek in older
CYGWINs.

22 years ago2001-11-14 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 15 Nov 2001 02:18:46 +0000 (02:18 +0000)]
2001-11-14  Michael Snyder  <msnyder@redhat.com>

        * d10v-tdep.c (d10v_pointer_to_address): Use new type flag
TYPE_FLAG_CODE_SPACE to recognize a pointer that has been cast
into the instruction address space.
* Makefile.in (doublest.o): Add dependency on gdbtypes.h.

22 years ago2001-11-13 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 15 Nov 2001 02:16:58 +0000 (02:16 +0000)]
2001-11-13  Michael Snyder  <msnyder@redhat.com>

* gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
Tests for expressions using 'const' and 'volatile'.

22 years ago2001-11-14 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 15 Nov 2001 01:55:59 +0000 (01:55 +0000)]
2001-11-14  Michael Snyder  <msnyder@redhat.com>
Add address space identifiers to expression language for types.
* c-exp.y (space_identifier, cv_with_space_id,
const_or_volatile_or_space_identifier_noopt,
const_or_volatile_or_space_identifier): New terminals.
(ptype): Accept const_or_volatile_or_space_identifier.
(typebase): Accept const_or_volatile_or_space_identifier.
* c-typeprint.c (c_type_print_cv_qualifier): Rename to
c_type_print_modifier.  Handle address space modified types.
* gdbtypes.h (TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE):
New type flags.
(struct type): Add new field as_type for addr-space qualified types.
(TYPE_AS_TYPE): New macro, retrieves the chain of types that are
identical to this one except for address-space qualification.
* gdbtypes.c (alloc_type): Initialize new field 'as_type'.
(address_space_name_to_int): New function.
(address_space_int_to_name): New function.
(make_type_with_address_space): New function.
(make_cv_type): Handle as_type field of new struct type object.
* parse.c (check_type_stack_depth): New function.
(push_type_address_space): New function.
(follow_types): Handle types with address-space qualifier.
* parser-defs.h (enum type_pieces): Add enum tp_space_identifier.

22 years ago2001-11-11 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 15 Nov 2001 01:34:09 +0000 (01:34 +0000)]
2001-11-11  Daniel Jacobowitz  <drow@mvista.com>

* bfd-in.h (bfd_elf32_discard_info): Add prototype.
(bfd_elf64_discard_info): Likewise.
* bfd-in2.h: Regenerate.
* elf-bfd.h (struct elf_reloc_cookie): New.
(struct elf_backend_data): Add elf_backend_discard_info,
elf_backend_ignore_discarded_relocs, and elf_backend_write_section.
(_bfd_elf32_reloc_symbol_deleted_p): Add prototype.
(_bfd_elf64_reloc_symbol_deleted_p): Likewise.
* elf32-mips.c (_bfd_elf32_mips_discard_info): New.
(_bfd_elf32_mips_ignore_discarded_relocs): New.
(_bfd_elf32_mips_write_section): New.
(elf_backend_discard_info): Define.
(elf_backend_ignore_discarded_relocs): Define.
(elf_backend_write_section): Define.
* elfcode.h (elf_bfd_discard_info): Define.
(elf_reloc_symbol_deleted_p): Define.
* elflink.h (elf_link_input_bfd): Check
elf_section_ignore_discarded_relocs.  Call
bed->elf_backend_write_section if available.
(elf_reloc_symbol_deleted_p): New.
(elf_bfd_discard_info): New.
(elf_section_ignore_discarded_relocs): New.
* elfxx-target.h (elf_backend_discard_info): Define.
(elf_backend_ignore_discarded_relocs): Define.
(elf_backend_write_section): Define.
(elfNN_bed): Add elf_backend_discard_info,
elf_backend_ignore_discarded_relocs, and
elf_backend_write_section.
* libbfd-in.h (_bfd_discard_section_stabs): Add prototype.
* libbfd.h: Regenerate.
* stabs.c (_bfd_discard_section_stabs): New.

2001-11-11  Daniel Jacobowitz  <drow@mvista.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
(struct ld_emulation_xfer_struct): Use it.

22 years ago * binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target.
geoffk [Thu, 15 Nov 2001 01:11:08 +0000 (01:11 +0000)]
* binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target.