OSDN Git Service

pf3gnuchains/sourceware.git
21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Tue, 1 Oct 2002 23:35:42 +0000 (23:35 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Insert configure-target target, for src-release.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Tue, 1 Oct 2002 23:21:50 +0000 (23:21 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Finish reverting change which Andrew Cagney started
reverting.  Should fix bustage.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Tue, 1 Oct 2002 22:58:14 +0000 (22:58 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release (BINUTILS_SUPPORT_DIRS): Add cpu directory.

21 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Tue, 1 Oct 2002 22:34:16 +0000 (22:34 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release: New file.  Contains material for making net
releases for gdb, binutils, et al., formerly in Makefile.in.

21 years ago2002-10-01 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 1 Oct 2002 21:15:42 +0000 (21:15 +0000)]
2002-10-01  Andrew Cagney  <ac131313@redhat.com>

        * NEWS: Mention that MI syntax, selected by "mi" changed to "mi2"
        and that "mi0" syntax has been removed.

2002-10-01  Andrew Cagney  <ac131313@redhat.com>

        * gdb.texinfo (Mode Options): Update --interpreter option.  "mi2"
        and "mi1" instead of "mi1" and "mi0".

2002-10-01  Andrew Cagney  <ac131313@redhat.com>

        * mi-main.c (mi2_command_loop): New function.
        (mi0_command_loop): Delete function.
        (_initialize_mi_main): Recognize, and default to, "mi2".  Do not
        recognize "mi0".
        * mi-out.c (mi_table_begin): Remove mi0 code.
        (mi_table_body, mi_table_end): Ditto.
        (mi_table_header, mi_open, mi_close): Ditto.

21 years ago2002-09-30 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 1 Oct 2002 19:26:03 +0000 (19:26 +0000)]
2002-09-30  David Carlton  <carlton@math.stanford.edu>

* Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h.
* ppc-sysv-tdep.c: #include "gdb_string.h".
* remote-sds.c (getmessage): Add semicolon after 'retry' label to
pacify GCC.

21 years ago2002-10-01 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 1 Oct 2002 16:01:37 +0000 (16:01 +0000)]
2002-10-01  Andrew Cagney  <ac131313@redhat.com>

* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
* mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
* mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
* mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
* mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
* mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
* mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.

21 years ago2002-10-01 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 1 Oct 2002 14:57:54 +0000 (14:57 +0000)]
2002-10-01  Andrew Cagney  <ac131313@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
"vrsave"'s register number.

21 years agobfd/
jakub [Tue, 1 Oct 2002 10:43:34 +0000 (10:43 +0000)]
bfd/
* elf32-i386.c (elf_i386_relocate_section): Fix
movl foo@indntpoff, %eax IE->LE transition.
ld/testsuite/
* ld-i386/i386.exp: Add tlsindntpoff test.
* ld-i386/tlsindntpoff.s: New test.
* ld-i386/tlsindntpoff.dd: New test.

21 years agobfd/
jakub [Tue, 1 Oct 2002 09:15:33 +0000 (09:15 +0000)]
bfd/
* elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD
sequence and its transitions.
ld/testsuite/
* ld-x86-64/tlspic1.s: Change TLSGD sequences.
* ld-x86-64/tlsbinpic.s: Likewise.
* ld-x86-64/tlspic.dd: Adjust.

21 years agobfd/
jakub [Tue, 1 Oct 2002 09:10:44 +0000 (09:10 +0000)]
bfd/
* elf32-i386.c (elf_i386_relocate_section): Resolve R_386_TLS_LDO_32
to st_value + addend in non-code sections.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Resolve
R_X86_64_DTPOFF32 to st_value + addend in non-code sections.

ld/testsuite/
* ld-i386/i386.exp: Add tlsg test.
* ld-i386/tlsg.s: New test.
* ld-i386/tlsg.sd: New test.
* ld-i386/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-i386/tlsbinpic.s: Likewise.
* ld-x86-64/x86-64.exp: Add tlsg test.
* ld-x86-64/tlsg.s: New test.
* ld-x86-64/tlsg.sd: New test.
* ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments.
* ld-x86-64/tlsbinpic.s: Likewise.

21 years ago * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
amodra [Tue, 1 Oct 2002 06:15:32 +0000 (06:15 +0000)]
* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
(TC_FORCE_RELOCATION): Tidy arg.

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
hjl [Tue, 1 Oct 2002 04:37:46 +0000 (04:37 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/mips.exp: Undo the last change.

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
hjl [Tue, 1 Oct 2002 03:27:56 +0000 (03:27 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.

21 years ago2002-09-30 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 1 Oct 2002 01:30:10 +0000 (01:30 +0000)]
2002-09-30  Andrew Cagney  <ac131313@redhat.com>

* mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame,
use frame_unwind_signed_register to obtain the PC.
(mips_frame_chain): Handle a generic dummy frame.
(mips_init_extra_frame_info): When a generic dummy frame, don't
re-compute the frame base.
(mips_pop_frame): Handle generic dummy frames.
(mips_gdbarch_init): When generic dummy frames, set
use_generic_dummy_frames, push_dummy_frame to
generic_push_dummy_frame, pc_in_call_dummy to
generic_pc_in_call_dummy, and save_dummy_frame_top_of_stack to
generic_save_dummy_frame_tos.

21 years ago2002-09-30 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 1 Oct 2002 01:24:00 +0000 (01:24 +0000)]
2002-09-30  Andrew Cagney  <ac131313@redhat.com>

* blockframe.c (generic_find_dummy_frame): Rewrite.  Only test
against TOP when TOP was explictly set.
(generic_push_dummy_frame): Set TOP to zero.

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
hjl [Tue, 1 Oct 2002 00:12:25 +0000 (00:12 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/vr4120.d: Use "#pass" instead of "#..." to skip the
rest of output.

21 years ago*** empty log message ***
gdbadmin [Tue, 1 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Tue, 1 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-09-30 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 30 Sep 2002 21:25:47 +0000 (21:25 +0000)]
2002-09-30  Elena Zannoni  <ezannoni@redhat.com>

* event-loop.c (start_event_loop): Rename variable 'result' to
'gdb_result', to avoid conflicts with upcoming intepreters changes.

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
hjl [Mon, 30 Sep 2002 21:12:23 +0000 (21:12 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/mips.exp: Set xfail on empic, empic2, empic3_g1 and
empic3_g2 on Linux/mips.

21 years ago2002-10-01 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Mon, 30 Sep 2002 21:06:04 +0000 (21:06 +0000)]
2002-10-01  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (pthread_key::keys): Copy on fork. Add a comment explaining
        why.
        (pthreadNull::_instance): Copy on fork. Absolutely no state exists
        in pthreadNull.

21 years ago2002-09-30 H.J. Lu <hjl@gnu.org>
hjl [Mon, 30 Sep 2002 20:59:11 +0000 (20:59 +0000)]
2002-09-30  H.J. Lu <hjl@gnu.org>

* gas/mips/vr4120.d: Pass -m mips:4120 to objdump.

21 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
cagney [Mon, 30 Sep 2002 20:18:52 +0000 (20:18 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

* mi-out.c (mi_version): New function.
* mi-out.h (mi_version): Declare.

21 years agoFix handling of v850e bit-twiddle instructions.
wilson [Mon, 30 Sep 2002 20:11:08 +0000 (20:11 +0000)]
Fix handling of v850e bit-twiddle instructions.
* simops.c (OP_E6077E0): And op1 with 7 after reading register, not
before.
(BIT_CHANGE_OP): Likewise.

21 years ago * gdb-events.sh (selected_thread_changed): New event.
kseitz [Mon, 30 Sep 2002 20:06:52 +0000 (20:06 +0000)]
    * gdb-events.sh (selected_thread_changed): New event.
        * gdb-events.c: Regenerated.
        * gdb-events.h: Regenerated.

21 years ago * cygserver_transport_pipes.cc (transport_layer_pipes::accept):
scottc [Mon, 30 Sep 2002 18:31:55 +0000 (18:31 +0000)]
* cygserver_transport_pipes.cc (transport_layer_pipes::accept):
Remove trailing \n from debug_printf.

21 years ago * MAINTAINERS: Add self to Write After Approval list.
hp [Mon, 30 Sep 2002 16:05:30 +0000 (16:05 +0000)]
* MAINTAINERS: Add self to Write After Approval list.

21 years ago * disasm.c: New file.
fnasser [Mon, 30 Sep 2002 15:57:24 +0000 (15:57 +0000)]
* disasm.c: New file.
* disasm.h: New file.
* mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c.
(compare_lines): Ditto.
(dump_insns): Ditto.
(do_mixed_source_and_assembly): Moved to disasm.c. Added uiout argument. (do_assembly_only): Ditto.
(do_disassembly): Renamed to gdb_disassembly and moved to disasm.c.
Sdded uiout argument.
* Makefile.in: Add new files.  Reorder SFILES list. Update dependencies. Include libgdb.a later in the insight executable.

21 years agowhitespace
cgf [Mon, 30 Sep 2002 15:17:44 +0000 (15:17 +0000)]
whitespace

21 years ago* thread.cc (pthread_mutex::initMutex): Remove \n from api_fatal.
cgf [Mon, 30 Sep 2002 15:11:54 +0000 (15:11 +0000)]
* thread.cc (pthread_mutex::initMutex): Remove \n from api_fatal.

21 years ago* thread.cc (pthread::precreate): Use explicit "no inherit" option when
cgf [Mon, 30 Sep 2002 15:04:59 +0000 (15:04 +0000)]
* thread.cc (pthread::precreate): Use explicit "no inherit" option when
creating mutex.
(pthread_mutex::nativeMutex::init): Ditto.
(semaphore::semaphore): Ditto.

21 years ago* thread.cc (pthread_key::keys): Do not copy on fork.
cgf [Mon, 30 Sep 2002 15:00:52 +0000 (15:00 +0000)]
* thread.cc (pthread_key::keys): Do not copy on fork.
(pthread_mutex::mutexInitializationLock): Ditto.
(pthreadNull::_instance): Ditto.

21 years ago* exceptions.cc (unused_sig_wrapper): Still need additional level of
cgf [Mon, 30 Sep 2002 14:18:43 +0000 (14:18 +0000)]
* exceptions.cc (unused_sig_wrapper): Still need additional level of
indirection when setting errno.

21 years agoFix date in last commit.
rsandifo [Mon, 30 Sep 2002 12:08:05 +0000 (12:08 +0000)]
Fix date in last commit.

21 years ago[gas/]
rsandifo [Mon, 30 Sep 2002 12:04:51 +0000 (12:04 +0000)]
[gas/]
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
vr5400 and vr5500.  Add entry for -mfix-vr4122-bugs.
* config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
(hilo_interlocks): True for CPU_VR5500.
(gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
(mips_fix_vr4122_bugs): New.
(append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
(mips_emit_delays): Likewise.
(macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
[M_ROLI]: Likewise ror if CPU_HAS_ROR.
(validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
(OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
(md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
(OPTION_ELF_BASE): Bump.
(md_parse_option): Handle the new options.
(mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
vr5400 and vr5500.

[gas/testsuite/]
* gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to...
* gas/mips/vr4111.[sd]: ...this new test.
* gas/mips/vr4120.[sd],
* gas/mips/vr4122.[sd],
* gas/mips/vr5400.[sd],
* gas/mips/vr5500.[sd]: New tests.
* mips.exp: Run them.

21 years ago[gas/]
rsandifo [Mon, 30 Sep 2002 12:04:31 +0000 (12:04 +0000)]
[gas/]
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
vr5400 and vr5500.  Add entry for -mfix-vr4122-bugs.
* config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
(hilo_interlocks): True for CPU_VR5500.
(gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
(mips_fix_vr4122_bugs): New.
(append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
(mips_emit_delays): Likewise.
(macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
[M_ROLI]: Likewise ror if CPU_HAS_ROR.
(validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
(OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
(md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
(OPTION_ELF_BASE): Bump.
(md_parse_option): Handle the new options.
(mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
vr5400 and vr5500.

[gas/testsuite/]
* gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to...
* gas/mips/vr4111.[sd]: ...this new test.
* gas/mips/vr4120.[sd],
* gas/mips/vr4122.[sd],
* gas/mips/vr5400.[sd],
* gas/mips/vr5500.[sd]: New tests.
* mips.exp: Run them.

21 years ago[gas/]
rsandifo [Mon, 30 Sep 2002 12:04:06 +0000 (12:04 +0000)]
[gas/]
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
vr5400 and vr5500.  Add entry for -mfix-vr4122-bugs.
* config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
(hilo_interlocks): True for CPU_VR5500.
(gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
(mips_fix_vr4122_bugs): New.
(append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
(mips_emit_delays): Likewise.
(macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
[M_ROLI]: Likewise ror if CPU_HAS_ROR.
(validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
(OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
(md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
(OPTION_ELF_BASE): Bump.
(md_parse_option): Handle the new options.
(mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
vr5400 and vr5500.

[gas/testsuite/]
* gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to...
* gas/mips/vr4111.[sd]: ...this new test.
* gas/mips/vr4120.[sd],
* gas/mips/vr4122.[sd],
* gas/mips/vr5400.[sd],
* gas/mips/vr5500.[sd]: New tests.
* mips.exp: Run them.

21 years ago[include/opcode/]
rsandifo [Mon, 30 Sep 2002 11:58:09 +0000 (11:58 +0000)]
[include/opcode/]
* mips.h: Update comment for new opcodes.
(OP_MASK_VECBYTE, OP_SH_VECBYTE): New.
(OP_MASK_VECALIGN, OP_SH_VECALIGN): New.
(INSN_4111, INSN_4120, INSN_5400, INSN_5500): New.
(CPU_VR4120, CPU_VR5400, CPU_VR5500): New.
(OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags.
Don't match CPU_R4111 with INSN_4100.

[opcodes/]
* mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'.
(mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400
and bfd_mach_mips5500.
* mips-opc.c (V1): Include INSN_4111 and INSN_4120.
(N411, N412, N5, N54, N55): New convenience defines.
(mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes.
Change dmadd16 and madd16 from V1 to N411.

21 years ago[include/elf]
rsandifo [Mon, 30 Sep 2002 11:53:55 +0000 (11:53 +0000)]
[include/elf]
* mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New.

[bfd/]
* archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New.
(bfd_mach_mips5500): New.
* cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New.
(arch_info_struct): Add corresponding entries here.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
(_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120,
bfd_mach_mips5400 and bfd_mach_mips5500.
(_bfd_mips_elf_mach_extends_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Use it to help merge
the EF_MIPS_MACH flags.
* bfd-in2.h: Regenerate.

21 years ago2002-09-30 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Mon, 30 Sep 2002 11:43:43 +0000 (11:43 +0000)]
2002-09-30  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (pthread_mutex::initMutex): Use the wrapper init call.
        (pthread_mutex::nativeMutex::init): Implement.
        (pthread_mutex::nativeMutex::lock): Ditto.
        (pthread_mutex::nativeMutex::unlock): Ditto.
        (pthread_mutex::init): Use the wrapper lock and unlockcalls.
        * thread.h (pthread_mutex): Move mutexInitializationLock into a
        nativeMutex wrapper class.

21 years agoAdd cpu directory.
nickc [Mon, 30 Sep 2002 10:34:06 +0000 (10:34 +0000)]
Add cpu directory.

21 years ago * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
amodra [Mon, 30 Sep 2002 09:31:30 +0000 (09:31 +0000)]
* scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.

21 years ago * gdb.texinfo (Packets): Fix typos "alligned".
hp [Mon, 30 Sep 2002 07:08:26 +0000 (07:08 +0000)]
* gdb.texinfo (Packets): Fix typos "alligned".
Correct z3/Z3 description.  Correct z4/Z4 title.

21 years ago2002-09-29 H.J. Lu <hjl@gnu.org>
hjl [Mon, 30 Sep 2002 06:31:59 +0000 (06:31 +0000)]
2002-09-29  H.J. Lu <hjl@gnu.org>

* config/tc-mips.c (md_apply_fix3): Subtract the symbol value
twice if howto->pcrel_offset is true.

21 years ago * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.
amodra [Mon, 30 Sep 2002 05:54:50 +0000 (05:54 +0000)]
* ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.

21 years ago * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
amodra [Mon, 30 Sep 2002 05:25:20 +0000 (05:25 +0000)]
* ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
* ld-powerpc/powerpc.exp: New.

21 years agoRemove \n from calls to strace class printfs throughout.
cgf [Mon, 30 Sep 2002 04:35:17 +0000 (04:35 +0000)]
Remove \n from calls to strace class printfs throughout.

21 years agoremove newline
cgf [Mon, 30 Sep 2002 04:27:32 +0000 (04:27 +0000)]
remove newline

21 years ago* exceptions.cc (unused_sig_wrapper): Accommodate newer compilers.
cgf [Mon, 30 Sep 2002 04:26:52 +0000 (04:26 +0000)]
* exceptions.cc (unused_sig_wrapper): Accommodate newer compilers.

21 years agoNo need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.
hjl [Mon, 30 Sep 2002 04:23:40 +0000 (04:23 +0000)]
No need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.

21 years ago * ld-i386/reloc.s, ld-i386/reloc.d: New.
amodra [Mon, 30 Sep 2002 03:35:17 +0000 (03:35 +0000)]
* ld-i386/reloc.s, ld-i386/reloc.d: New.
* ld-i386/i386.exp: Run new test.

21 years ago * emultempl/elf32.em (output_rel_find): Always place orphan loadable
amodra [Mon, 30 Sep 2002 03:34:46 +0000 (03:34 +0000)]
* emultempl/elf32.em (output_rel_find): Always place orphan loadable
reloc sections just before .rel.plt/.rela.plt.
(gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
Only put loadable reloc sections in hold_rel.

21 years ago* security.cc (allow_ntsec): Default to zero.
cgf [Mon, 30 Sep 2002 03:05:13 +0000 (03:05 +0000)]
* security.cc (allow_ntsec): Default to zero.
* environ.cc (environ_init): Set allow_ntsec to TRUE by default, assuming OS
allows it.

21 years ago* cygpath.cc (close_arg): Remove unused static.
cgf [Mon, 30 Sep 2002 03:01:17 +0000 (03:01 +0000)]
* cygpath.cc (close_arg): Remove unused static.
* mkgroup.c (enum_local_users): Avoid compiler warning.
(enum_users): Ditto.
* mkpasswd.c: Ditto throughout.
* ssp.c: Ditto throughout.

21 years ago* environ.cc (environ_init): Avoid a compiler warning.
cgf [Mon, 30 Sep 2002 02:51:20 +0000 (02:51 +0000)]
* environ.cc (environ_init): Avoid a compiler warning.
* path.cc (path_conv::check): Ditto.
* path.h (path_conv::operator int): Ditto.
* regex/engine.c: Ditto throughout.
* regex/regcomp.c: Ditto throughout.
* regex/regexec.c: Ditto throughout.

21 years ago* thread.cc: Use "%E" in *_printf throughout rather than calling GetLastError.
cgf [Mon, 30 Sep 2002 01:19:45 +0000 (01:19 +0000)]
* thread.cc: Use "%E" in *_printf throughout rather than calling GetLastError.
GNUify comments.
(__pthread_mutex_lock): Don't return error on EBUSY since that just means that
the mutex has already been initialized.

21 years ago2002-09-29 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 30 Sep 2002 00:52:27 +0000 (00:52 +0000)]
2002-09-29  Elena Zannoni  <ezannoni@redhat.com>

* tui.c (tui_show_source): Don't access current_source_symtab, use
accessor function instead.  Include source.h and symtab.h
* tuiDisassem.c (tuiShowDisassemAndUpdateSource,
tuiVerticalDisassemScroll): Use accessor functions for current
source line and symtab.  Include source.h.
* tuiLayout.c (_extractDisplayStartAddr): Use accessor functions
for current source line and symtab.  Include source.h.
* tuiWin.c (_makeVisibleWithNewHeight): Ditto.
* tuiSourceWin.c (tuiUpdateSourceWindowAsIs,
tuiHorizontalSourceScroll): Ditto.
* tuiSource.c (tuiVerticalSourceScroll): Ditto.

21 years agodaily update
amodra [Mon, 30 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 30 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-09-29 H.J. Lu <hjl@gnu.org>
hjl [Sun, 29 Sep 2002 23:59:49 +0000 (23:59 +0000)]
2002-09-29  H.J. Lu <hjl@gnu.org>

* ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
* ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.

21 years agoGNUify slightly.
cgf [Sun, 29 Sep 2002 23:56:57 +0000 (23:56 +0000)]
GNUify slightly.

21 years ago2002-09-30 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 29 Sep 2002 23:47:45 +0000 (23:47 +0000)]
2002-09-30  Robert Collins <rbtcollins@hotmail.com>

        * pthread.cc (pthread_mutex_init): Use new pthread_mutex::init.
        * thread.cc: Change __pthread_mutex_init to pthread_mutex::init
        throughout.
        (MTinterface::Init): Initialise pthread_mutex support.
        (pthread_mutex::mutexInitializationLock): Instantiate.
        (pthread_mutex::initMutex): New method.
        (__pthread_cond_dowait): Don't dereference untrusted pointers.
        Use the new pthread_mutex::init method.
        (__pthread_condattr_init): Don't dereference untrusted pointers.
        (__pthread_mutex_init): Rename to pthread_mutex::init.
        Lock and release mutexInitializationLock to prevent races on
        mutex initialisation.
        * thread.h (pthread_mutex::initMutex): New method, initialise
        pthread_mutex supporting state on process initialisation.
        (pthread_mutex::init): Initialise a single mutex.
        (pthread_mutex::mutexInitializationLock): A win32 mutex for
        syncronising pthread mutex initialisation.
        (__pthread_mutex_init): Remove this.

21 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 29 Sep 2002 17:19:28 +0000 (17:19 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

Revert below (note that src does not contain Makefile.tpl):
* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.

21 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 29 Sep 2002 16:32:15 +0000 (16:32 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and
bfd/elf64-alpha-fbsd.c.

21 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 29 Sep 2002 16:20:20 +0000 (16:20 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Rename i386gnu-nat.c and
i386gnu-tdep.c.

21 years ago2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Sun, 29 Sep 2002 16:12:36 +0000 (16:12 +0000)]
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Revert accidentally applied changes.

21 years ago2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Sun, 29 Sep 2002 15:59:33 +0000 (15:59 +0000)]
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make more autoconf-friendly.
* Makefile.in: Regenerate.
* configure: Make substitution more autoconf-like.

2002-09-28  Richard Earnshaw  <rearnsha@arm.com>

* configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a
single entry to handle all these.
(arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise.  Also enable
libjava on arm-*-elf.

21 years agoZap __FUNCTION__.
cagney [Sun, 29 Sep 2002 15:25:30 +0000 (15:25 +0000)]
Zap __FUNCTION__.

21 years agoDelete no-longer-needed tests.
cagney [Sun, 29 Sep 2002 14:20:31 +0000 (14:20 +0000)]
Delete no-longer-needed tests.

21 years agoAdd missing ChangeLog entry.
cgf [Sun, 29 Sep 2002 03:15:55 +0000 (03:15 +0000)]
Add missing ChangeLog entry.

21 years ago* cygthread.h (cygthread::terminate): Declare new function.
cgf [Sun, 29 Sep 2002 02:19:35 +0000 (02:19 +0000)]
* cygthread.h (cygthread::terminate): Declare new function.
(cygthread::initialized): Change to 'int'.
* cygthread.cc (cygthread::stub): Exit thread if initialized < 0.
(cygthread::new): Ditto.
(cygthread::runner): Ditto.  Set initialized using xor to preserve sign.
(cygthread::terminate): New function.
* dcrt0.cc (do_exit): Call cygthread::terminate.

21 years ago*** empty log message ***
gdbadmin [Sun, 29 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sun, 29 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
thorpej [Sat, 28 Sep 2002 23:15:50 +0000 (23:15 +0000)]
* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
.got sections.

21 years ago* config/tc-vax.c (md_estimate_size_before_relax): Only try to
thorpej [Sat, 28 Sep 2002 20:01:42 +0000 (20:01 +0000)]
* config/tc-vax.c (md_estimate_size_before_relax): Only try to
convert undefined references to GOT32/PLT32 if PIC code is
requested.  Fix comment.

21 years ago * sh-tdep.c (sh_use_struct_convention): Use definition according to ABI.
corinna [Sat, 28 Sep 2002 16:11:28 +0000 (16:11 +0000)]
* sh-tdep.c (sh_use_struct_convention): Use definition according to ABI.
(sh_push_arguments): Store in register with correct endianess.
(sh_default_store_return_value): Ditto.
(sh_gdbarch_init): Set sizeof long double to 8.

21 years ago * elf.c (map_sections_to_segments): Correct test for start of
amodra [Sat, 28 Sep 2002 03:25:56 +0000 (03:25 +0000)]
* elf.c (map_sections_to_segments): Correct test for start of
writable section in the same page as end of read-only section.

21 years ago* Makefile.in (check): Be more defensive when creating testsuite config.status.
cgf [Sat, 28 Sep 2002 03:15:44 +0000 (03:15 +0000)]
* Makefile.in (check): Be more defensive when creating testsuite config.status.

21 years ago * configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
geoffk [Sat, 28 Sep 2002 01:44:34 +0000 (01:44 +0000)]
* configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
things that depend on them.

21 years ago * gdb.base/annota1.exp (info break): Make directory components of
kevinb [Sat, 28 Sep 2002 01:12:03 +0000 (01:12 +0000)]
* gdb.base/annota1.exp (info break): Make directory components of
path optional since not all compilers emit this debug information.

  * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
  step ends up stepping out of the function instead of stopping on
  the epilogue.

21 years ago2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
drow [Sat, 28 Sep 2002 00:41:25 +0000 (00:41 +0000)]
2002-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

        * config/tc-sh.c (sh_force_relocation): Return 0 for
        some PC relative relocations when not relaxing.
        * testsuite/gas/sh/pcrel2.s: New.
        * testsuite/gas/sh/pcrel2.d: New.
        * testsuite/gas/sh/basic.exp: Add pcrel2 test.

21 years ago*** empty log message ***
gdbadmin [Sat, 28 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 28 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agoAdd support for -m option. Fix PR gdb/433.
cagney [Fri, 27 Sep 2002 23:57:50 +0000 (23:57 +0000)]
Add support for -m option.  Fix PR gdb/433.

21 years ago* gas/vax/elf-rel.[ds]: New test.
thorpej [Fri, 27 Sep 2002 23:36:00 +0000 (23:36 +0000)]
* gas/vax/elf-rel.[ds]: New test.
* gas/vax/quad.exp: Move contents to...
* gas/vax/vax.exp: ...here.  New file.

21 years ago* elf32-vax.c (elf_vax_check_relocs): Remove unused
thorpej [Fri, 27 Sep 2002 22:28:16 +0000 (22:28 +0000)]
* elf32-vax.c (elf_vax_check_relocs): Remove unused
local_got_refcounts usage.  Remove allocation of got slot.
(elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage.
Remove de-allocation of got slot.
(elf_vax_size_dynamic_section): Fix some indentation.  Add hash
traversal for elf_vax_instantiate_got_entries.  Allow empty .got
sections to be GC'ed.
(elf_vax_instantiate_got_entries): New function.
(elf_vax_relocate_section): Simplify R_VAX_GOT32 handling.  Remove
tests that are now handled by elf_vax_instantiate_got_entries.
Assert GOT entry falls within .got section size.  Remove redundant
comparisions.  Fix comments.

21 years agoLast ChangeLog entry for defs.h is for both this patch and the previous patch.
kettenis [Fri, 27 Sep 2002 22:08:51 +0000 (22:08 +0000)]
Last ChangeLog entry for defs.h is for both this patch and the previous patch.

21 years ago* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
kettenis [Fri, 27 Sep 2002 21:31:21 +0000 (21:31 +0000)]
* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
Fix some whitespace problems.

21 years ago2002-09-27 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 27 Sep 2002 21:02:14 +0000 (21:02 +0000)]
2002-09-27  Andrew Cagney  <ac131313@redhat.com>

* hw_disk.c (hw_disk_init_address): Set device type to "block",
not "disk".

21 years agoThe v850 does not have a ctbp register.
wilson [Fri, 27 Sep 2002 20:25:59 +0000 (20:25 +0000)]
The v850 does not have a ctbp register.
Add myself to write-after-approval section of MAINTAINERS file.
* libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
the ctbp register.

21 years ago2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 27 Sep 2002 20:17:51 +0000 (20:17 +0000)]
2002-09-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
        Also convert to EUCJP before using arrays.  For values not in
        the conversion arrays, return WEOF.
        * libc/ctype/jp2uc.h: Change from one array to a number of
        arrays to account for the fact that the originating table
        is not contiguous for the input values since some are invalid.

21 years ago * generic/gdbtk-hooks.c (gdbtk_add_hooks): Add gdbtk_annotate_signal
kseitz [Fri, 27 Sep 2002 20:07:48 +0000 (20:07 +0000)]
    * generic/gdbtk-hooks.c (gdbtk_add_hooks): Add gdbtk_annotate_signal
        as annotate_signalled_hook.

21 years ago2002-09-27 David Carlton <carlton@math.stanford.edu>
carlton [Fri, 27 Sep 2002 19:33:48 +0000 (19:33 +0000)]
2002-09-27  David Carlton  <carlton@math.stanford.edu>

* Makefile.in (cris-tdep.o): Depend on gdb_string_h.
(mcore-tdep.o): Ditto.
(ns32k-tdep.o): Ditto.
(ns32knbsd-tdep.o): Ditto.
(sh3-rom.o): Ditto.
(vax-tdep.o): Ditto.
* cris-tdep.c: #include "gdb_string.h"
* mcore-tdep.c: Ditto.
* ns32k-tdep.c: Ditto.
* ns32knbsd-tdep.c: Ditto.
* sh3-rom.c: Ditto.
* vax-tdep.c: Ditto.

21 years agobfd/
jakub [Fri, 27 Sep 2002 19:29:14 +0000 (19:29 +0000)]
bfd/
* reloc.c: Add x86-64 TLS relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit
relocs.  Add TLS relocs.
(x86_64_reloc_map): Add TLS relocs.
(elf64_x86_64_info_to_howto): Adjust for added TLS relocs.
(struct elf64_x86_64_link_hash_entry): Add tls_type field.
(GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define.
(elf64_x86_64_hash_entry): Define.
(struct elf64_x86_64_obj_tdata): New.
(elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define.
(struct elf64_x86_64_link_hash_table): Add tls_ld_got.
(link_hash_newfunc): Initialize tls_type.
(elf64_x86_64_link_hash_table_create): Initialize tls_ld_got.
(elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary.
(elf64_x86_64_mkobject): New.
(elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata.
(elf64_x86_64_tls_transition): New.
(elf64_x86_64_check_relocs): Add r_type variable and use it.
Handle TLS relocs.
(elf64_x86_64_gc_sweep_hook): Handle TLS relocs.
(allocate_dynrelocs): Allocate GOT space for TLS relocs.
(elf64_x86_64_size_dynamic_sections): Likewise.
(dtpoff_base, tpoff): New.
(elf64_x86_64_relocate_section): Handle TLS relocs.
(elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT
entries.
(bfd_elf64_mkobject): Define.

* elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set
DF_STATIC_TLS if shared.
gas/
* config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
Define them if not BFD_ASSEMBLER.
(lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
@tlsld.
(md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
(tc_gen_reloc): Handle x86-64 TLS relocs.
include/
* elf/x86-64.h: Add TLS relocs.
ld/testsuite/
* lib/ld-lib.exp (run_ld_link_tests): Add.
* ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff,
file_contents): Remove.
(sh64tests): Add 6th field to the tests array.
* ld-i386/i386.exp (run_ld_link_tests): Remove.
* ld-x86-64/x86-64.exp: New.
* ld-x86-64/tlsbin.dd: New test.
* ld-x86-64/tlsbinpic.s: New test.
* ld-x86-64/tlsbin.rd: New test.
* ld-x86-64/tlsbin.s: New test.
* ld-x86-64/tlsbin.sd: New test.
* ld-x86-64/tlsbin.td: New test.
* ld-x86-64/tlslib.s: New test.
* ld-x86-64/tlspic1.s: New test.
* ld-x86-64/tlspic2.s: New test.
* ld-x86-64/tlspic.dd: New test.
* ld-x86-64/tlspic.rd: New test.
* ld-x86-64/tlspic.sd: New test.
* ld-x86-64/tlspic.td: New test.

21 years ago2002-09-27 David Carlton <carlton@math.stanford.edu>
carlton [Fri, 27 Sep 2002 19:20:51 +0000 (19:20 +0000)]
2002-09-27  David Carlton  <carlton@math.stanford.edu>

* config/djgpp/fnchange.lst: Add entries for
gdb/testsuite/gdb.c++/m-static files.

21 years agoFix bug in support for trap instruction.
wilson [Fri, 27 Sep 2002 18:59:07 +0000 (18:59 +0000)]
Fix bug in support for trap instruction.
* simops (OP_10007E0): Don't subtract 4 from PC.

21 years ago * MAINTAINERS: Add myself to the Write After Approval list.
wilson [Fri, 27 Sep 2002 18:58:04 +0000 (18:58 +0000)]
* MAINTAINERS: Add myself to the Write After Approval list.

21 years agoAdd myself to write-after-approval section with Andrew Cagney's permission.
wilson [Fri, 27 Sep 2002 18:55:44 +0000 (18:55 +0000)]
Add myself to write-after-approval section with Andrew Cagney's permission.

21 years ago2002-07-12 Mo DeJong <supermo@bayarea.net>
cagney [Fri, 27 Sep 2002 18:09:27 +0000 (18:09 +0000)]
2002-07-12  Mo DeJong  <supermo@bayarea.net>
* gdbmi.texinfo (var-evaluate-expression): Note that
var-list-children must be invoked before child variable
values can be evaluated.