Commit Graph

4466 Commits

Author SHA1 Message Date
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
matt 65f3d076cb Regenerated powerpc--netbsd files. 2003-09-23 07:31:54 +00:00
cl 4f2222cf82 make gdb53 work on m68k
- fix elf core register access
- add elf abi detection
2003-09-23 01:52:41 +00:00
cl b60a501123 remove double initialize_corelow 2003-09-23 01:11:48 +00:00
cl b8a8531844 get sys/signal.h included before machine/frame.h includes m68k/signal.h 2003-09-22 21:42:46 +00:00
atatat 32984bfff2 Don't install libsm. Instead, pull a couple of things over into
libmilter.
2003-09-22 12:54:46 +00:00
uwe 3a95f86179 Add missing #include "sh-tdep.h" for *_REGNUM defines.
This is what other foonbsd-nat.c files do.
2003-09-21 21:28:40 +00:00
uwe df0d1f49b1 sh3el support for gdb-5.3. Bootstrapped on hpcsh. 2003-09-21 21:14:49 +00:00
christos 5deb330b87 add kcore init function. 2003-09-20 06:22:31 +00:00
mrg f4fc0bf370 make i386 & sparc* output DBX_DEBUG format ("-gstabs") by default for now.
XXX: back this out when these platforms switch to GDB 5.3.
2003-09-19 08:43:12 +00:00
mrg f9975d193b add a HAVE_GDB53 switch. defaults to no one yet. 2003-09-18 23:17:55 +00:00
tron 71261af8cc Bump version number after parse8.359.2.8 patch has been applied. 2003-09-17 20:23:00 +00:00
itojun 4d7e624b6d fix prescan() bug (potentially remotely exploitable), CAN-2003-0694 2003-09-17 14:16:22 +00:00
martin 5da3a222b2 Add thread support (XXX - not realy functional yet) 2003-09-15 18:53:43 +00:00
martin 0559625ad0 Thread support for sparc (thanks to Ian L. Taylor for hints). 2003-09-15 18:05:24 +00:00
christos 11c91fb018 Add casts so that we can compile with both the readline headers and ours.
Of course we cannot link using our libedit yet.
2003-09-14 22:16:48 +00:00
fvdl 283f565a54 Add missing libiberty glue for x86_64 previously missed. 2003-09-14 18:41:56 +00:00
martin d911902f25 init.c changes from i386 and add coresponding *.o files. 2003-09-14 10:15:47 +00:00
martin f991b22fae init.c changes from i386 and add the coresponding *.o files. 2003-09-14 10:14:20 +00:00
martin 6e85ed96e0 Disable lint. 2003-09-14 09:50:15 +00:00
martin bf5058e6c1 Backout previos (no comment on this code).
XXX - someone should fix our libedit for the few hooks needed by gdb5.3
and we should get rid of this.
2003-09-14 08:54:40 +00:00
cl 7820cb5d26 remove xm.h 2003-09-13 20:02:29 +00:00
cl b4f47506dc Add m68k support. 2003-09-13 19:45:15 +00:00
cl 38663d008f make it compile 2003-09-13 19:37:20 +00:00
martin b3c755cb9c Bring in two lines from readline-4.3. Not all chars are signed. 2003-09-12 22:36:38 +00:00
martin d6526e7e34 Add support for sparc. 2003-09-12 20:27:53 +00:00
fvdl e794494dd2 Fix the alignment code generated for the 64bit case.
This fix was fed back to the FSF and appears in later binutils versions.
2003-09-12 19:51:19 +00:00
simonb a76e5579f8 Add mipseb and mipsel gdb53 support files. 2003-09-12 06:42:29 +00:00
simonb 19f997418f Match "mips*-*-netbsd*" instead of just "mips-*-openbsd*" on NetBSD
to pick up the right core file definition for both endiannesses.
2003-09-11 04:55:03 +00:00
simonb 1779f6eb88 Get rid of the nbsde{b,l} targets and just use gdb_target=nbsd for
mips.
2003-09-10 22:39:24 +00:00
martin 29f773f184 Add ChangeLog entry (from gcc-current) for recent sparc change. 2003-09-10 21:08:28 +00:00
wiz 36916a02d6 Fix problem with multiple issuers in references in a file, noted
by YAMAMOTO Takashi.  Patch from Werner Lemberg (will be in next
groff).
2003-09-10 13:57:46 +00:00
martin f1870485d5 Avoid outputing illegal assembler code for shifts by constants out of
bounds. Gcc bugzilla ticket 11965; update previous patch to the final
version accepted by the gcc people.
2003-09-09 21:26:20 +00:00
wiz 05686e9c80 While we provide gettimeofday, it's only needed by texindex if
mkstemp is not found.  The configure test for gettimeofday is thus
only run in that case, which explains why HAVE_GETTIMEOFDAY was
not defined by default in the resulting config.h.  Since we don't
need gettimeofday, don't define HAVE_GETTIMEOFDAY manually to
simplify updates to this file.

Add RCS Id.
2003-09-09 12:55:10 +00:00
wiz 25b876c602 Remove hyphen-flags override; was only here for the
switchover phase, default is better.
2003-09-08 18:07:30 +00:00
wiz 51f064e734 Remove St -isoC9X aliases. 2003-09-08 17:55:22 +00:00
wiz 8a4bc21866 Remove St -xns5.2d2.0 -- unused now (inet(3) was only user). 2003-09-08 17:22:18 +00:00
wiz 38f443bb93 Remove local ENABLE_NLS patches which were added for smaller executable
size -- however, these binaries won't end up on bot floppies, so it's
not necessary, and less diffs to the original are better.
Ok'd by itojun.
2003-09-08 13:33:00 +00:00
fvdl e8c1bb7ea8 Remove file generated by older version of mknative-gcc. 2003-09-08 00:26:59 +00:00
fvdl 297da77bcf Skip gcc and gdb for x86_64-*-netbsd* 2003-09-07 22:15:53 +00:00
fvdl 0135fe160a x86_64 gcc3 and binutils glue. Not yet used. 2003-09-07 21:24:53 +00:00
christos 290a9a3926 we are going to have sa_sigaction, when we get siginfo. 2003-09-06 09:43:34 +00:00
christos 65d230c880 Fix core handling, from Stephen Degler. 2003-09-06 09:41:52 +00:00
mrg 71889b67f5 make sure we build the unwind handlers with "-fexception". they were
supposed to, but the wrong variable was used as a base...

should fix PR#22673.
2003-09-05 09:54:30 +00:00
mrg 70ab3cd1bf make "sh64--netbsdelf" use 32 bit by default. per advice from thorpej. 2003-09-04 08:04:18 +00:00
mrg 57b205e71d in-tree toolchain support for sh5el. not really tested yet, but it
seems to mostly work..  libcurses.so fails to link with an out of memory
error i haven't looked at yet, and nothing has actually been run..

XXX: gdb53 missing.
2003-09-04 04:34:14 +00:00
mrg cd7d35dbec install a "cccp" man page for now. 2003-09-04 04:19:08 +00:00
mrg 02fdaf3a7a backout rev 1.16 (wrong tree), and 1.17 and 1.18 trying to fix 1.16... 2003-09-04 04:17:01 +00:00
drochner 38b8690553 make the cpp.1 thing really work 2003-09-03 14:21:51 +00:00
drochner ba1560352b make the cpp.1 thing work 2003-09-02 20:01:59 +00:00
mrg 1e69032f26 forgot these with:
introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-09-02 06:36:22 +00:00
mrg 6e28e939f1 don't install iostream.info anymore - it goes away with GCC3. 2003-09-02 05:26:43 +00:00
mrg 6ba749b625 install a "cccp" man page for now. 2003-09-02 05:23:06 +00:00
wiz 866f598bcb Fix a parallel-build problem reported by Chuck Silver with
the patch from the groff repository created by Werner Lemberg.
2003-09-01 17:15:34 +00:00
matt 9de4f868de Regenerated. 2003-08-31 19:45:25 +00:00
tls be39aeba77 Fix .include to reflect move of this Makefile. 2003-08-29 03:54:46 +00:00
mrg 277fd0e642 build libfrtbegin 2003-08-29 01:57:04 +00:00
mrg 58aefb674b oops, move this to the right location 2003-08-29 01:00:49 +00:00
mrg f4b7364d5d build libfrtbegin.a with GCC3.3 2003-08-29 00:53:22 +00:00
mrg 1a086c6b25 introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00
mrg 33eed2cc61 regenerate 2003-08-25 06:09:11 +00:00
martin c3181b5741 Shifts with >= 32 bit used to generate illegal code for 64bit targets,
fix by using for example "sllx" instead of "sll" in this cases.
Submitted to the gcc maintainers as attachment to [Bug c/11965] in their
bugzilla.
2003-08-23 10:19:02 +00:00
mrg bde3717628 regenerate. 2003-08-22 16:01:12 +00:00
mrg 74cfa6bb4b regenerate 2003-08-22 09:46:57 +00:00
kim b7ab4147f6 Document the canonicalize_envelope_recipient variable. 2003-08-22 04:43:21 +00:00
kim e75f2ec987 The functional part of the var_canon_env_rcpt patch had been
inadvertently left out during an update.
2003-08-22 04:25:26 +00:00
uwe 96538bcf9e * add ${GCCARCH} to .PATH to make hconfig.h a real file target.
* use ${G_HCONFIG_H} instead of hconfig.h as a dependency.
* hconfig.h: auto-build.h dependency is bogus, remove.
* misc cleanup of ".c depends on .h" -> ".o depends on .h"
* options.h was missing from CLEANFILES.

With these changes running make in this directory doesn't do a
*complete* rebuild anymore.  Still not foolproof, because gen* host
tools do not overwrite generated files that are not changed, so we
really need to use stamp file style dependencies for those, like gcc
makefile does.

Ok by Matthew Green <mrg@netbsd>.
2003-08-22 03:06:32 +00:00
mrg 87e3390b36 build with GCC3 - string literals can't use literal new lines. 2003-08-22 02:59:50 +00:00
mrg ee74cc4c6b find ppc-asm.h via "rs6000/ppc-asm.h". 2003-08-22 02:46:17 +00:00
mrg 023ae3cdb4 regenerate 2003-08-22 02:45:22 +00:00
mrg a827e79b49 patch from <sdegler@degler.net> to add /usr/include/g++/backward to the
default C++ include path so that one can find old headers without any
special help.  (using them still generates warnings though.)
2003-08-22 02:41:15 +00:00
mrg 22660a6384 add a patch from <sdegler@degler.net> to build .asm files by copying them
to .S files first.
2003-08-22 02:39:56 +00:00
itojun 379deb2b1a use %llu for unsigned long long printing; PR bin/22552 2003-08-20 13:58:08 +00:00
uwe acd641f87d Add -I${BACKENDOBJ} to HOST_CPPFLAGS so that `fini' host program can
find auto-build.h.

Fixes PR/22497.
Ok by mrg@.
2003-08-19 01:13:25 +00:00
christos eb60ee7b60 Do not install the libraries (from Stephen Degler) 2003-08-18 22:49:16 +00:00
christos dfb81d79ab undo previous accidental commit. 2003-08-18 16:46:55 +00:00
martin 17e3c1d4f1 Add sparc64 support.
XXX - lint does not yet work - it undefines __GNUC__ and this breaks bfd.h.
2003-08-18 00:28:11 +00:00
martin 0fffc3d101 Move bfd.h to arch dependend directory - the generated bfd.h differs
slightly between 64bit and 32bit archs.
2003-08-18 00:25:23 +00:00
martin 8f6cdf024b Remove accidently commited (generated) files that "make distclean" fails
to remove.
2003-08-17 23:51:12 +00:00
christos f399648bb7 forgot to add this one too. 2003-08-17 23:00:20 +00:00
christos a550ab6960 forgot to commit this. 2003-08-17 22:54:56 +00:00
martin f4d6f4dfb8 Rumors say there are archs where int != long. 2003-08-17 22:17:03 +00:00
christos 83a51582a8 try to commit again 2003-08-17 18:03:25 +00:00
christos 2e12e80a85 avoid PARAMS redefinition. 2003-08-16 21:57:20 +00:00
christos 1cfd40eacc remove generated files. 2003-08-16 21:56:36 +00:00
christos f068e22a9f fix lint errors. 2003-08-16 21:56:23 +00:00
christos 03a450b1a6 update for multiple dir build. 2003-08-16 21:53:58 +00:00
christos baa8a63141 Remove unused lines. 2003-08-16 16:03:05 +00:00
matt b7cc9ef509 Correctly decode the switchframe *and the two callframes above it* which
contain the real information.
2003-08-15 16:58:15 +00:00
hannken d64c1acb07 Register `fill' was renamed to `lr'.
See sys/arch/powerpc/include/frame, rev 1.16.
2003-08-15 10:36:49 +00:00
christos df57fab11f Adjust to 5.3 2003-08-14 18:20:47 +00:00
christos f412635e2b Move MI stuff into the Makefile 2003-08-14 18:18:05 +00:00
christos 52548ed6ed Adjust to 5.3... 2003-08-14 18:10:09 +00:00
christos f2fb83f010 x86 gdb-5.3 support. 2003-08-14 17:40:54 +00:00
christos 744531991e a couple more additions. 2003-08-14 16:54:54 +00:00
christos 6dc8ebe23c Add auto-gen'ed files. 2003-08-14 16:50:53 +00:00
christos 7b11b526b4 Fix a compiler warning. 2003-08-14 16:49:37 +00:00
christos b71227cf2b - merge changes from gdb-5.0 2003-08-14 14:22:27 +00:00
christos 88a26652e1 Undo previous change and introduce ugly makefile hack. 2003-08-14 14:17:01 +00:00
christos 2fd435b3f0 - fix IS_THREAD
- fix typo ptid_equals
2003-08-14 01:12:26 +00:00
christos 230eaa023f gdb has signals.c too; rename the file. 2003-08-14 01:08:23 +00:00
christos 3b342f088b avoid gcc-3 warning. 2003-08-14 01:07:59 +00:00
christos 5aa0e076c6 do mechanical pid to ptid conversion. it now compiles. 2003-08-14 00:24:10 +00:00
christos fcb15df895 ansify 2003-08-13 23:38:50 +00:00
christos 34fb5d34da initial checking of the 5.0 version. 2003-08-13 23:30:34 +00:00
christos 8229ffad82 Re-add dead files. 2003-08-11 20:58:34 +00:00
christos b36d5146cd Import gdb-5.3 2003-08-11 20:31:36 +00:00
christos 4084bd69eb Import gdb-5.3 2003-08-11 20:21:35 +00:00
mrg b66a12790c - delete generated-for-i386--netbsdelf auto-build.h
- generate an auto-build.h at build time the same way ./configure does
- add dozens of missing dependancies
2003-08-11 07:34:03 +00:00
uwe 5b9717919b In sh.h, ASM_OUTPUT_LABELREF - const'itfy lname.
Pull the fix for RETURN_ADDR_RTX from gcc-current:
sh-protos.h - 1.45; sh.h - 1.217 (partial); sh.c - 1.230 (partial).

Pertinent parts of the gcc changelog follows.

prologue / epilogue / warning patches:

2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
    Con Bradley <con.bradley@superh.com>

* sh-protos.h (sh_get_pr_initial_val): Declare.
[...]
* sh.h [...]
(RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
2003-08-11 00:45:34 +00:00
mrg 62340ef2af document -isystem-cxx. 2003-08-10 01:57:50 +00:00
mrg 7fb34d4e7b merge gcc3.3.1 2003-08-09 12:59:00 +00:00
mrg 032a2c7f24 add dependancies "make depend" needs to know about. fixes PR#22389 2003-08-09 12:04:55 +00:00
mrg adab0762e5 initial import of (final) GCC 3.3.1 sources 2003-08-09 11:11:09 +00:00
tron 21a040eb6c Provide a default for "TOOL_M4" so that a manual "make" in
"/usr/share/sendmail/cf" still works.
2003-08-06 17:09:26 +00:00
mrg 3b9c25da9b install cpp.1 and now that g++.1 is just ".so man1/gcc.1", instead link
g++.1 (and c++.1) to gcc.1 in our install tree.
2003-08-04 06:58:19 +00:00
mrg 2fe59400d5 bump the major on these 2003-08-04 01:53:51 +00:00
uwe cb445c2c44 #define NO_PROFILE_COUNTERS as we don't need them. Otherwise both the
code to emit profile counters and the FUNCTION_PROFILER macro in this
file emit/define the same label.  For gcc 2.95.3 it used to work
because FUNCTION_PROFILER used local numeric labels instead of using
LABELNO, so it caused no conflict.

This makes -pg code compilable.
2003-08-04 00:52:43 +00:00
lukem 64b5a0fe7b Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of
SYMLINKS to install symlinked header files.  INCSYMLINKS are installed with
'make includes'.  This avoids using SYMLINKS and hacks with the 'linkinstall'
target in <bsd.links.mk>, as linksinstall occurs in 'make install' and hacks
to get it to occur in 'make includes' weren't robust, as seen in lib/libdes.

Yet more improvements to bsd.README.
2003-08-03 09:23:14 +00:00
matt 4e5cf29ef5 Add new files for gcc3 from native-gcc build. (alpha distribution builds
now successfully build).
2003-08-02 18:47:40 +00:00
christos 14ba79e309 Make this compile with gcc-3 2003-08-01 21:28:14 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
mrg 95cc5b8954 regenerate 2003-08-01 13:56:59 +00:00
mrg 391773a711 - fix several build problems
- regenerate for most platforms.  missing:
	m68000, alpha, sh3eb.
2003-08-01 13:55:36 +00:00
mrg 774d0597a5 new (old) -isystem-cxx flag to set a C++ system include directory.
* c-opts.c: Document -isystem-cxx.
* cppinit.c (new_pending_directive): Add -isystem-cxx entry.
* gcc.h. (DEFAULT_WORD_SWITCH_TAKES_ARG): add -isystem.


XXX: possibly can use $CPLUS_INCLUDE_DIR.
2003-08-01 13:37:28 +00:00
lukem d913007a1a Explicitly add dependencies for foo.cpp from foo.y.
Ensures that foo.d is correctly built from foo.cpp and not foo.y->foo.c.
2003-08-01 10:36:42 +00:00
lha a6393a1286 libkrb depends on libdes (add)
libkrb5 depends on libcrypto (move from comon part)
2003-07-31 10:02:22 +00:00
matt 5166de08fb back out inadvertant commit (however, -D_PTHREADS needs to be supplied
somewhere so that gthr-posix.h is included).
2003-07-30 21:21:46 +00:00
matt e379d89a35 Remove the alpha specific -mieee flag 2003-07-30 21:20:33 +00:00
matt 774cd5317a Remove the alpha specific -mieee 2003-07-30 21:19:35 +00:00
matt 53808daf5c Regenerate gcc3 configuration for alpha 2003-07-30 06:22:54 +00:00
mrg 2c5b77b2d3 - find gthr-default.h for libgcc3
- adapt for gcc3/libiberty change
- regenerate
2003-07-30 05:33:25 +00:00
uwe bd362fbfba Adapt to bsd.dep.mk changes. 2003-07-29 23:31:46 +00:00
mrg 4c2873d8a0 define DEFAULT_TARGET_VERSION and DEFAULT_TARGET_MACHINE again. 2003-07-29 07:26:23 +00:00
mrg 952f507549 pull across a patch from .../toolchain/gcc/gcc.c that removes a whole
bunch of unrequired (and problem-causing) paths from various lists.

set (new) TOOLDIR_BASE_PREFIX and STANDARD_BINDIR_PREFIX defines in the
#ifdef NETBSD_NATIVE case as well as several other *_PREFIX defines.
2003-07-29 07:20:21 +00:00
mrg 9f1ca98b0a regenerate with --enable-threads 2003-07-29 06:49:53 +00:00
uwe 7c38c5c675 Adapt to bsd.dep.mk changes. 2003-07-29 00:13:21 +00:00
lukem eb51573bd7 Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
2003-07-28 15:25:02 +00:00
lukem a9eaf614a5 replace MKCXXSUPCXX=yes with USE_LIBSTDCXX=no 2003-07-28 08:54:39 +00:00
lukem d706431f82 change from CXX_SUPCXX=1 to MKCXXSUPCXX=yes 2003-07-28 07:04:17 +00:00
mrg b7a9236e8e set GNUHOSTDIST 2003-07-28 02:53:24 +00:00
mrg 975645453d *correctly* regenerate with correct non-hardcoded paths 2003-07-28 02:39:34 +00:00
mrg 30c88832e7 regenerate with correct non-hardcoded paths 2003-07-28 01:31:15 +00:00
mrg 3335e363cf turn back on profiling - thanks luke 2003-07-28 01:10:51 +00:00
mrg 30e5f75620 rework an expression to avoid 32 bit overflow 2003-07-27 15:16:54 +00:00
mrg 127fd99434 avoid redefining a symbol differently 2003-07-27 15:13:39 +00:00
mrg 57dc195231 build-tested support for m68000, m68k, sh3el and sh3eb.
XXX: sun2 seems to be currently generally busted but most of the world
     builds.  of course it is untested..
XXX: sh3* and -pg goes BOOM with gcc3.3... it generates code that uses
     the same labels twice... need to set NOPROFILE for now.
2003-07-27 14:41:32 +00:00
mrg 5a8170433a actually build libstdc++-v3 now.
XXX NOPROFILE has been set as for some very very very strange reason i
don't understand yet this is causing the compiler to barf...
2003-07-27 14:38:57 +00:00
mrg 0d07d92566 regenerate 2003-07-27 14:34:43 +00:00
mrg a2a84f63a0 regen 2003-07-27 14:17:02 +00:00
mrg 354caa5839 add working alpha support - including working cross builds from x86 2003-07-27 05:10:47 +00:00
mrg 6a0101cabe #if 0 an assert that is always false. XXX not really always... 2003-07-27 05:03:51 +00:00
mrg 5e6550b28e working mips support (mipsel runs fine, mipseb compiles, untested so far) 2003-07-26 18:41:26 +00:00
dsl f2eecf77ab Define and use xasprintf() so that memory allocate errors are reported. 2003-07-26 16:06:44 +00:00
mrg 9654542bdb working gcc3 support 2003-07-26 15:23:19 +00:00
mrg 18fe568bf8 set CXX_SUPCXX if we're using gcc3 2003-07-26 15:03:27 +00:00
mrg 2aad222f64 need a host rule for dummy-conditions.c 2003-07-26 15:02:52 +00:00
mrg 5a9a1bb768 - build/install a libsupc++.a
- clean up commented & wrong rules
- find the right bits/ headers for sparc64 & arm
- make sure libsupc++/libstdc++ have all the symbols from libiberty they want
- disable the build of libstdc++ for now (but keep the includes installing)
2003-07-26 14:55:12 +00:00
mrg 9a2ca8e117 working arm & sparc64 support 2003-07-26 14:48:06 +00:00
dsl d1fbc02d92 This should fix the recent cvs breakage - PR bin/22276
Use asprintf() instead of malloc(), sprintf() pairs.
Now that CVSADM_xxx is getCVSdir("xxx"), sizeof CVSADM_xxx isn't quite right!
(Who knows why gcc doesn't error 'sizeof function()' though?)
Note this compiles, but isn't tested (yet).
2003-07-26 14:36:18 +00:00
lukem d028397570 Disable rules that attempt to update parse.c from parse.y.
Implemented using a method recommended by Chris Demetriou on source-changes.
2003-07-26 12:02:21 +00:00
christos 0f6cc2d0c8 Document -D 2003-07-25 20:39:25 +00:00
christos e6a5f61128 Add -D dir option to be able to specify where cvs stores its bookkeeping files
(default to CVS as usual).
2003-07-25 20:37:31 +00:00
mrg 82dc526688 make sure tconfig.h exists before .depend 2003-07-25 19:20:07 +00:00
mrg 2b1bcb2757 oops, don't need this one here. 2003-07-25 18:58:44 +00:00
mrg e70774a5af oops, we need the generated-manpages target still. 2003-07-25 18:38:18 +00:00
mrg 5e7d44a059 comment some more rules that update read-only source trees 2003-07-25 18:33:19 +00:00
mrg 80b751809f - comment the rules to rebuild .info files into $srcdir.
- don't try to link the (not yet built!) target libiberty.a for host programs(!)
2003-07-25 18:06:03 +00:00
mrg 20c6cdf6dc make `cpp -gcc' the default on NetBSD. 2003-07-25 17:57:41 +00:00
mrg bad540d079 clean up and fix a couple of build-from-cleandir problems 2003-07-25 17:19:22 +00:00
mrg ae9855d2fe maybe build gcc3 instead of gcc2 2003-07-25 16:57:06 +00:00
mrg a9fc136dbd new reach-over infrastructure (largely based on GCC2.95 one) that (mostly)
works.  sparc & i386 support is included here.  libstdc++-v3 does not yet
properly build for some strange reasons (that may be due to broken netbsd
header files, it's not yet clear) but i have been able to compile, link and
run both i386 & sparc hello.c.
2003-07-25 16:32:23 +00:00
mrg 731484776c merge import conflicts. 2003-07-25 09:04:06 +00:00
simonb f8d975a54e Add rev 1.48 from binutils:
date: 2003/03/14 21:07:54;  author: drow;  state: Exp;  lines: +1 -0
	ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
2003-07-24 03:40:17 +00:00
lha 2004b22e25 -DENCRYPTION is for both krb4 and gssapi support, so move it to shared section 2003-07-24 00:25:24 +00:00
itojun 1747522bb0 split MKKERBEROS4 and MKKERBEROS (forgot to commit) 2003-07-23 23:20:35 +00:00
mrg 1da79fd671 initial import of GCC 3.3 sources. (this is the latest GCC 3.3.1
prerelease snapshot, 3.3.1-20030720, we will update to 3.3.1 when
it becomes available.)
2003-07-23 02:40:42 +00:00
lukem 70e86ffb8d add more rules to disable default '.cc -> NULL' transforms,
because the default rules cause problems if "valarray.cc" is newer
than "valarray" (for example)
2003-07-22 02:52:37 +00:00
wiz fade40fe67 Add patch from groff repository:
revision 1.5
date: 2003/07/18 07:00:47;  author: wlemb;  state: Exp;  lines: +38 -21

Don't ignore grotty's command line options if \X'tty: sgr ...' is
used to change the drawing scheme.

* src/devives/grotty/tty.cpp (bold_flag_option,
underline_flag_option, italic_flag_option, reverse_flag_option,
bold_underline_mode_option): New global variables.
(update_options): New function.
(tty_printer::special): Call update_options.
(main): Don't set xxx_flag but xxx_flag_option, then call
update_options.
2003-07-20 13:01:08 +00:00
lukem f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
atatat ccf314363b Move the libmilter headers to where they belong. 2003-07-10 13:07:24 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
drochner 994673f63c As already done in binutils-2.14:
Use the "LL" suffix for 64-bit constants.

Now gcc-3.3 doesn't warn about "constants too large
for "long"" or so anymore.
2003-07-09 14:43:24 +00:00
drochner 82df414328 Fix another case where the %{R*} in LINK_SPEC got lost.
Should resolve PR toolchain/22098 by Richard Earnshaw.
2003-07-09 14:34:47 +00:00
itojun 861516eeb7 install more postfix README files. based on PR 22086 2003-07-08 05:17:12 +00:00
martin 096118cb48 Move the local "dependall" target to Makefile.dev, since not all subdir
Makefiles include Makefile.tty. Hint from seb.
2003-07-06 18:43:36 +00:00
wiz 11ec0bca58 Commit fix from ru@freebsd (already in groff CVS) to fix a problem
discovered by jmc@openbsd:
.Pp
.Bd -literal
had more whitespace than plain
.Bd -literal
without a .Pp directly before.
2003-07-06 02:23:45 +00:00
martin 6b51cb5150 Explicit dependencies for y.tab.h handling. Without this, parallel builds
break.
If someone finds a better way to do this (especially without modifying
this imported makefiles) please feel free to redo this differently.
2003-07-05 22:09:03 +00:00