Commit Graph

4453 Commits

Author SHA1 Message Date
skrll ee632a37d0 more NULL fallout. 2003-10-21 10:47:48 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
wiz c8a5e4585e Enable HAVE_MKTIME manually; the configure script fails since it
checks a weird corner case.
Should fix building platforms without shared libs.
Requested by Chuck Silvers.
2003-10-20 17:07:38 +00:00
lukem 0aa1a4cb76 revert previous; the items are in tmac.local 2003-10-20 05:26:20 +00:00
lukem 3fc127cd66 Support MAKEVERBOSE
Use ${HOST_SH}
Use BUILDSYMLINKS
2003-10-20 01:15:03 +00:00
lukem 46948f220d * Support MAKEVERBOSE
* Implement GROFFYSRCS, which contain a list of .y files to convert into
  .cpp and _tab.h.  Simplifies .y -> .cpp (et al) .
* Use "realall" target instead of "dependall"/"install" to ensure that
  various files are created correctly.
2003-10-20 00:54:36 +00:00
lukem 9d55f70359 support MAKEVERBOSE 2003-10-20 00:40:53 +00:00
cl b56d9ca137 add {supply,fill}_{fp,g}regset functions
remove nbsd_{fp,}reg_to_internal and nbsd_internal_to_{fp,}reg functions
add lwpid to ptrace calls
2003-10-19 20:11:22 +00:00
jdolecek 47740ad0ef make crc16_table[] static const 2003-10-19 19:30:08 +00:00
lukem d4a55392c2 Support MAKEVERBOSE.
Use BUILDSYMLINKS instead of home-grown equivalents.
2003-10-19 14:52:03 +00:00
wiz 5e43ad3add Add 1.4.1 and 1.6.2. 2003-10-19 08:58:52 +00:00
wiz ec09eb497f New sentence, new line. 2003-10-19 08:54:20 +00:00
wiz 8034863446 Add RCS Id. 2003-10-19 08:54:13 +00:00
lukem e08f429064 Add definitions for NetBSD versions:
1.4.1  1.4.2  1.5.1  1.5.2  1.5.3  1.6.1  1.6.2  2.0
2003-10-19 06:20:20 +00:00
matt 8d6789fc05 Add ncdcs utility (for ibmnws port). Calculates and writes the NCD checksum
used in kernel files.  Only built for ibmnws port.
2003-10-19 03:34:59 +00:00
matt e1c37edb37 Skip build of {postfix,sendmail} if MK{POSTFIX,SENDMAIL} == no, respectively.
(XXX NO_SENDMAIL= must eventually).
2003-10-18 23:46:26 +00:00
matt 8df2ba29a1 Skip build of {binutils,cvs,gcc compilers,gdb} if
MK{BINUTILS,CVS,GCCCMDS,GDB} == no, respectively
2003-10-18 23:44:46 +00:00
matt b746f8a878 Allow UUCP to not be build when MKUUCP=no 2003-10-18 23:42:31 +00:00
mrg 459d14eddf change the version string to 3.3.2-nb1 so that gcc.c likes it. 2003-10-18 14:47:01 +00:00
mrg 8b9e2c6e0a - call this version "3.3.2nb1" (while some of our changes to 3.3.1 were
in 3.3.2, many were not.)
- use our bug reporting address, not GCC's.
2003-10-18 13:15:05 +00:00
mrg 9376f2c5fa merge gcc 3.3.2 2003-10-18 11:54:13 +00:00
mrg eaf2241a0a initial import of GCC 3.3.2. this is a bug-fix release that fixes dozens
of bugs in both MI and many NetBSD MD parts.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.2 for more details.
2003-10-18 11:13:12 +00:00
mrg cd84f3bd94 initial import of GCC 3.3.2. this is a bug-fix release that fixes dozens
of bugs in both MI and many NetBSD MD parts.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.2 for more details.
2003-10-18 11:03:09 +00:00
lukem cdcb0412a1 Disable make_html and make_install_html; they depend upon pnm tools
which may not exist, and we don't need them as a host tool.

Don't attempt to rebuild gnu.eps & gnu.png from gnu.xpm because of
timestamp skew.
2003-10-18 03:01:52 +00:00
nathanw db40e00241 Implement regset routines.
Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
2003-10-18 00:27:13 +00:00
nathanw 614f188f9d nbsd_reg_to_internal() and friends are obsolete. 2003-10-18 00:14:09 +00:00
nathanw 37337ad2db Pass the LWP of the ptid in PT_{GET,SET}REGS calls. 2003-10-18 00:13:35 +00:00
nathanw fef0da346a Revert a local change that nbsd-thread.c now handles. 2003-10-18 00:11:51 +00:00
nathanw 804ad776be Pile of cleanups and improvements, including:
* Use {fill,supply}_{g,fp}regset() routines instead of homegrown
   nbsd_internal_to_reg()/nbsd_reg_to_internal() routines; reduces
   local changes to *-nat files.

 * Use the ptrace(PT_LWPINFO) call to find the set of LWPs in a
   process and map them to threads, and to identify the target of a
   signal event.

 * Consistency sweep on ptid-manipulating macros.

 * More modern GDB integration and removal of redundant functions.
2003-10-18 00:08:14 +00:00
matt 9d4b91ab87 Keep the unsigned, just add HOST_WIDE_INT. 2003-10-16 22:08:01 +00:00
matt 6bcdd1cd1e Cast using HOST_WIDE_INT, not unsigned. 2003-10-16 22:02:25 +00:00
tron 00c8e095d9 Add "cs-tconfig.h" to "CLEANFILES". 2003-10-16 06:15:20 +00:00
lukem 56528942aa "anti-timestamp-skew" fixes for gengtype-yacc.c and gengtype-lex.c 2003-10-16 04:35:17 +00:00
lukem 9da74b23ca Don't auto-frob .y or .l files. 2003-10-16 03:33:28 +00:00
fvdl 9558d5998a Add NetBSD kcore support. 2003-10-14 22:59:59 +00:00
fvdl 22cd769ea5 Set some better defaults for OSABI_UNKNOWN, and add NetBSD kcore support. 2003-10-14 22:58:38 +00:00
wiz a41ff7dabc Sync with groff repo:
-j and objdir builds here should now finally work both.
Based on a patch from Chuck Silvers.
2003-10-14 07:49:24 +00:00
fvdl e67583ab9d NetBSD support for the x86_64 target. 2003-10-14 02:02:17 +00:00
hubertf 83f7cd41fd Prevent funny output when giving a directory name on the command line.
Before:
	$ dc ..
	miyu% dc ..
	dc: 02 unimplemented
	dc: 0 unimplemented
	dc: 0 unimplemented
	dc: input base must be a number between 2 and 16 (inclusive)
	dc: stack empty
	dc: stack empty
	dc: 'h' (0150) unimplemented
	dc: stack empty
	dc: 'u' (0165) unimplemented
	...
	** get heart attack suspecting major FS corruption **

After:
	$ dc ..
	Cannot use directory as input!
2003-10-13 21:52:40 +00:00
skrll fd905830f3 Don't pull in libgcc_pic.a for -shared - it was added as a workaround for
gcc 2.95.3. Removing this fixes EH for gcc 3.3 by using the .eh.section
support in libcrt{begin,end}

Closes PR 22673.
2003-10-13 13:19:41 +00:00
chs 8868d13163 bring over the rest of the IN_SIGTRAMP() hack from the old gdb so that
gdb builds on the sun3.  jason sez "check that in, for now".
2003-10-12 01:05:36 +00:00
enami de00b9ee01 Serialize the build of backend and frontend, since the latter requires
header files created during the former is built.
2003-10-11 05:16:18 +00:00
matt 046e9000ba Make etime_.* and dtime_.* explicitly depend on the libU77 version.
Include *.d so that when make depend emit the dependencies, it picks up
the right file and so that the right file is used when making the objects.
2003-10-10 23:34:20 +00:00
lukem d47cc49cff Add rules to prevent c-parse.c and objc-parse.c from being rebuilt if the
respective .y file has a newer timestamp (usually due to cvs checkout issues);
the code isn't .OBJDIR friendly, and it's unnecessary in our build envrionment.
2003-10-10 15:25:17 +00:00
lukem 83590dd4eb Change method used to disable ``maintainer-mode'' style rules to one
that is more "[cvs] diff" friendly.
Method suggested by Chris Demetriou on source-changes@ on July 25.
2003-10-10 15:14:16 +00:00
matt 1a3bbf394a Override TARGET_DEFAULTS to include MASK_STRICT_ALIGN (for IBM403).
It still includes (MASK_POWERPC | MASK_NEW_MNEMONICS) as well.
Change STACK_BOUNDARY to 128 to make Altivec'ed code easier to deal with.
2003-10-10 01:58:55 +00:00
christos 77b4aabadd Avoid re-entry in the cleanup signal handlers. 2003-10-09 13:43:00 +00:00
matt 926373d2c9 Turn on HAVE_GAS_HIDDEN. 2003-10-07 02:19:18 +00:00
matt 9fbbfac1b2 Pull in ld_vers / ld_date methods from gcc-current. (avoid GNU sed'isms).
This allows configure to correctly determine that gas supports .hidden.
2003-10-07 02:13:49 +00:00
veego 982d95a75b Fix part 3 of toolchain/23067 while adding a depend target to the
dependall and all targets which build libiberty.
Fix from mrg.
2003-10-06 21:40:32 +00:00
veego fd5c6da435 Fix part 1 of toolchain/23067 by removing the -nostdinc++, which will be
added if $DESTDIR is set by the bsd.dep.mk and bsd.prog.mk magic, but caused
problems while not using build.sh.
2003-10-06 21:36:59 +00:00
wiz da70036ee9 Obsoleted by the update to 3.1.3 (moved to missing_d dir). 2003-10-06 18:27:45 +00:00
wiz 2a3e31828e Add gawk2netbsd, a script to prepare gawk distributions for imports. 2003-10-06 16:55:22 +00:00
wiz d6fe0c8983 Update for 3.1.3. 2003-10-06 16:50:39 +00:00
wiz b3a85f1ea5 Actually, we need these files too -- add them. 2003-10-06 16:44:03 +00:00
wiz 1393b6699e Merge 3.1.3 to HEAD. 2003-10-06 16:33:57 +00:00
wiz 06c09073b3 Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:55:26 +00:00
wiz b83f0ec829 Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:43:45 +00:00
wiz 1df948824f Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:41:38 +00:00
matt 39caecb211 Add in-tree toolchain support for HPPA. 2003-10-06 05:10:13 +00:00
martin b82411d0b6 Ooops, added previous note to the wrong ChangeLog 2003-10-03 09:06:14 +00:00
tron cc5dbcf926 Add dynamically generated sources to "CLEANFILES". 2003-10-01 09:39:50 +00:00
wiz 8d0f21a650 Fix regexo in previous. 2003-09-30 20:11:26 +00:00
wiz 084f5623b9 Prepend doc- to have the same names as the groff distribution
(stripped out by strip.sed during installation).
2003-09-30 20:10:14 +00:00
martin feb5c96dad In the thread support functions only transfer those registers, that fit
into our struct fpreg64. This avoids gdb crashing due to smashed stack
when debugging threaded programs.
2003-09-29 17:47:26 +00:00
rearnsha f539610cfa When allocating a common object, ALIGN is in bits, but common expects
bytes.  So divide by BITS_PER_UNIT.  Fixes over-allocation of
common objects and thus reduces the BSS by approx 75%.
2003-09-29 12:40:35 +00:00
martin d1faf5f973 Make gcc default to the medlow code model. 2003-09-27 11:08:41 +00:00
mrg 1b9c8708c3 x86_64 libgcc3 support 2003-09-27 02:08:07 +00:00
skrll 679d775246 Fix for gcc 3.3.1 warning. 2003-09-26 20:02:44 +00:00
christos f0925fbf15 Add -I${DIST} to pull the right readline header. 2003-09-26 20:01:28 +00:00
skrll cb958e7b00 First cut at ARM support. Not tested. 2003-09-26 19:59:14 +00:00
skrll c51a5a7eab .c->.o 2003-09-26 19:49:41 +00:00
skrll 76521c5eab Need to look in ${DIST}/bfd on ARM. 2003-09-26 19:45:48 +00:00
skrll 15b3a0696e Fix merge mistake so that we can compile. 2003-09-26 19:38:38 +00:00
jwise 869320cb24 NetBSD includes many manual pages. It does not, however, include a gpl(7),
a gfdl(7), or (particularly) an fsf-funding(7).

So don't cross-reference them.
2003-09-26 17:59:10 +00:00
christos 4f6b2d371c Switch gdb to use libedit for now. 2003-09-26 17:51:18 +00:00
christos 996d4c90a5 Cast to appease properly prototyped readline headers [ours]. 2003-09-26 17:38:35 +00:00
christos 15d85836fb Make TUI optional. 2003-09-26 17:37:56 +00:00
skrll b9c8a77380 Backout previous - sparc* and i386 have switched to gdb 5.3. 2003-09-26 13:39:49 +00:00
tron d7e742e438 Move inclusion of "Makefile.backend" a bit further up again to fix
build failures.
2003-09-26 06:55:48 +00:00
tron 1c9e757817 Include "Makefile.backend" at the end so that "CLEANFILES" definitions
are not ignored.
2003-09-26 06:53:30 +00:00
matt 3edfe4aa79 NetBSD doesn't use crtsavres.o 2003-09-25 22:08:52 +00:00
christos ab4bd3a7b4 Build with setxid support. 2003-09-25 16:10:52 +00:00
christos bf764b32d9 Add charles's SETXID_SUPPORT patches for setuid() runs. 2003-09-25 16:10:14 +00:00
matt ca2905b022 GDB 5.3 support for Alpha 2003-09-24 06:16:48 +00:00
matt 42dcffbb67 Remove static from a function declaration. 2003-09-24 06:14:29 +00:00
matt d5d2eec8df Fix GCC 3.3.1 nit. 2003-09-24 06:13:53 +00:00
matt 5c0acc44d6 Merge back kcore support. 2003-09-24 02:49:29 +00:00
matt be53bdf66a Regen some powerpc files. Disable sim for now. 2003-09-24 02:36:10 +00:00
uwe f632d9218f #undef WITH_SIM 2003-09-24 00:08:28 +00:00
matt 6d47c4ba87 Fix a char comparision to be more unsigned friendly. 2003-09-23 23:12:25 +00:00
matt be717f0864 Add GDB 5.3 powerpc bits. 2003-09-23 23:11:39 +00:00
cl 9e04ef6840 add m68k--netbsdelf bootstrap support 2003-09-23 20:27:44 +00:00
matt 5cfd7f2268 Fix various GCC3.3.1 nits 2003-09-23 18:53:03 +00:00
matt c9f03a720f Redefine WCHAR/WINT defines since rs6000/svr4.h redefined them wrongly for
NetBSD.
2003-09-23 18:52:15 +00:00
matt e426fdd061 Move #include to the beginning-of-line so -traditional-cpp can find it. 2003-09-23 14:46:05 +00:00
cl 0af731d2e2 enable pthread debugging 2003-09-23 13:32:52 +00:00
cl caadee30ed enable target kcore 2003-09-23 13:10:32 +00:00
matt f47a587ee6 Redo/fix gcc3 files for PowerPC. 2003-09-23 09:06:33 +00:00
matt 5d47b7eb8c Add a .PATH dependency on the target's gcc config directory. 2003-09-23 09:04:40 +00:00