OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
jjohnstn [Sun, 6 Mar 2005 20:32:14 +0000 (20:32 +0000)]
2005-03-06  Ralf Corsepious  <ralf.corsepius@rtems.org>

        * libc/include/machine/_types.h: New file.
        * libc/include/sys/types.h: Do not check for __rtems__
        when including <machine/_types.h>.  Remove some redundant
        declarations now that <machine/_types.h> is included.
        * libc/sys/rtems/machine/_types.h: Removed.  Replaced with
        shared header file.

19 years ago* sync.h (sync::init_lock): Declare new static member.
cgf [Sun, 6 Mar 2005 20:21:30 +0000 (20:21 +0000)]
* sync.h (sync::init_lock): Declare new static member.
(sync::init()): Declare new static function.
* sync.cc (sync::init): Define.
(sync::init): Lock attempt to initialize a muto to stop multiple threads from
colliding.
* dcrt0.cc (dll_crt0_0): Initialize muto environment.

19 years ago* path.cc (special_name): Reorganize to always detect the use of special names
cgf [Sun, 6 Mar 2005 20:15:05 +0000 (20:15 +0000)]
* path.cc (special_name): Reorganize to always detect the use of special names
first, before detecting special characters.

19 years agomerge from gcc
dj [Sun, 6 Mar 2005 18:48:16 +0000 (18:48 +0000)]
merge from gcc

19 years ago* cygpath.cc (usage): Pass in one more copy of program_name to printf to avoid
cgf [Sun, 6 Mar 2005 18:00:02 +0000 (18:00 +0000)]
* cygpath.cc (usage): Pass in one more copy of program_name to printf to avoid
a SEGV.

19 years agoCorrect email address in last commit.
drow [Sun, 6 Mar 2005 16:43:20 +0000 (16:43 +0000)]
Correct email address in last commit.

19 years ago * linux-nat.c (child_follow_fork): Call target_terminal_ours before
drow [Sun, 6 Mar 2005 16:42:17 +0000 (16:42 +0000)]
* linux-nat.c (child_follow_fork): Call target_terminal_ours before
printing output.  Use fprintf_unfiltered.  Only print output when
debugging.

19 years ago* pathnames.sgml: Clarify binmode/textmode behavior slightly.
cgf [Sun, 6 Mar 2005 02:46:54 +0000 (02:46 +0000)]
* pathnames.sgml: Clarify binmode/textmode behavior slightly.
* textbinary.sgml: Ditto.

19 years ago * elf.c (elfcore_grok_win32pstatus): Warning fixes.
amodra [Sun, 6 Mar 2005 02:02:12 +0000 (02:02 +0000)]
* elf.c (elfcore_grok_win32pstatus): Warning fixes.

19 years ago*** empty log message ***
gdbadmin [Sun, 6 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 5 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* sparc64-tdep.c (sparc64_store_floating_fields): Constify third
kettenis [Sat, 5 Mar 2005 20:58:12 +0000 (20:58 +0000)]
* sparc64-tdep.c (sparc64_store_floating_fields): Constify third
argument.
(sparc64_store_arguments): Constify.

19 years ago* alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
kettenis [Sat, 5 Mar 2005 14:36:10 +0000 (14:36 +0000)]
* alphabsd-nat.c: Update copyright year.  Include "inf-ptrace.h".
(alphabsd_fetch_inferior_registers): Rename from
fetch_inferior_registers.  Make static.
(alphabsd_store_inferior_registers): Rename from
store_inferior_registers.  Make static.
(_initialize_alphabsd_nat): New function.
* Makefile.in (alphabsd-nat.o): Update dependencies.
* config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o, fbsd-nat.o and gcore.o.
* config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
(NATDEPFILES): Remove infptrace.o and inftarg.o.  Add
alphabsd-nat.o.
* config/alpha/nm-fbsd.h: Update copyright year.  Don't include
"config/nm-bsd.h" and "elf/common.h".
* config/alpha/nm-nbsd.h: Update copyright year.  Don't include
"config/nm-nbsd.h".

19 years ago* gdb.cp/ovldbreak.exp: Adjust regular expression for recent
kettenis [Sat, 5 Mar 2005 13:31:24 +0000 (13:31 +0000)]
* gdb.cp/ovldbreak.exp: Adjust regular expression for recent
changes.

19 years agoRegenerate .pot files
amodra [Sat, 5 Mar 2005 12:14:22 +0000 (12:14 +0000)]
Regenerate .pot files

19 years ago * ld-alpha/tlsbin.dd: Update to suit changed section layout and
amodra [Sat, 5 Mar 2005 12:03:13 +0000 (12:03 +0000)]
* ld-alpha/tlsbin.dd: Update to suit changed section layout and
removed section symbols.
* ld-alpha/tlsbin.rd: Likewise.
* ld-alpha/tlsbin.sd: Likewise.
* ld-alpha/tlsbinr.dd: Likewise.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.dd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-alpha/tlspic.sd: Likewise.

19 years ago * ld-powerpc/tlsexe.g: Update.
amodra [Sat, 5 Mar 2005 11:56:45 +0000 (11:56 +0000)]
* ld-powerpc/tlsexe.g: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.g: Update.
* ld-powerpc/tlsexetoc.r: Update.

19 years ago * elf64-ppc.c (update_plt_info): Don't mark new ABI call syms
amodra [Sat, 5 Mar 2005 11:44:09 +0000 (11:44 +0000)]
* elf64-ppc.c (update_plt_info): Don't mark new ABI call syms
with is_func.
(func_desc_adjust): Force dot-syms local in executables as well
as shared libs.

19 years agoFix botched checkin.
kettenis [Sat, 5 Mar 2005 10:47:49 +0000 (10:47 +0000)]
Fix botched checkin.

19 years ago* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
kettenis [Sat, 5 Mar 2005 10:46:59 +0000 (10:46 +0000)]
* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
software_single_step.

19 years ago* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
kettenis [Sat, 5 Mar 2005 10:10:11 +0000 (10:10 +0000)]
* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
software_single_step.

* acconfig.h: Remove #undef.

19 years ago2005-03-04 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 5 Mar 2005 02:01:40 +0000 (02:01 +0000)]
2005-03-04  Michael Snyder  <msnyder@redhat.com>

* mn10300-prologue.c: New file.  Prologue analysis.
* mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
(mn10300_frame_unwind_cache): Don't call trad_frame_set_id
until after analyze_prologue, and don't call trad_frame_set_base
at all (let analyze_prologue do it).

19 years ago2005-03-04 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 5 Mar 2005 02:01:29 +0000 (02:01 +0000)]
2005-03-04  Michael Snyder  <msnyder@redhat.com>

* mn10300-prologue.c: New file.  Prologue analysis.
* mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
(mn10300_frame_unwind_cache): Don't call trad_frame_set_id
until after analyze_prologue, and don't call trad_frame_set_base
at all (let analyze_prologue do it).

19 years ago2005-03-04 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 5 Mar 2005 01:57:14 +0000 (01:57 +0000)]
2005-03-04  Michael Snyder  <msnyder@redhat.com>

* trad-frame.c (trad_frame_set_reg_value): New function.
* trad-frame.h (trad_frame_set_reg_value): Export.

19 years ago bfd/ChangeLog
ths [Sat, 5 Mar 2005 00:01:27 +0000 (00:01 +0000)]
bfd/ChangeLog
* elfxx-mips.c (mips_elf_calculate_relocation): Handle special
'__gnu_local_gp' symbol used by gas -mno-shared.

gas/ChangeLog
* config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
instead of '_gp' for -mno-shared optimization.
(s_cpload): Ditto.
(s_abicalls): Document it in the comment.
(md_show_usage): Document the -mno-shared option.

gas/testsuite/ChangeLog
* gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp'
for -mno-shared optimization.
* gas/mips/elf-rel25a.d: Ditto.

ld/testsuite/ChangeLog
* ld-mips-elf/multi-got-no-shared-1.s,
ld-mips-elf/multi-got-no-shared-2.s,
ld-mips-elf/multi-got-no-shared.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

19 years ago*** empty log message ***
gdbadmin [Sat, 5 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Fri, 4 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly.
drow [Fri, 4 Mar 2005 18:16:25 +0000 (18:16 +0000)]
* Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly.

19 years ago* fhandler_clipboard.cc: Use int for cygnativeformat rather than UINT as that
cgf [Fri, 4 Mar 2005 18:04:08 +0000 (18:04 +0000)]
* fhandler_clipboard.cc: Use int for cygnativeformat rather than UINT as that
is what is returned by GetPriorityClipboardFormat.
(fhandler_dev_clipboard::read): Ditto for the format variable.

19 years ago * Makefile.in (remote.o): Update dependencies.
drow [Fri, 4 Mar 2005 17:52:44 +0000 (17:52 +0000)]
* Makefile.in (remote.o): Update dependencies.
* remote.c: Include "observer.h".

19 years ago * target.c (target_read_memory_partial): Always initialize
drow [Fri, 4 Mar 2005 17:47:53 +0000 (17:47 +0000)]
* target.c (target_read_memory_partial): Always initialize
ERR.
(target_write_memory_partial): Likewise.

19 years ago2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
pgilliam [Fri, 4 Mar 2005 17:35:46 +0000 (17:35 +0000)]
2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>

        * lib/compiler.c: Add test for IBM's xlc compiler.
        * lib/compiler.cc: Likewise.

19 years agoFix unexpected failrues for arm toolchains
nickc [Fri, 4 Mar 2005 15:28:34 +0000 (15:28 +0000)]
Fix unexpected failrues for arm toolchains

19 years ago * fhandler.cc (fhandler_base::open_9x): Satisfy query_open values.
corinna [Fri, 4 Mar 2005 13:54:55 +0000 (13:54 +0000)]
* fhandler.cc (fhandler_base::open_9x): Satisfy query_open values.

19 years ago * config/tc-mips.c (mips_set_options): Add sym32 field.
rsandifo [Fri, 4 Mar 2005 09:51:04 +0000 (09:51 +0000)]
* config/tc-mips.c (mips_set_options): Add sym32 field.
(mips_opts): Initialize it.
(HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
(HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
(HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
(load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
when deciding whether to use a symbolic %highest/%higher expansion.
(macro): Likewise.  Remove o64/n32 linux hack.  Always use
ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
and "la".  Handle constants separately from symbolic expressions in
the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
and using load_register to load the high part of the address.
(OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
(OPTION_ELF_BASE): Bump by 2.
(md_longopts): Add entries for -msym32 and -mno-sym32.
(md_parse_option): Handle them.
(usage): Document them.
(s_mipsset): Handle ".set sym32" and ".set nosym32".
(s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
* doc/c-mips.texi: Document ".set sym32", ".set nosym32",
-msym32 and -mno-sym32.

19 years ago * fhandler_socket.cc (fhandler_socket::ioctl): Only cancel
corinna [Fri, 4 Mar 2005 08:36:41 +0000 (08:36 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Only cancel
WSAAsyncSelect when async mode is on.

19 years ago*** empty log message ***
gdbadmin [Fri, 4 Mar 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Thu, 3 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * cygwin.din (utmpxname): Export.
corinna [Thu, 3 Mar 2005 22:08:10 +0000 (22:08 +0000)]
* cygwin.din (utmpxname): Export.
* syscalls.cc (utmpxname): Create export alias to utmpname.
* include/utmpx.h: Define ut_name and ut_xtime if not already defined.
(utmpxname): Add prototype.
* include/sys/utmp.h: Only define ut_name if not already defined.
* include/cygwin/version.h: Bump API minor version.

19 years ago2005-03-03 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 3 Mar 2005 20:52:30 +0000 (20:52 +0000)]
2005-03-03  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_backend_data): Add "const char *" to
elf_backend_section_from_phdr.

* elf.c (bfd_section_from_phdr): Pass "proc" to the
elf_backend_section_from_phdr hook.

19 years ago * lib/crc32.h, lib/crc32.c: New files.
kevinb [Thu, 3 Mar 2005 19:57:11 +0000 (19:57 +0000)]
* lib/crc32.h, lib/crc32.c: New files.
* lib/Makefile.am (librda_la_SOURCES): Add crc32.c to list.
* lib/Makefile.in: Regenerate.
* lib/gdbserv-state.c (crc32.h): Include.
(read_memory, do_qCRC_packet): New functions.
(gdbserv_data_packet): Add support for qCRC packet.

19 years ago * config/tc-mips.c (load_address): Implement GP optimization
ths [Thu, 3 Mar 2005 19:53:16 +0000 (19:53 +0000)]
    * config/tc-mips.c (load_address): Implement GP optimization
        for 64bit address space non-PIC. Fix formatting.
        (macro): Likewise. Simplify code.
        (md_parse_option): Don't bail out if -G 0 is set for PIC code.
        (mips_after_parse_args): Simplify code.

19 years ago(and.s): Expect this test to fail for the tic4x-coff target because it uses
nickc [Thu, 3 Mar 2005 17:25:35 +0000 (17:25 +0000)]
(and.s): Expect this test to fail for the tic4x-coff target because it uses
the '&' character as a line separator.

19 years agoRemove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif.
nickc [Thu, 3 Mar 2005 17:22:10 +0000 (17:22 +0000)]
Remove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif.

19 years ago* gas/sh/basic.exp: Add an sh-hms version of the pcrel test.
nickc [Thu, 3 Mar 2005 16:59:14 +0000 (16:59 +0000)]
* gas/sh/basic.exp: Add an sh-hms version of the pcrel test.
* gas/sh/pcrel-hms.d: New file.  Adjusted form of pcrel-coff.d for the sh-hms
  target.
* gas/sh/arch/arch.exp: Expect the same failures for sh-hms port as for the
  sh-coff port.

19 years ago * inferiors.c (change_inferior_id, add_thread, find_inferior_id):
drow [Thu, 3 Mar 2005 16:56:53 +0000 (16:56 +0000)]
* inferiors.c (change_inferior_id, add_thread, find_inferior_id):
Take unsigned long arguments for PIDs.
* linux-low.c (add_process, linux_attach_lwp, linux_attach)
(linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop)
(wait_for_sigstop, linux_resume_one_process)
(regsets_fetch_inferior_registers, linux_send_signal)
(linux_read_auxv): Likewise.  Update the types of variables holding
PIDs.  Update format string specifiers.
* linux-low.h (struct process_info, linux_attach_lwp): Likewise.
* remote-utils.c (prepare_resume_reply): Likewise.
* server.c (cont_thread, general_thread, step_thread)
(thread_from_wait, old_thread_from_wait, signal_pid): Change type to
unsigned long.
(handle_query): Update format specifiers.
(handle_v_cont, main): Use strtoul for thread IDs.
* server.h (struct inferior_list_entry): Use unsigned long for ID.
(add_thread, find_inferior_id, change_inferior_id, cont_thread)
(general_thread, step_thread, thread_from_wait)
(old_thread_from_wait): Update.
* target.h (struct thread_resume): Use unsigned long for THREAD.
(struct target_ops): Use unsigned long for arguments to attach and
thread_alive.

19 years ago * remote.c (remote_open_1): Call observer_notify_inferior_created.
drow [Thu, 3 Mar 2005 16:53:57 +0000 (16:53 +0000)]
* remote.c (remote_open_1): Call observer_notify_inferior_created.

19 years ago* cygthread.cc (cygthread::detach): Use a slightly higher priority when waiting
cgf [Thu, 3 Mar 2005 16:53:48 +0000 (16:53 +0000)]
* cygthread.cc (cygthread::detach): Use a slightly higher priority when waiting
for thread signalling.

19 years agoAdd Pierre's security text.
joshuadfranklin [Thu, 3 Mar 2005 16:36:08 +0000 (16:36 +0000)]
Add Pierre's security text.

19 years ago2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
ramana [Thu, 3 Mar 2005 15:42:05 +0000 (15:42 +0000)]
2005-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>

* opcodes/arc-dis.c:Add enum a4_decoding_class.
  (dsmOneArcInst): Use the enum values for the decoding class
  Remove redundant case in the switch for decodingClass value 11

19 years ago * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
drow [Thu, 3 Mar 2005 15:14:01 +0000 (15:14 +0000)]
* arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
(arm_stub_unwind, arm_stub_unwind_sniffer): New.
(arm_gdbarch_init): Add arm_stub_unwind_sniffer.

19 years agoAlso expect the msp430 port to fail the strings test because it defines
nickc [Thu, 3 Mar 2005 15:13:38 +0000 (15:13 +0000)]
Also expect the msp430 port to fail the strings test because it defines
ONLY_STANDARD_ESCAPES.

19 years agorestore comment
cgf [Thu, 3 Mar 2005 15:12:50 +0000 (15:12 +0000)]
restore comment

19 years ago * gas/mips/mips.exp: Move tls tests to main $elf block.
rsandifo [Thu, 3 Mar 2005 15:01:48 +0000 (15:01 +0000)]
* gas/mips/mips.exp: Move tls tests to main $elf block.

19 years ago* gas/arm/arch6zk.s: Add three nop instructions in order to pad the .text
nickc [Thu, 3 Mar 2005 14:41:34 +0000 (14:41 +0000)]
* gas/arm/arch6zk.s: Add three nop instructions in order to pad the .text
   section out to a 32-byte boundary as will automatically be done by the
   arm-aout target.
* gas/arm/arch6zk.d: Add expected nop disassemblies.

19 years ago(tc_gen_reloc): Handle the case where the reloc is the difference of two
nickc [Thu, 3 Mar 2005 13:49:56 +0000 (13:49 +0000)]
(tc_gen_reloc): Handle the case where the reloc is the difference of two
symbols defined in the same section.

19 years ago(line_comment_chars): Include the # character as otherwise this breaks
nickc [Thu, 3 Mar 2005 13:03:44 +0000 (13:03 +0000)]
(line_comment_chars): Include the # character as otherwise this breaks
#APP/#NO_APP processing.

19 years agoRemove listing lines that are no longer emitted and fix up expected binary
nickc [Thu, 3 Mar 2005 12:35:17 +0000 (12:35 +0000)]
Remove listing lines that are no longer emitted and fix up expected binary
encoding.

19 years ago2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
ramana [Thu, 3 Mar 2005 12:13:16 +0000 (12:13 +0000)]
2005-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>

* gas/arc/extensions.s: Add tests for extcoreregister
* gas/arc/extensions.d: Likewise.
* gas/arc/warn.s: Warnings for readonly core registers
accessed .
* gas/arc/warn.d:Likewise.
* testsuite/gas/arc/arc.exp:Run extensions testcase.

19 years agoupdate copyright dates
amodra [Thu, 3 Mar 2005 12:05:12 +0000 (12:05 +0000)]
update copyright dates

19 years agoupdate copyright dates
amodra [Thu, 3 Mar 2005 11:58:00 +0000 (11:58 +0000)]
update copyright dates

19 years agoupdate copyright dates
amodra [Thu, 3 Mar 2005 11:51:55 +0000 (11:51 +0000)]
update copyright dates

19 years agoupdate copyright dates
amodra [Thu, 3 Mar 2005 11:49:47 +0000 (11:49 +0000)]
update copyright dates

19 years agoupdate copyright dates
amodra [Thu, 3 Mar 2005 11:47:45 +0000 (11:47 +0000)]
update copyright dates

19 years agoupdate copyright dates
amodra [Thu, 3 Mar 2005 11:46:12 +0000 (11:46 +0000)]
update copyright dates

19 years agoupdate copyright dates
amodra [Thu, 3 Mar 2005 11:40:55 +0000 (11:40 +0000)]
update copyright dates

19 years ago * gas/mips/noat-1.d: Add -mips1 to assembler options.
rsandifo [Thu, 3 Mar 2005 10:32:09 +0000 (10:32 +0000)]
* gas/mips/noat-1.d: Add -mips1 to assembler options.

19 years ago2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
ramana [Thu, 3 Mar 2005 05:31:40 +0000 (05:31 +0000)]
2005-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>

* gas/arc/ld.s:Add checks for short immediates with ld
* gas/arc/ld.d:Likewise.

19 years ago2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
ramana [Thu, 3 Mar 2005 05:30:10 +0000 (05:30 +0000)]
2005-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>

        * config/tc-arc.c(md_assemble): Remove dead code for handling
        immediate indexing with ld and st.

19 years ago2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
ramana [Thu, 3 Mar 2005 05:30:01 +0000 (05:30 +0000)]
2005-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>

        * config/tc-arc.c(md_assemble): Remove dead code for handling
        immediate indexing with ld and st.

19 years agoupdate copyright dates
amodra [Thu, 3 Mar 2005 01:29:52 +0000 (01:29 +0000)]
update copyright dates

19 years agoformatting, tack emacs control vars at end
amodra [Thu, 3 Mar 2005 01:27:10 +0000 (01:27 +0000)]
formatting, tack emacs control vars at end

19 years agofix changelog garbling
cgf [Thu, 3 Mar 2005 01:06:30 +0000 (01:06 +0000)]
fix changelog garbling

19 years ago* autoload.cc (std_dll_init): Save and restore fpu control register around
cgf [Thu, 3 Mar 2005 00:49:51 +0000 (00:49 +0000)]
* autoload.cc (std_dll_init): Save and restore fpu control register around
LoadAddress to prevent loaded dlls (like msvcrt.dll) from setting unwanted
stuff.

19 years ago* cygtls.cc (_cygtls::remove): Don't attempt any removal activities if exitsock
cgf [Thu, 3 Mar 2005 00:36:49 +0000 (00:36 +0000)]
* cygtls.cc (_cygtls::remove): Don't attempt any removal activities if exitsock
is zero.

19 years ago* cygtls.cc (_cygtls::init_thread): Move exitsock setting later. It should
cgf [Thu, 3 Mar 2005 00:32:57 +0000 (00:32 +0000)]
* cygtls.cc (_cygtls::init_thread): Move exitsock setting later.  It should
always be set.
(_cygtls::remove): Detect zero exitsock.  Not quite sure why this is needed.

19 years ago*** empty log message ***
gdbadmin [Thu, 3 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 2 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
drow [Wed, 2 Mar 2005 21:23:32 +0000 (21:23 +0000)]
* config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
%dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel.
(parse_relocation): Check for a word break after a relocation
operator.
(md_apply_fix3): Handle TLS relocations, and mark thread-local
symbols.

19 years ago * elfxx-mips.c (struct mips_got_entry): Add tls_type.
drow [Wed, 2 Mar 2005 21:23:18 +0000 (21:23 +0000)]
* elfxx-mips.c (struct mips_got_entry): Add tls_type.
(struct mips_got_info): Add tls_gotno, tls_assigned_gotno,
and tls_ldm_offset.
(struct mips_elf_got_per_bfd_arg): Add global_count.
(struct mips_elf_count_tls_arg): New.
(struct mips_elf_hash_sort_data): Update comment for min_got_dynindx.
(struct mips_elf_link_hash_entry): Add tls_type and tls_got_offset.
(GOT_NORMAL, GOT_TLS_GD, GOT_TLS_LDM, GOT_TLS_IE)
(GOT_TLS_OFFSET_DONE, GOT_TLS_DONE): Define.
(TLS_RELOC_P): Define.
(TP_OFFSET, DTP_OFFSET): Define.
(dtprel_base, tprel_base): New functions.
(mips_elf_link_hash_newfunc): Initialize tls_type.
(mips_elf_got_entry_hash, mips_elf_got_entry_eq)
(mips_elf_multi_got_entry_hash, mips_elf_multi_got_entry_eq): Handle
TLS entries.
(mips_tls_got_relocs, mips_elf_count_local_tls_relocs)
(mips_elf_count_global_tls_entries, mips_elf_count_global_tls_relocs)
(mips_elf_output_dynamic_relocation, mips_elf_initialize_tls_slots)
(mips_tls_got_index): New functions.
(mips_elf_local_got_index): Add new R_SYMNDX, H, and R_TYPE
arguments.  Pass them to mips_elf_create_local_got_entry.  Use
mips_tls_got_index.
(mips_elf_global_got_index): Add new R_TYPE and INFO arguments.
Handle TLS entries.
(mips_elf_got_page, mips_elf_got16_entry): Update calls to
mips_elf_create_local_got_entry.
(mips_elf_create_local_got_entry): Add new R_SYMNDX, H, and R_TYPE
arguments.  Handle TLS entries.
(mips_elf_sort_hash_table_f): Add non-TLS assertions.
(mips_elf_record_local_got_symbol): Add new TLS_FLAG argument.  Handle
TLS entries.
(mips_elf_record_global_got_symbol): Likewise.
(mips_elf_make_got_per_bfd): Initialize new mips_got_info members.
Count TLS entries.
(mips_elf_merge_gots): Handle TLS entries when merging.
(mips_elf_initialize_tls_index): New function.
(mips_elf_set_global_got_offset): Handle TLS entries.
(mips_elf_adjust_gp): Handle TLS.
(mips_elf_multi_got): Remove redundant call to
mips_elf_resolve_final_got_entries.  Initialize global_count.
Correct a comment.  Initialize new TLS members of mips_got_info.
Assign TLS GOT indexes for new GOTs.
(mips_elf_create_got_section): Initialize new TLS members of
mips_got_info.
(mips_elf_calculate_relocation): Handle TLS relocs.
(_bfd_mips_elf_check_relocs): Likewise.  Update calls to changed
functions.
(_bfd_mips_elf_always_size_sections): Handle TLS.
(_bfd_mips_elf_size_dynamic_sections): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise.  Update calls to
changed functions.
(_bfd_mips_elf_copy_indirect_symbol): Copy tls_type.
(_bfd_mips_elf_hide_symbol): Handle TLS.
* elfn32-mips.c (elf_mips_howto_table_rel, elf_mips_howto_table_rela)
(mips_reloc_map): Add TLS relocs.
* elf32-mips.c (elf_mips_howto_table_rel, mips_reloc_map): Likewise.
* elf64-mips.c (mips_elf64_howto_table_rel)
(mips_elf64_howto_table_rela, mips_reloc_map): Likewise.
* reloc.c: Define new MIPS TLS relocations.
* libbfd.h, bfd-in2.h: Regenerated.

19 years ago * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld,
drow [Wed, 2 Mar 2005 21:22:56 +0000 (21:22 +0000)]
* ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld,
ld-mips-elf/tlslib-o32.got, ld-mips-elf/tlslib-o32.d,
ld-mips-elf/tlslib-o32.s, ld-mips-elf/mips-lib.ld,
ld-mips-elf/tlsbin-o32.got, ld-mips-elf/tlsdyn-o32.d,
ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlsbin-o32.d,
ld-mips-elf/tlsdyn-o32.s, ld-mips-elf/tls-multi-got-1.got,
ld-mips-elf/tls-multi-got-1-1.s, ld-mips-elf/tls-multi-got-1.d,
ld-mips-elf/tls-multi-got-1.r, ld-mips-elf/tls-multi-got-1-2.s,
ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib.ver,
ld-mips-elf/tlslib-o32-hidden.got, ld-mips-elf/tlslib-hidden.ver,
ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-3.got,
ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.s,
ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-1.got,
ld-mips-elf/tlsdyn-o32-2.got: New files.
* ld-mips-elf/mips-elf.exp: Run the new tests.

19 years ago * gas/mips/tls-o32.d, gas/mips/tls-o32.s, gas/mips/tls-ill.l,
drow [Wed, 2 Mar 2005 21:22:46 +0000 (21:22 +0000)]
* gas/mips/tls-o32.d, gas/mips/tls-o32.s, gas/mips/tls-ill.l,
gas/mips/tls-ill.s: New files.
* gas/mips/mips.exp: Run TLS tests.

19 years ago * mips.h: Define MIPS TLS relocations.
drow [Wed, 2 Mar 2005 21:21:50 +0000 (21:21 +0000)]
* mips.h: Define MIPS TLS relocations.

19 years ago* autoload.cc (LoadDLLprime): Mask error code to low-order 16 bits.
cgf [Wed, 2 Mar 2005 16:13:20 +0000 (16:13 +0000)]
* autoload.cc (LoadDLLprime): Mask error code to low-order 16 bits.
(noload): Preserve sign when returning error code.

19 years ago* spawn.cc (do_cleanup): Properly restore SIGINT/SIGQUIT even if they had
cgf [Wed, 2 Mar 2005 15:32:29 +0000 (15:32 +0000)]
* spawn.cc (do_cleanup): Properly restore SIGINT/SIGQUIT even if they had
previously been SIG_DFL.

19 years ago * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
drow [Wed, 2 Mar 2005 15:07:49 +0000 (15:07 +0000)]
* linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
Use LWP IDs.

19 years ago * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
drow [Wed, 2 Mar 2005 15:07:39 +0000 (15:07 +0000)]
* linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
Use LWP IDs.

19 years ago * gas/ppc/astest.d: Adjust for relocs reduced to section sym.
amodra [Wed, 2 Mar 2005 13:25:00 +0000 (13:25 +0000)]
* gas/ppc/astest.d: Adjust for relocs reduced to section sym.
* gas/ppc/astest2.d: Likewise.
* gas/ppc/astest2_64.d: Likewise.
* ppc/astest64.d: Likewise.
* ppc/booke.d: Likewise.
* ppc/power4.d: Likewise.
* ppc/test1elf32.d: Likewise.
* ppc/test1elf64.d: Likewise.

19 years ago * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
amodra [Wed, 2 Mar 2005 13:23:56 +0000 (13:23 +0000)]
* config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.

19 years agobfd/
jbeulich [Wed, 2 Mar 2005 09:03:45 +0000 (09:03 +0000)]
bfd/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* Makefile.am: Add dependency of cache.o on libiberty.h.
* cache.c: Include libiberty.h.
(bfd_open_file): Use unlink_if_ordinary instead of unlink.

binutils/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
* objcopy.c (copy_file): Likewise.
(strip_main): Likewise.

gas/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* as.c (main): Use unlink_if_ordinary instead of unlink.
* messages.c (as_fatal): Likewise.

ld/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
* pe-dll.c (pe_dll_generate_implib): Likewise.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): Replace
corinna [Wed, 2 Mar 2005 08:28:46 +0000 (08:28 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): Replace
GetSystemTime/SystemTimeToFileTime with GetSystemTimeAsFileTime.
* times.cc (time_as_timestruc_t): Ditto.
(time): Ditto.

19 years agogas/
jbeulich [Wed, 2 Mar 2005 08:01:19 +0000 (08:01 +0000)]
gas/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
accesses.
(parse_register): Allow cr8...15 in all modes.

gas/testsuite/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* gas/i386/cr-err.[ls]: New.
* gas/i386/crx.[ds]: New.
* gas/i386/i386.exp: Run new tests.

opcodes/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (print_insn): Suppress lock prefix printing for cr8...15
accesses.
(OP_C): Consider lock prefix in non-64-bit modes.

19 years agogas/
jbeulich [Wed, 2 Mar 2005 07:54:54 +0000 (07:54 +0000)]
gas/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
etc. like normal symbol references (T_ID).

gas/testsuite/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.d: Add -r to objdump options. Adjust expectations.
* gas/i386/intelok.s: Add checks for various special memory operands.

19 years ago * elf.c (bfd_section_from_shdr <default case>): Call
zack [Wed, 2 Mar 2005 04:47:19 +0000 (04:47 +0000)]
* elf.c (bfd_section_from_shdr <default case>): Call
elf_backend_section_from_shdr hook unconditionally, and return
what it returns.
(bfd_section_from_phdr): Similarly, for elf_backend_section_from_phdr.
* elfxx-target.h (elf_backend_section_from_shdr)
(elf_backend_section_from_phdr): Default to
_bfd_elf_make_section_from_shdr and _bfd_elf_make_section_from_phdr
respectively.

19 years ago * symbols.c (fb_label_name): Fix silly thinko in last change.
amodra [Wed, 2 Mar 2005 00:11:29 +0000 (00:11 +0000)]
* symbols.c (fb_label_name): Fix silly thinko in last change.

19 years ago*** empty log message ***
gdbadmin [Wed, 2 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 1 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
amodra [Tue, 1 Mar 2005 22:35:20 +0000 (22:35 +0000)]
* expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
* config/tc-m68k.h (TARGET_WORD_SIZE): Delete.

19 years agoPR libgcj/20160
aoliva [Tue, 1 Mar 2005 22:33:54 +0000 (22:33 +0000)]
PR libgcj/20160
* ltmain.sh: Avoid creating archives with components that have
duplicate basenames.

19 years ago * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
amodra [Tue, 1 Mar 2005 22:24:12 +0000 (22:24 +0000)]
* symbols.c (fb_label_name): Allow an augend of 2 for mmix.
also fix last changelog entry.