OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago* cygthread.cc (cygthread::terminate_thread): In debugging output, use name of
cgf [Sat, 3 Jun 2006 21:44:01 +0000 (21:44 +0000)]
* cygthread.cc (cygthread::terminate_thread): In debugging output, use name of
thread being terminated rather than thread doing terminating.
* fhandler.h (fhandler_pty_master::slave): Delete.
(fhandler_pty_master::get_unit): Ditto.
(fhandler_pty_master::setup): Change argument declaration to accommodate new
usage.
* fhandler_tty.cc (fhandler_tty_master::init): Remove obsolete slave
assignment.  Pass argument to setup indicating that this is a tty.
(fhandler_tty_slave::open): Use dev() method rather than referencing pc.dev
directly.
(fhandler_pty_master::open): Don't create archetype based on ptym device
number.  Set device number to use DEV_TTYM_MAJOR and tty number.  Pass argument
to setup indicating that this is a pty.
(fhandler_pty_master::setup): Change single argument to a flag indicating
whether we're creating a pty and use appropriately.  Calculate 't' variable
here rather than in caller.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Use dev() method rather than
referencing pc.dev directly.

18 years ago* dcrt0.cc (dll_crt0_0): Call tty_list::init_session here.
cgf [Sat, 3 Jun 2006 20:32:07 +0000 (20:32 +0000)]
* dcrt0.cc (dll_crt0_0): Call tty_list::init_session here.
(dll_crt0_1): Reflect renaming from tty_init to tty::init_session.
(do_exit): Reflect moving of tty_terminate into tty_list.
* exceptions.cc (events_init): Move tty_mutex stuff elsewhere.
* fhandler_console.cc (set_console_title): Use lock_ttys class.
* fhandler_termios.cc (fhandler_termios::bg_check): Make debug output more
accurate.
* fhandler_tty.cc (fhandler_tty_slave::open): Reflect move of attach_tty into
tty_list class.  Don't attempt to grab master end of pty if master doesn't
exist.
(fhandler_pty_master::open): Reflect move of allocate_tty into tty_list class.
Use lock_ttys::release to release mutex.  Improve debugging output.
(fhandler_pty_master::setup): Remove if 0'ed block.  Fix argument to
SetNamedPipeHandleState.
* pinfo.cc (_pinfo::set_ctty): Lock ttys before setting sid/pgid.  Improve
debugging.  Add temporary debugging.
* tty.cc (tty_list::init_session): New function.
(tty::init_session): Rename from tty_init.  Reflect move of attach_tty to
tty_list class.
(tty::create_master): Rename from create_tty_master.
(tty_list::attach): Rename from attach_tty.  Reflect renaming of connect_tty to
connect.  Ditto for allocate_tty.
(tty_terminate): Delete.
(tty_list::terminate): Subsume tty_terminate.  Use lock_ttys rather than
manipulating mutex directly.
(tty_list::allocate): Rename from allocate_tty.  Use lock_ttys rather than
manipulating mutex directly.  Don't set sid here since linux apparently doesn't
do this.  Reflect move of create_tty_master into tty.
(lock_ttys::lock_ttys): Define new constructor.
(lock_ttys::release): New function.
* tty.h (tty::exists): Return false immediately if !master_pid.
(tty::set_master_closed): Define new function.
(tty::create_master): Ditto.
(tty::init_session): Ditto.
(tty_list::mutex): New field.
(tty_list::allocate): Define new function.
(tty_list::connect): Ditto.
(tty_list::attach): Ditto.
(tty_list::init_session): Ditto.
(lock_ttys): New class.
(tty_init): Delete declaration.
(tty_terminate): Ditto.
(attach_tty): Ditto.
(create_tty_master): Ditto.

18 years agoExpand ChangeLog entry
ironhead [Sat, 3 Jun 2006 19:32:21 +0000 (19:32 +0000)]
Expand ChangeLog entry

18 years ago* Makefile.in (libdl.a): New library.
cgf [Sat, 3 Jun 2006 15:48:30 +0000 (15:48 +0000)]
* Makefile.in (libdl.a): New library.

18 years ago * include/strmif.h (VMRDeinterlaceTech): Correct typedef for DeinterlaceTech_*
dannysmith [Sat, 3 Jun 2006 10:37:39 +0000 (10:37 +0000)]
* include/strmif.h (VMRDeinterlaceTech): Correct typedef for DeinterlaceTech_*
enum.

18 years ago * include/strmif.h (enum tagAnalogVideoStandard): Add missing ','.
dannysmith [Sat, 3 Jun 2006 10:08:07 +0000 (10:08 +0000)]
* include/strmif.h (enum tagAnalogVideoStandard): Add missing ','.

18 years ago2006-06-02 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Sat, 3 Jun 2006 07:42:52 +0000 (07:42 +0000)]
2006-06-02  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winuser.h (DM_BITSPERPEL, DM_PELSWIDTH, DM_PELSHEIGHT,
DM_DISPLAYFLAGS, DM_DISPLAYFREQUENCY): Remove.  Duplicates of
wingdi.h defines.

2006-06-02  Dimitri Papadopoulos  <papadopo@users.sourceforge.net>

* include/winuser.h ((SPI_GETMOUSETRAILS,SPI_SETMOUSETRAILS): Remove
duplicate defines.

* include/winnt.h (SUBLANG_ARABIC_SAUDI_ARABIA): Revert accidental removal.
         (SUBLANG_MARATHI_INDIA): Remove duplicate define.

18 years ago* fhandler_tty.cc (fhandler_pty_master::close): Don't close handles if we don't
cgf [Sat, 3 Jun 2006 07:17:52 +0000 (07:17 +0000)]
* fhandler_tty.cc (fhandler_pty_master::close): Don't close handles if we don't
own them.
(fhandler_pty_master::setup): Make sure that original handle is closed when
changing inheritance.
(fhandler_pty_master::fixup_after_fork): Set from_master/to_master to arch
value always.
(fhandler_pty_master::fixup_after_exec): Clear from_master/to_master when
close_on_exec.

18 years ago* cygheap.cc (init_cygheap::close_ctty): Remove obsolete code.
cgf [Sat, 3 Jun 2006 06:35:09 +0000 (06:35 +0000)]
* cygheap.cc (init_cygheap::close_ctty): Remove obsolete code.
* dcrt0.cc (child_info_spawn::handle_spawn): Signal ready after we've run
fixup_after_exec.
* dtable.cc (dtable::fixup_after_exec): Add debugging output.
* fhandler_tty.cc (fhandler_pty_master::doecho): Use class version of
to_master.
(fhandler_tty_common::close): Remove obsolete code.
(fhandler_tty_slave::fixup_after_exec): Don't close, since this is done in
dtable's fixup_after_exec.  (revisit later?)
(fhandler_pty_master::fixup_after_exec): Ditto.

18 years ago(check in missing ChangeLog lines)
cgf [Sat, 3 Jun 2006 03:01:28 +0000 (03:01 +0000)]
(check in missing ChangeLog lines)
* tlsoffsets.h: Regenerate.
* dcrt0.cc (break_here): Define unconditionally for use elsewhere.  Call
DebugBreak, if appropriate.
(initial_env): Rely on break_here() to call DebugBreak.
* exceptions.cc (try_to_debug): Ditto.

18 years ago* cygtls.h (CYGTLS_PADSIZE): Bump up or suffer a regrettable collision with the
cgf [Sat, 3 Jun 2006 02:58:59 +0000 (02:58 +0000)]
* cygtls.h (CYGTLS_PADSIZE): Bump up or suffer a regrettable collision with the
call chain.

18 years ago * emultempl/elf32.em (global_found): Make it a pointer.
amodra [Sat, 3 Jun 2006 02:45:26 +0000 (02:45 +0000)]
* emultempl/elf32.em (global_found): Make it a pointer.
(stat_needed, try_needed): Adjust.
(check_needed): Don't skip non-loaded as-needed entries.  Only
consider entries with both filename and the_bfd non-null.
(after_open): Try loading non-loaded as-needed libs to satisfy
DT_NEEDED libs.

18 years agodaily update
amodra [Sat, 3 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 3 Jun 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agobinutils:
jsm28 [Fri, 2 Jun 2006 23:08:11 +0000 (23:08 +0000)]
binutils:
* doc/Makefile.am (TEXI2DVI): Define.
* doc/Makefile.in: Regenerate.

gas:
* doc/Makefile.am (TEXI2DVI): Define.
* doc/Makefile.in: Regenerate.
* doc/c-arc.texi: Fix typo.

ld:
* Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
* Makefile.in: Regenerate.

18 years ago2006-06-02 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Fri, 2 Jun 2006 18:09:24 +0000 (18:09 +0000)]
2006-06-02  Shaun Jackman  <sjackman@gmail.com>

        * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
        sigismember.

18 years ago* fhandler.cc (fhandler_base::fixup_after_exec): Declare here.
cgf [Fri, 2 Jun 2006 15:41:34 +0000 (15:41 +0000)]
* fhandler.cc (fhandler_base::fixup_after_exec): Declare here.
* fhandler.h (fhandler_base::fixup_after_exec): Make non-inline.
(fhandler_termios::fixup_after_fork): Delete declaration.
(fhandler_termios::fixup_after_exec): Ditto.
(fhandler_tty_common::inuse): Remove.
(fhandler_tty_common::dup): Delete declaration.
(fhandler_tty_common::fixup_after_fork): Ditto.
(fhandler_tty_slave::fixup_after_exec): Declare new function.
(fhandler_pty_master::dwProcessId): New variable.
(fhandler_pty_master::from_master): Ditto.
(fhandler_pty_master::to_master): Ditto.
(fhandler_pty_master::setup): New function.
(fhandler_pty_master::fixup_after_fork): Ditto.
(fhandler_pty_master::fixup_after_exec): Ditto.
* fhandler_termios.cc (fhandler_termios::fixup_after_exec): Delete definition.
(fhandler_termios::fixup_after_fork): Ditto.
* fhandler_tty.cc (fhandler_tty_master::init): Use fhandler_pty_master setup
function rather than obsolete tty::common_init.  Delete obsolete inuse setting.
(fhandler_tty_slave::fhandler_tty_slave): Set inuse to NULL here.
(fhandler_tty_slave::open): Change debugging output for clarity.  Check for
different things when doing a sanity check on the tty.  Reflect the fact that
master_pid now is the cygwin pid rather than the windows pid.  Use "arch"
rather than "archetype" for consistency.
(fhandler_tty_slave::close): Close inuse here.
(fhandler_tty_slave::dup): Remove old if 0'ed code.
(fhandler_pty_master::dup): New function.  Handles pty master archetype.
(fhandler_pty_master::fhandler_pty_master): Zero pty_master specific fields.
(fhandler_pty_master::open): Implement using archetypes, similar to slave.  Use
fhandler_pty_master setup function rather than obsolete tty::common_init.
Don't set inuse.
(fhandler_tty_common::close): Don't deal with inuse.  Delete old if 0'ed code.
(fhandler_pty_master::close): Implement using archetypes.  Close from_master
and to_master.
(fhandler_tty_common::set_close_on_exec): Just set close_on_exec flag here
since everything uses archetypes now.
(fhandler_tty_common::fixup_after_fork): Delete definition.
(fhandler_tty_slave::fixup_after_exec): Define new function.
(fhandler_pty_master::setup): New function, derived from tty::common_init.
(fhandler_pty_master::fixup_after_fork): New function.
(shared_info.h): Reset SHARED_INFO_CB to reflect new tty size.
* tty.cc (tty_list::terminate): Close individual handles from tty_master.
(tty::master_alive): Delete.
(tty::make_pipes): Ditto.
(tty::common_init): Ditto.
* tty.h (tty::from_slave): Delete.
(tty::to_slave): Ditto.
(tty::common_init): Delete declaration.
(tty::make_pipes): Ditto.
(tty::master_pid): Define as pid_t since it is now a cygwin pid.

18 years agomerge from gcc
dj [Fri, 2 Jun 2006 15:37:03 +0000 (15:37 +0000)]
merge from gcc

18 years ago(GDB/MI File Commands): New node split from Program Control.
nickrob [Fri, 2 Jun 2006 10:15:41 +0000 (10:15 +0000)]
(GDB/MI File Commands): New node split from Program Control.

18 years ago*** empty log message ***
nickrob [Fri, 2 Jun 2006 10:14:27 +0000 (10:14 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
nickrob [Fri, 2 Jun 2006 10:12:46 +0000 (10:12 +0000)]
*** empty log message ***

18 years ago * ld-powerpc/tlsexe.r: Update for removal of some section syms.
amodra [Fri, 2 Jun 2006 07:53:29 +0000 (07:53 +0000)]
* ld-powerpc/tlsexe.r: Update for removal of some section syms.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.

18 years agoAdd faq.setup.automated
joshuadfranklin [Fri, 2 Jun 2006 04:36:48 +0000 (04:36 +0000)]
Add faq.setup.automated

18 years agoReplace references to depracated Win32_Winsock macro with __USE_W32_WINSOCK
joshuadfranklin [Fri, 2 Jun 2006 04:35:26 +0000 (04:35 +0000)]
Replace references to depracated Win32_Winsock macro with __USE_W32_WINSOCK

18 years ago(print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED.
nickrob [Fri, 2 Jun 2006 03:43:18 +0000 (03:43 +0000)]
(print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED.

18 years ago*** empty log message ***
nickrob [Fri, 2 Jun 2006 03:42:28 +0000 (03:42 +0000)]
*** empty log message ***

18 years agobfd/
amodra [Fri, 2 Jun 2006 00:31:59 +0000 (00:31 +0000)]
bfd/
PR ld/2723
* elflink.c (bfd_elf_final_link): Don't output section symbols
for special ELF sections.
ld/testsuite/
Update for removal of some section syms.

18 years ago* cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the pre-ptymaster-archetype
cgf [Fri, 2 Jun 2006 00:09:50 +0000 (00:09 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here.  Let the
caller do that.
* dcrt0.cc (child_info_spawn::handle_spawn): Close parent handle here to allow
fixup_after_exec functions to use it.
* cygtls.cc (_cygtls::call2): Avoid calling exit thread if called with
*crt0_1 functions.
* cygtls.h (_cygtls::isinitialized): Check that we actually have a tls before
seeing if it is initialized.
* gendef (_sigfe_maybe): Ditto.
* dcrt0.cc (dll_crt0_1): Remove static, use just one argument.
* dll_init.cc (dllcrt0_info): New structure.
(dll_dllcrt0): Change into a front-end to renamed dll_dllcrt0_1 so that we'll
always be assured of having something like a tls.
(dll_dllcrt0_1): New function, basically renamed from from dll_dllcrt0.
Unconditionally call _my_tls.init_exception_handler now that we are assured of
having a tls.  Change variable name from "linking" to "linked".
* winsup.h (dll_crt0_1): Declare.
(dll_dllcrt0_1): Ditto.

18 years ago*** empty log message ***
gdbadmin [Fri, 2 Jun 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 2 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago(GDB/MI Development and Front Ends): Use sourceware.org for mailing lists.
nickrob [Thu, 1 Jun 2006 23:40:50 +0000 (23:40 +0000)]
(GDB/MI Development and Front Ends): Use sourceware.org for mailing lists.

18 years ago*** empty log message ***
nickrob [Thu, 1 Jun 2006 23:39:23 +0000 (23:39 +0000)]
*** empty log message ***

18 years agomerge from gcc
dj [Thu, 1 Jun 2006 14:57:47 +0000 (14:57 +0000)]
merge from gcc

18 years ago * doc/c-avr.texi: New file.
denisc [Thu, 1 Jun 2006 14:54:25 +0000 (14:54 +0000)]
* doc/c-avr.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-avr.texi
* doc/all.texi: Set AVR
* doc/as.texinfo: Include c-avr.texi

18 years ago * config/obj-ieee.c: Delete.
amodra [Thu, 1 Jun 2006 12:21:04 +0000 (12:21 +0000)]
* config/obj-ieee.c: Delete.
* config/obj-ieee.h: Delete.
* Makefile.am (OBJ_FORMATS): Remove ieee.
(OBJ_FORMAT_CFILES, OBJ_FORMAT_HFILES): Similarly.
(obj-ieee.o): Remove rule.
* Makefile.in: Regenerate.
* configure.in (atof): Remove tahoe.
(OBJ_MAYBE_IEEE): Don't define.
* configure: Regenerate.
* config.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

18 years agoinclude/elf/
hjl [Thu, 1 Jun 2006 05:40:24 +0000 (05:40 +0000)]
include/elf/

2006-05-31  H.J. Lu  <hongjiu.lu@intel.com>

* internal.h (ELF_SECTION_SIZE): New.
(ELF_IS_SECTION_IN_SEGMENT): Likewise.
(ELF_IS_SECTION_IN_SEGMENT_FILE): Updated.
(ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise.

ld/testsuite/

2006-05-31  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/binutils.exp: Make it Linux only.
(strip_test): Renamed to binutils_test. Check for unsupported
options.
Add more tests.

* ld-elf/commonpage1.d: Make it Linux only.
* ld-elf/maxpage1.d: Likewise.

* ld-elf/maxpage1.s: Add main, start and __start.

* ld-elf/maxpage2.d: New file.
* ld-elf/tbss1.s: Likewise.
* ld-elf/tbss2.s: Likewise.
* ld-elf/tdata1.s: Likewise.
* ld-elf/tdata2.s: Likewise.

18 years ago * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags
amodra [Thu, 1 Jun 2006 03:45:57 +0000 (03:45 +0000)]
* stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags
instead of bfd_make_section*.
* aix386-core.c: Likewise.
* aix5ppc-core.c: Likewise.
* aout-adobe.c: Likewise.
* aoutf1.h: Likewise.
* binary.c: Likewise.
* cisco-core.c: Likewise.
* coff-arm.c: Likewise.
* coff-h8300.c: Likewise.
* elf.c: Likewise.
* elf32-bfin.c: Likewise.
* elf32-m32c.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.
* i386linux.c: Likewise.
* ieee.c: Likewise.
* ihex.c: Likewise.
* irix-core.c: Likewise.
* lynx-core.c: Likewise.
* m68klinux.c: Likewise.
* mach-o.c: Likewise.
* netbsd-core.c: Likewise.
* nlmcode.h: Likewise.
* opncls.c: Likewise.
* osf-core.c: Likewise.
* peXXigen.c: Likewise.
* ppcboot.c: Likewise.
* ptrace-core.c: Likewise.
* rs6000-core.c: Likewise.
* sco5-core.c: Likewise.
* sparclinux.c: Likewise.
* srec.c: Likewise.
* sunos.c: Likewise.
* trad-core.c: Likewise.
* xcofflink.c: Likewise.
* xsym.c: Likewise.

18 years agodaily update
amodra [Thu, 1 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 1 Jun 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-05-31 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 31 May 2006 23:15:49 +0000 (23:15 +0000)]
2006-05-31  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c: Comment tweaks.

18 years ago(GDB/MI Development and Front Ends): New Node.
nickrob [Wed, 31 May 2006 21:55:46 +0000 (21:55 +0000)]
(GDB/MI Development and Front Ends): New Node.

18 years ago*** empty log message ***
nickrob [Wed, 31 May 2006 21:54:27 +0000 (21:54 +0000)]
*** empty log message ***

18 years ago * texi2pod.pl: Correct handling of absolute @include.
drow [Wed, 31 May 2006 15:47:48 +0000 (15:47 +0000)]
* texi2pod.pl: Correct handling of absolute @include.

18 years agoConfigury changes: update src repository (binutils, gdb, and rda) to use
drow [Wed, 31 May 2006 15:14:34 +0000 (15:14 +0000)]
Configury changes: update src repository (binutils, gdb, and rda) to use
config/gettext-sister.m4 instead of the old gettext.m4.  Regenerate all
affected autotools files.  Include intl in gdb releases again.

18 years agoExpand wildcards in Dimitri Papadopoulos Changelog entries of:
dannysmith [Wed, 31 May 2006 06:44:59 +0000 (06:44 +0000)]
Expand wildcards in Dimitri Papadopoulos Changelog entries of:
2006-05-11, 2006-05-10, 2006-05-04, 2006-04-28, 2006-04-11,
2006-04-14, 2006-04-07.

18 years ago* cygtls.cc (_cygtls::call2): Don't call ExitThread on the main thread.
cgf [Wed, 31 May 2006 02:14:17 +0000 (02:14 +0000)]
* cygtls.cc (_cygtls::call2): Don't call ExitThread on the main thread.

18 years ago* winsup.api/cygload.h: Increase padding to 32768.
cgf [Wed, 31 May 2006 01:49:02 +0000 (01:49 +0000)]
* winsup.api/cygload.h: Increase padding to 32768.

18 years ago*** empty log message ***
gdbadmin [Wed, 31 May 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 31 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * remote-utils.c (all_symbols_looked_up): New variable.
drow [Tue, 30 May 2006 19:05:33 +0000 (19:05 +0000)]
* remote-utils.c (all_symbols_looked_up): New variable.
(look_up_one_symbol): Check it.
* server.h (look_up_one_symbol): New declaration.
* thread-db.c (thread_db_init): Set all_symbols_looked_up.

18 years ago2006-05-30 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Tue, 30 May 2006 17:40:47 +0000 (17:40 +0000)]
2006-05-30  Shaun Jackman  <sjackman@gmail.com>

      * arm/Makefile.in: Add Linux syscall interface.
      * arm/linux-crt0.S: New file.
      * arm/linux-syscall.h: New file.
      * arm/linux-syscalls0.S: New file.
      * arm/linux-syscalls1.c: New file.

18 years agobfd/
hjl [Tue, 30 May 2006 16:45:31 +0000 (16:45 +0000)]
bfd/

2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>

* bfd.c (bfd_emul_get_maxpagesize): New.
(bfd_elf_set_pagesize): Likewise.
(bfd_emul_set_maxpagesize): Likewise.
(bfd_emul_get_commonpagesize): Likewise.
(bfd_emul_set_commonpagesize): Likewise.
* bfd-in2.h: Regenerated.

* elf-bfd.h (elf_backend_data): Add commonpagesize.
(xvec_get_elf_backend_data): New.
(get_elf_backend_data): Use xvec_get_elf_backend_data.

* elf32-arm.c (elf32_arm_vxworks_bed): Remove const.
* elfxx-target.h (elfNN_bed): Likewise.

* elf32-arm.c (ELF_COMMONPAGESIZE): Defined.
* elf32-mips.c (ELF_COMMONPAGESIZE): Likewise.
* elf32-ppc.c (ELF_COMMONPAGESIZE): Likewise.
* elf32-sh.c (ELF_COMMONPAGESIZE): Likewise.
* elf32-sh64.c (ELF_COMMONPAGESIZE): Likewise.
* elf32-sparc.c (ELF_COMMONPAGESIZE): Likewise.
* elf64-alpha.c (ELF_COMMONPAGESIZE): Likewise.
* elf64-ppc.c (ELF_COMMONPAGESIZE): Likewise.
* elf64-sparc.c (ELF_COMMONPAGESIZE): Likewise.
* elf64-x86-64.c (ELF_COMMONPAGESIZE): Likewise.
* elfn32-mips.c (ELF_COMMONPAGESIZE): Likewise.
* elfxx-ia64.c (ELF_COMMONPAGESIZE): Likewise.

* elfxx-target.h (ELF_COMMONPAGESIZE): Define if not defined.
(elfNN_bed): Initialize commonpagesize with ELF_COMMONPAGESIZE.

* targets.c (bfd_find_target): Support NULL abfd.

ld/

2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>

* emulparams/arcelf.sh (MAXPAGESIZE): Changed to
"CONSTANT (MAXPAGESIZE)".
* emulparams/armelf_nbsd.sh: Likewise.
* emulparams/armelf_vxworks.sh: Likewise.
* emulparams/armnto.sh: Likewise.
* emulparams/armsymbian.sh: Likewise.
* emulparams/crislinux.sh: Likewise.
* emulparams/elf32_i860.sh: Likewise.
* emulparams/elf32_i960.sh: Likewise.
* emulparams/elf32am33lin.sh: Likewise.
* emulparams/elf32bfinfd.sh: Likewise.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emulparams/elf32frvfd.sh: Likewise.
* emulparams/elf32i370.sh: Likewise.
* emulparams/elf32lppcnto.sh: Likewise.
* emulparams/elf32mcore.sh: Likewise.
* emulparams/elf32openrisc.sh: Likewise.
* emulparams/elf32ppcnto.sh: Likewise.
* emulparams/elf32ppcwindiss.sh: Likewise.
* emulparams/elf32vax.sh: Likewise.
* emulparams/elf32xc16x.sh: Likewise.
* emulparams/elf32xc16xl.sh: Likewise.
* emulparams/elf32xc16xs.sh: Likewise.
* emulparams/elf64_aix.sh: Likewise.
* emulparams/elf64hppa.sh: Likewise.
* emulparams/elf64mmix.sh: Likewise.
* emulparams/elf_i386_be.sh: Likewise.
* emulparams/elf_i386_chaos.sh: Likewise.
* emulparams/elf_i386_ldso.sh: Likewise.
* emulparams/hppa64linux.sh: Likewise.
* emulparams/hppalinux.sh: Likewise.
* emulparams/hppaobsd.sh: Likewise.
* emulparams/i386lynx.sh: Likewise.
* emulparams/i386moss.sh: Likewise.
* emulparams/i386nto.sh: Likewise.
* emulparams/i386nw.sh: Likewise.
* emulparams/m32relf_linux.sh: Likewise.
* emulparams/m68kpsos.sh: Likewise.
* emulparams/or32elf.sh: Likewise.
* emulparams/pjelf.sh: Likewise.
* emulparams/pjlelf.sh: Likewise.
* emulparams/ppclynx.sh: Likewise.
* emulparams/ppcnw.sh: Likewise.
* emulparams/shelf32_nbsd.sh : Likewise.
* emulparams/shelf_nbsd.sh: Likewise.
* emulparams/shelf_nto.sh: Likewise.
* emulparams/shlelf_nto.sh: Likewise.
* emulparams/xtensa-config.sh: Likewise.

* emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
"CONSTANT (MAXPAGESIZE)".
(COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
* emulparams/elf32_sparc.sh: Likewise.
* emulparams/elf32bmip.sh: Likewise.
* emulparams/elf32ppccommon.sh: Likewise.
* emulparams/elf64_ia64.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf64_sparc.sh: Likewise.
* emulparams/elf64alpha.sh: Likewise.
* emulparams/elf64ppc.sh: Likewise.
* emulparams/elf_i386.sh: Likewise.
* emulparams/elf_i386_vxworks.sh: Likewise.
* emulparams/elf_s390.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/shlelf32_linux.sh: Likewise.
* emulparams/shlelf_linux.sh: Likewise.

* emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
"CONSTANT (COMMONPAGESIZE)".
* emulparams/elf32btsmipn32.sh: Likewise.

* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
"-z max-page-size=" and "-z common-page-size=".
(gld${EMULATION_NAME}_list_options): Likewise.

* ld.h (ld_config_type): Add maxpagesize and commonpagesize.

* ld.texinfo: Document "-z max-page-size=" and
"-z common-page-size=".

* ldexp.c (exp_print_token): Handle CONSTANT.
(fold_name): Likewise.
* ldgram.y: Likewise.
* ldlex.l: Likewise.

* ldmain.c (main): Initiliaze config.maxpagesize and
config.commonpagesize. Call bfd_emul_set_maxpagesize if
config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
config.commonpagesize config.maxpagesize isn't 0.
ld/testsuite/

2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/binutils.exp: New file.
* ld-elf/commonpage1.d: Likewise.
* ld-elf/maxpage1.d: Likewise.
* ld-elf/maxpage1.s: Likewise.

18 years agoTypo fix.
drow [Tue, 30 May 2006 15:58:47 +0000 (15:58 +0000)]
Typo fix.

18 years agogdb/
drow [Tue, 30 May 2006 15:57:09 +0000 (15:57 +0000)]
gdb/
* Makefile.in (arm-linux-nat.o): Update dependencies.
* arm-linux-nat.c: Include "gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New function.
gdb/gdbserver/
* Makefile.in (linux-arm-low.o): Update dependencies.
* linux-arm-low.c: Include "../gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New function.

18 years agoUpdate Spanish translation
nickc [Tue, 30 May 2006 11:01:57 +0000 (11:01 +0000)]
Update Spanish translation

18 years ago*** empty log message ***
gdbadmin [Tue, 30 May 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Tue, 30 May 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years ago * doc/c-avr.texi: New file.
denisc [Mon, 29 May 2006 17:57:48 +0000 (17:57 +0000)]
* doc/c-avr.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-avr.texi
* doc/all.texi: Set AVR
* doc/as.texinfo: Include c-avr.texi

18 years ago* winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.
cgf [Mon, 29 May 2006 15:51:16 +0000 (15:51 +0000)]
* winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.

18 years ago* sigproc.cc (child_info::proc_retry): Mask all of the bits we're interested
cgf [Mon, 29 May 2006 00:21:58 +0000 (00:21 +0000)]
* sigproc.cc (child_info::proc_retry): Mask all of the bits we're interested
in, which includes bits above and below 0xc0000000.

18 years ago*** empty log message ***
gdbadmin [Mon, 29 May 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 29 May 2006 00:00:12 +0000 (00:00 +0000)]
daily update

18 years agoPut an underscore in front of the "active" in "strace.active".
cgf [Sun, 28 May 2006 21:39:37 +0000 (21:39 +0000)]
Put an underscore in front of the "active" in "strace.active".

18 years agomerge from gcc
dj [Sun, 28 May 2006 17:49:15 +0000 (17:49 +0000)]
merge from gcc

18 years agowhite space
cgf [Sun, 28 May 2006 15:50:13 +0000 (15:50 +0000)]
white space

18 years ago* dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
aoliva [Sun, 28 May 2006 05:56:50 +0000 (05:56 +0000)]
* dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
DWARF2_FRAME_REG_SAVED_VAL_OFFSET and
DWARF2_FRAME_REG_SAVED_VAL_EXP.
* dwarf2-frame.c (execute_cfa_program): Handle val_offset,
val_offset_sf and val_expression.
(dwarf2_frame_prev_register): Handle the new reg rules.
(dwarf2_frame_this_id): Use pc instead of function entry point.

18 years ago* dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
aoliva [Sun, 28 May 2006 05:56:19 +0000 (05:56 +0000)]
* dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
(dwarf2_frame_sniffer): Use it.
(decode_frame_entry_1): Set it according to augmentation "S".

18 years ago * config/bfin-parse.y (check_macfunc): Loose the condition of
jiez [Sun, 28 May 2006 00:53:08 +0000 (00:53 +0000)]
* config/bfin-parse.y (check_macfunc): Loose the condition of
calling check_multiply_halfregs ().

18 years agodaily update
amodra [Sun, 28 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 28 May 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* dll_init.cc (dll_dllcrt0): Previous change didn't work very well with fork.
cgf [Sat, 27 May 2006 22:55:57 +0000 (22:55 +0000)]
* dll_init.cc (dll_dllcrt0): Previous change didn't work very well with fork.
Semi-revert it but change name of variable to something that makes better
sense.

18 years ago* thread.cc (verifyable_object_isvalid): Check for NULL specifically.
cgf [Sat, 27 May 2006 19:00:36 +0000 (19:00 +0000)]
* thread.cc (verifyable_object_isvalid): Check for NULL specifically.

18 years agoadd missing comment
cgf [Sat, 27 May 2006 18:53:36 +0000 (18:53 +0000)]
add missing comment

18 years ago* dll_init.cc (dll_dllcrt0): Call _my_tls.init_exception_handler if we've
cgf [Sat, 27 May 2006 18:50:04 +0000 (18:50 +0000)]
* dll_init.cc (dll_dllcrt0): Call _my_tls.init_exception_handler if we've
finished initializing (Thanks to Gary Zablackis for noticing this problem).
Just use cygwin_finished_initializing rather than defining a separate variable.

18 years ago From Peter Schauer <peterschauer@gmx.net>
brobecke [Sat, 27 May 2006 17:39:28 +0000 (17:39 +0000)]
    From Peter Schauer <peterschauer@gmx.net>
        * m2-typeprint.c (m2_record_fields): Move variable declarations
        to the begining of the block.

18 years agobfd/
amodra [Sat, 27 May 2006 00:47:45 +0000 (00:47 +0000)]
bfd/
* elf.c (assign_file_positions_for_load_sections): Retrieve
maxpagesize from m->p_align if it is valid.  Set p_vaddr,
p_paddr and p_align earlier.  Revert 2006-05-19 change to p_align.
(copy_elf_program_header): Copy p_align.  Set p_align_valid.
include/elf/
* internal.h (elf_segment_map): Add p_align and p_align_valid.

18 years agodaily update
amodra [Sat, 27 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 27 May 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoRemove ">>>>>>> 1.2917".
hjl [Fri, 26 May 2006 17:09:48 +0000 (17:09 +0000)]
Remove ">>>>>>> 1.2917".

18 years ago2006-05-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 26 May 2006 14:01:08 +0000 (14:01 +0000)]
2006-05-26  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (ELF_MINPAGESIZE): Changed to 0x1000.

18 years ago2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 26 May 2006 03:04:09 +0000 (03:04 +0000)]
2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (ELF_MINPAGESIZE): Set to 0x100000.

18 years agobfd/
hjl [Fri, 26 May 2006 02:44:13 +0000 (02:44 +0000)]
bfd/

2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (ELF_MAXPAGESIZE): Updated to 0x200000.

ld/

2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>

* emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.

ld/testsuite/

2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>

* ld-x86-64/tlsbin.dd: Updated for 2MB maximum page size.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlsbin.sd: Likewise.
* ld-x86-64/tlsbin.td: Likewise.
* ld-x86-64/tlsbindesc.dd: Likewise.
* ld-x86-64/tlsbindesc.rd: Likewise.
* ld-x86-64/tlsbindesc.sd: Likewise.
* ld-x86-64/tlsbindesc.td: Likewise.
* ld-x86-64/tlsdesc.dd: Likewise.
* ld-x86-64/tlsdesc.pd: Likewise.
* ld-x86-64/tlsdesc.rd: Likewise.
* ld-x86-64/tlsdesc.sd: Likewise.
* ld-x86-64/tlsdesc.td: Likewise.
* ld-x86-64/tlsgdesc.dd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-x86-64/tlspic.sd: Likewise.
* ld-x86-64/tlspic.td: Likewise.

18 years agodaily update
amodra [Fri, 26 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Fri, 26 May 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * src-release (DEVO_SUPPORT): Add config.rpath.
drow [Thu, 25 May 2006 17:21:33 +0000 (17:21 +0000)]
* src-release (DEVO_SUPPORT): Add config.rpath.

18 years ago * elf.c (sym_is_global): Return a bfd_boolean.
amodra [Thu, 25 May 2006 15:08:28 +0000 (15:08 +0000)]
* elf.c (sym_is_global): Return a bfd_boolean.
(ignore_section_sym): New function.
(elf_map_symbols): Use ignore_section_sym to discard some syms.
(_bfd_elf_symbol_from_bfd_symbol): Ensure section belongs to
bfd before using elf_section_syms.

18 years ago * MAINTAINERS: Update my email address.
amylaar [Thu, 25 May 2006 14:07:20 +0000 (14:07 +0000)]
* MAINTAINERS: Update my email address.

18 years ago2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 25 May 2006 13:59:25 +0000 (13:59 +0000)]
2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>

* config.bfd: (sh-*-linux*): Treat as 64bit target.
(sh*l*-*-netbsdelf*): Likewise.
(sh-*-netbsdelf*): Likewise.
(shl*-*-elf*): Likewise.
(sh[1234]l*-*-elf*): Likewise.
(sh3el*-*-elf*): Likewise.
(shl*-*-kaos*): Likewise.
(sh-*-elf*): Likewise.
(sh[1234]*-elf*): Likewise.
(sh-*-rtems*): Likewise.
(sh-*-kaos*): Likewise.

18 years agoExpand 2006-05-03 Dimitri Papadopoulos wildcards in Changelog
dannysmith [Thu, 25 May 2006 09:19:26 +0000 (09:19 +0000)]
Expand 2006-05-03 Dimitri Papadopoulos wildcards in Changelog

18 years agoExpand 2006-05-02 Dimitri Papadopoulos wildcards in Changelog
dannysmith [Thu, 25 May 2006 09:04:55 +0000 (09:04 +0000)]
Expand 2006-05-02  Dimitri Papadopoulos wildcards in Changelog

18 years agoinclude/opcodes/
rsandifo [Thu, 25 May 2006 08:09:02 +0000 (08:09 +0000)]
include/opcodes/
* m68k.h (mcf_mask): Define.

opcodes/
* m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd
and fmovem entries.  Put register list entries before immediate
mask entries.  Use "l" rather than "L" in the fmovem entries.
* m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it
out from INFO.
(m68k_scan_mask): New function, split out from...
(print_insn_m68k): ...here.  If no architecture has been set,
first try printing an m680x0 instruction, then try a Coldfire one.

gas/testsuite/
* gas/m68k/mcf-fpu.s: Add fmovemd and fmovem instructions.
* gas/m68k/mcf-fpu.d: Adjust accordingly.

18 years ago2006-05-25 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 25 May 2006 08:01:02 +0000 (08:01 +0000)]
2006-05-25  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (bfd, opcodes): Fix lib_path.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Replace ADAC with ADAFLAGS.
(restrap): Move under "@if gcc-bootstrap".  Fix typo.
* Makefile.in: Regenerate.

18 years ago* debug.h (ModifyHandle): Define new macro.
cgf [Thu, 25 May 2006 05:40:50 +0000 (05:40 +0000)]
* debug.h (ModifyHandle): Define new macro.
(modify_handle): Declare new function.
* debug.cc (modify_handle): Define new function.
* fhandler.h (fhandler_base::fork_fixup): Change return value from void to
bool.
* fhandler.cc (fhandler_base::fork_fixup): Return true if fork fixup has been
done.
* pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance of protected
handle via ModifyHandle if DEBUGGING.
(fhandler_pipe::fixup_after_fork): Protect guard handle if fork fixup has been
done.

18 years ago * gas/bfin/vector2.s, gas/bfin/vector2.d: Test to ensure (m) is not
jiez [Thu, 25 May 2006 04:07:53 +0000 (04:07 +0000)]
* gas/bfin/vector2.s, gas/bfin/vector2.d: Test to ensure (m) is not
thrown away.

18 years ago * config/bfin-parse.y (asm_1): Better check and deal with
jiez [Thu, 25 May 2006 04:07:07 +0000 (04:07 +0000)]
* config/bfin-parse.y (asm_1): Better check and deal with
vector and scalar Multiply 16-Bit Operands instructions.

18 years ago* cygtls.cc (_cygtls::call): Call call2 using _my_tls.
cgf [Thu, 25 May 2006 02:33:10 +0000 (02:33 +0000)]
* cygtls.cc (_cygtls::call): Call call2 using _my_tls.
(_cygtls::init_exception_handler): Always replace existing exception handler
with cygwin exception handler.
* cygtls.h (_cygtls::call2): Remove static designation.
* dcrto.cc (dll_crt0_1): Define in a way that allows calling via _cygtls::call.
(_initialize_main_tls): Delete.
(_dll_crt0): Call dll_crt0_1 via cygtls::call.  Set _main_tls here.
* external.cc (cygwin_internal): Implement CW_CYGTLS_PADSIZE.
* include/sys/cygwin.h (CW_CYGTLS_PADSIZE): Define.
* tlsoffsets.h: Regenerate.

18 years agobfd/
hjl [Thu, 25 May 2006 01:03:08 +0000 (01:03 +0000)]
bfd/

2006-05-24  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1485
* config.bfd: Set want64 to true if 64bit bfd is used.
(sh-*-linux*): Use targ64_selvecs for 64bit targets.
(sh*l*-*-netbsdelf*): Likewise.
(sh-*-netbsdelf*): Likewise.
(shl*-*-elf*): Likewise.
(sh[1234]l*-*-elf*): Likewise.
(sh3el*-*-elf*): Likewise.
(shl*-*-kaos*): Likewise.
(sh-*-elf*): Likewise.
(sh[1234]*-elf*): Likewise.
(sh-*-rtems*): Likewise.
(sh-*-kaos*): Likewise.

ld/

2006-05-24  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1485
* configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
bfd.  Support 64bit host for --enable-targets=all.
* configure: Regenerated.

18 years ago*** empty log message ***
gdbadmin [Thu, 25 May 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 25 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago2006-05-24 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 24 May 2006 17:10:01 +0000 (17:10 +0000)]
2006-05-24  Paul Brook  <paul@codesourcery.com>

bfd/
* elf-bfd.h (elf_backend_data): Add elf_backend_output_arch_local_syms
* elf32-arm.c (output_arch_syminfo): Define.
(elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map,
elf32_arm_output_arch_local_syms): New functions.
(elf_backend_output_arch_local_syms): Define.
* elflink.c (bfd_elf_final_link): Call
elf_backend_output_arch_local_syms.
* elfxx-target.h (elf_backend_output_arch_local_syms): Provide default
definition.
(elfNN_bed): Add elf_backend_output_arch_local_syms.
ld/testsuite/
* ld-arm/arm-app-abs32.d: Update expected output.
* ld-arm/arm-app.d: Ditto.
* ld-arm/arm-lib-plt32.d: Ditto.
* ld-arm/arm-lib.d: Ditto.
* ld-arm/mixed-app-v5.d: Ditto.
* ld-arm/mixed-app.d: Ditto.
* ld-arm/mixed-lib.d: Ditto.