Commit Graph

4862 Commits

Author SHA1 Message Date
skrll
bd13c00f05 Pull in libgcc_pic in the -shared-libgcc case as well for the millicode
platforms.
2004-07-14 07:18:35 +00:00
wiz
5555edc8c1 Work around the 'bad address' problem by only looking for files that
should be written to in the current directory.

Fix suggested by enami.
2004-07-14 00:12:28 +00:00
wiz
d6960b19ca Apply
http://savannah.gnu.org/cgi-bin/viewcvs/texinfo/texinfo/makeinfo/makeinfo.c.diff?r1=1.60&r2=1.61&diff_format=u
to fix a problem with groff.texinfo.

Suggested by enami, thanks!
2004-07-13 22:55:17 +00:00
he
3c43244566 Do a cast via intptr_t in order to avoid warning "cast to pointer
from integer of different size" when building e.g. for alpha.
2004-07-13 19:02:44 +00:00
he
1286213468 Do a cast via intptr_t in order to avoid warning "cast to pointer
from integer of different size" when building e.g. for alpha.
2004-07-13 18:30:49 +00:00
wiz
dd4da9519f Let this build with BSD make (for tools building). 2004-07-12 23:47:52 +00:00
wiz
36a8484526 Update for 4.7. 2004-07-12 23:45:26 +00:00
wiz
ced9ce2f88 Update. 2004-07-12 23:44:06 +00:00
wiz
13766d513a Merge with 4.7. 2004-07-12 23:41:53 +00:00
wiz
ccaa2ac97b Import of texinfo-4.7, as prepared by texinfo2netbsd.
Changes since 4.6:

4.7 (9 April 2004)
* Language:
  . new commands @float, @caption, @shortcaption, @listoffloats for
    initial implementation of floating material (figures, tables, etc).
    Ironically, they do not yet actually float anywhere.
  . new commands @docbook, @ifdocbook, @ifnotdocbook for conditional Docbook.
  . new commands @ordf{} and @ordm{} for Spanish feminine/masculine ordinals.
  . new commands @deftypecv[x] for class variables in typed OO languages.
  . new command @registeredsymbol for the r-in-a-circle symbol.
  . new command @headitem to make a heading row in @multitable.
  . new command @LaTeX{} for the LaTeX logo.
  . new command @comma{} to avoid comma-parsing problems.
  . @url is now a synonym for @uref; new command @indicateurl has the
    old meaning of just displaying a url as text.
  . @quotation now accepts an optional argument for labelling the text
      as a `Note', `Tip', etc.
  . @defun (et al.) heading lines can now be continued with a lone @.
  . @acronym accepts an optional argument for the meaning of the acronym.
* makeinfo:
  . New environment variable TEXINFO_OUTPUT_FORMAT determines the output
    format at runtime, if no options are specified.
  . New option --plaintext, equivalent to --no-headers with Info output.
  . All outputs:
    - sections are numbered by default.
  . Info output:
    - punctuation is inserted after @pxref and @ref, if needed to make
      cross-references valid.
    - line numbers included in index menus, so Info readers can go to
      the exact line of an entry, not just a node.  Also in plaintext output.
    - ^@^H[index^@^H] cookie included in index menus, so Info readers
      can handle the ] etc. commands better.
  . HTML output:
    - new algorithm for cross-references to other manuals, for maximum
      portability and stability.
    - include node name in <title> with split output.
    - @multicolumn fractions become percentages.
    - entities used for bullets, quotes, dashes, and others.
    - index entries are links to the exact locations.
    - <h4> and <h5> used for @sub and @subsubsections again.
    - accented dotless i supported.
  . XML output: many new tags and structure to preserve more source features.
  . Docbook output:
    - upgraded DTD to Docbook XML 4.2, no longer using Docbook SGML.
    - improved translation in general, for instance:
    - line annotations and marked quotations.
* texi2dvi:
  . if available, use etex (pdfetex if --pdf) by default.
  . if the input file includes thumbpdf.sty (for LaTeX), then run thumbpdf.
  . more output if --debug.
* texinfo.tex:
  . @defun names are now printed in typewriter (instead of bold), and
    within the arguments, @var text is printed in slanted typewriter.
  . @tex code is executed inside a TeX group, so that any changes must
    be prefixed with \global (or the equivalent) to be effective.  (This
    change was actually made years ago, but never made it into the NEWS.)
* info:
  . new option --where (aka --location, -w) to report where an Info file
    would be found, instead of reading it.
  . by default, output ANSI terminal escape sequences as-is; new option
    --no-raw-escapes overrides this.
  . use the newly-generated index line numbers.
* Distribution:
  . new script gendocs.sh (not installed), for use by GNU maintainers in
    getting their manuals on the GNU web site.  Documented in
    maintain.texi (http://www.gnu.org/prep/maintain_toc.html).
  . Most code uses ANSI C prototypes, to some extent.
  . New translation: nb.
  . automake 1.8.3, autoconf 2.59, gettext 0.14.1.
2004-07-12 23:26:33 +00:00
wiz
76303507fb Add symbol for IEEE Std 1003.1-2004,
requested by Stoned Elipot (and will be in the next release of groff).
2004-07-12 14:23:49 +00:00
skrll
b5d3cf6021 Complete the fix for PR 22452 by doing the same thing as stock gcc. That
is, use the symbol versioning script to remove certain symbols from the
dynamic symbol table.

Do the symbol versioning thing for all platforms.

Whilest our ld.elf_so(1) doesn't understand symbol versioning this
doesn't matter as all the exposed symbols appear unversioned until symbol
versioning support is added (if ever).
2004-07-05 12:27:41 +00:00
drochner
18bf932783 don't undefine some macros which are only redefined if _GLIBCPP_USE_C99
is defined - this causes that nothing usable is left unless we implement
enough of C99
(there is a change in gcc-3.4 which is similar in spirit)
should fix PR lib/25930 by Dan McMahill
(I've compiled the whole KDE with this modification successfully)
2004-07-01 21:25:23 +00:00
jmc
f648d12d47 Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
jmc
503953b7b6 Redo the layout here by moving man stuff into a subdir. This is only needed here
due to andoc.tmac being generated here and it'll end up in the depend tree
for installation (during dependall) if DESTDIR=/ and USETOOLS=no/never which
will lose for most people. Fixes final part of PR#23067
2004-06-24 04:38:29 +00:00
christos
b7c0da429e Make the previous diff match exactly the following commit from binutils head:
2003-08-23  Alan Modra  <amodra@bigpond.net.au>

        * elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner.

Thanks Ian for providing the diff!
2004-06-22 18:09:12 +00:00
christos
d6bf74cb9e Add a check for a non-null owner before dereferencing it. Fixes ld core-dumps
related to lkms.
2004-06-22 16:35:49 +00:00
jmc
84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
jmc
af9bab3f46 Typo in return type. From PR#25933 2004-06-20 22:30:04 +00:00
jmc
fa985b27a7 groff's configure happily accepts and uses CPPFLAGS for it's tests but then
doesn't substitute that into Makefile.in anywhere. This will cause it to lose
when compiling as a host tools and CPPFLAGS contains -I's into the compat
area (solaris loses here for instance). Fix by adding CPPFLAGS onto CFLAGS
and CCFLAGS definitions
2004-06-20 21:48:12 +00:00
uebayasi
bb2fc6fa86 Install GNU troff' (or groff') info manual.
Reviewed By:	wiz
2004-06-19 15:02:59 +00:00
mrg
aa44da4009 fix a problem with mips alignment. from ian@wasabisystems.com.
Fri Apr  4 17:43:52 2003  Olivier Hainque <hainque at act-europe dot fr>

	* emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
	use of default attributes to agree MEM_ALIGN macro.
2004-06-18 09:30:45 +00:00
wiz
8454dc9af8 Bump version after 1.11.17 import. 2004-06-16 16:02:22 +00:00
itojun
40ee9b9ad9 sync w/ 1.11.17 2004-06-16 09:22:34 +00:00
itojun
880a96fb70 cvs 1.11.17 2004-06-16 09:18:51 +00:00
jmc
b5ac9053b4 Redo this rule so it depends on libiberty.a rather than just the directory.
Otherwise an aborted build would cause this to be skipped on MKUPDATE.
Also, run configure w. $HOST_SH as highlighted in PR#25606
2004-06-12 14:59:36 +00:00
jmc
75b4824f88 Fix some missing $HOST_SH needs as highlighted in PR#25606 2004-06-12 14:57:57 +00:00
heas
f88c21e7a7 trace.8 duplicated in MAN variable, overriding the MLINK instance.
Pointed out by Denis Lagno.
2004-06-08 23:30:00 +00:00
heas
ee88aedd7c Correct the previous; should have been statvfs for >2.0D.
Thanks grant!
2004-05-31 03:55:20 +00:00
heas
5d235dc495 Override a few config variables so postconf(1) has them correct. 2004-05-31 03:54:20 +00:00
heas
82f64031cc Use statvfs on NetBSD > 2.0 2004-05-31 00:51:19 +00:00
heas
cf26c0c11c Resolve import conflicts 2004-05-31 00:46:46 +00:00
heas
0277737a5f Postfix 2.1.1 2004-05-31 00:23:53 +00:00
uwe
1161112f12 Fix for gcc target/13250 to correctly compile rotations, e.g. in
sha256 code in pkgtools/digest.

Ok by Matthew Green <mrg>.

2004-05-28  Kaz Kojima  <kkojima@gcc.gnu.org>

	PR target/13250
	* config/sh/sh.md (rotlsi3): Use emit_move_insn.
2004-05-29 00:49:15 +00:00
uwe
ae04b1322a Fix the calculation of next_pc for braf/bsrf instructions. 2004-05-28 22:04:36 +00:00
nathanw
411bc3c814 Failure to fetch FP registers from the thread debugging library isn't
necessairly a problem; the thread may in fact have no FP state.
2004-05-27 19:15:10 +00:00
mrg
86a3ebdbd0 fix merge cornflakes with GCC 3.3.3 (final) 2004-05-27 14:48:52 +00:00
drochner
1e0409af82 generate .stabs per default, should fix PR toolchain/25094 2004-05-26 17:12:20 +00:00
itojun
394bed789b CVS 1.11.16, with security fix 2004-05-26 07:59:30 +00:00
skrll
279e627659 Re-run mknative. 2004-05-25 13:39:35 +00:00
christos
1776046df9 The note fix, apparently broke objcopy. I will need to re-think this. 2004-05-23 21:12:06 +00:00
christos
82d6e6c91c Adding a note section, can result in adding two elf segments. Account for that. 2004-05-23 18:08:16 +00:00
lukem
b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
dan
7e85dcc65c switch pickup and qmgr to unix sockets instead of fifos.
This helps avoid postfix waking up an idle disk with mtime updates for
fifos.  Evidently only fifos worked for these two in earlier postfix
versions, but now it works fine in my testing, and it also makes the
config consistent for all postfix services.

Thanks to Charles Hannum.
2004-05-20 22:06:52 +00:00
kleink
b4e54b71d4 Prefer the new -std=c89 over -ansi. 2004-05-20 18:53:08 +00:00
christos
fdd71ccbd9 1.6 make(1) friendly. Did I mention before that the change to ignore
undefined variables just brings pain?
2004-05-20 15:08:30 +00:00
christos
15432cac81 Apply patch 1.11.15 -> 1.11.16 2004-05-20 03:25:13 +00:00
abs
199212f421 Apply gcc PR target/14302 to fix ARM compiler issues triggered by at
least glib, glib2, and pkgconfig.

    2004-02-26  Richard Earnshaw  <rearnsha@arm.com>
	   Daniel Jacobowitz  <drow@mvista.com>

	   PR target/14302
	   * arm.h (ARM_GO_IF_LEGITIMATE_ADDRESS): Don't check the mode
	   size for minipool references.

Many thanks to Richard Earnshaw for close to instant copy of the gcc patch.
Bump gcc version to "3.3.3 (NetBSD nb3 20040520)"
2004-05-19 23:44:18 +00:00
agc
cdbc6c6463 Provide the default location for html documentation (html_directory),
otherwise postfix will fail with the error message:

May 16 21:56:56 system postfix[175]: fatal: bad string length 0 < 1: html_directory =
2004-05-17 06:00:14 +00:00
lukem
ee04d88971 Consistently use CONFIGFILES & CONFIGLINKS (which enable the 'configinstall'
target) instead of using home-grown 'distribution' targets or using
FILES with the 'install' target.
Add some etc/ subdir Makefiles where appropriate.

XXX: some of etc/Makefile install-etc-files could be converted to CONFIGFILES.
2004-05-16 09:53:09 +00:00
fair
9d0b34ca9c Add port-xen 2004-05-10 00:28:08 +00:00
martin
b3ac854ab5 On i386 and amd64 install emmintrin.h, so that SSE2 enabled compiles
work.
Fixes PR toolchain/25497.
2004-05-08 09:13:49 +00:00
matt
3df46d6c37 Fix stack backtracing so not refer to the initial entry frame.
Default to getting the LR out of the stack if no other way works.

This makes backtraces work on stripped programs.
2004-05-07 00:07:10 +00:00
dbj
f1646a867f correct cl's previous flow control fix so that flow control checks
for a pause any time there isn't a write lock
2004-05-03 21:11:30 +00:00
dbj
62cd773f07 fix some minor memory leaks in netbsd patches 2004-05-03 21:10:21 +00:00
mrg
ffae1c8494 bump version for SPARC fixes (from kjk via martin) 2004-05-03 00:32:02 +00:00
martin
37f4d4c4d6 Bring in a change from gcc-current to fix double -> unsigned long
conversions and generally avoid 128 bit (emulated) floats in between.
This fixes heaps of problems in perl >= 5.7.1, where integer values
and unsigned values are separated by the interpreter.

Thu Feb 26 18:40:40 2004 UTC by ebotcazou:
	* config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
	(sparc_emit_fixunsdi): New prototype.
	* config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument.
	(sparc_emit_fixunsdi): New function.
	* config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for
	operand 1.  Pass SFmode to sparc_emit_floatunsdi.
	(floatunsdidf2): Use 'general_operand' for operand 1.  Pass DFmode
	to sparc_emit_floatunsdi.
	(fixuns_truncsfdi2): New expander.
	(fixuns_truncdfdi2): Likewise.
2004-05-02 11:00:06 +00:00
skrll
9d777fb2bb (pretend to) run mknative for hppa and pick up the -DNETBSD=1 addition
to LIBGCC2_CFLAGS.
2004-04-30 08:15:47 +00:00
skrll
903a6d7af8 We're using the Linux ELF ABI on NetBSD. Make sure $$dyncall knows this. 2004-04-30 08:13:08 +00:00
uwe
562404165e Copy .s.so rule we use for libgcc_pic to make sure the millicode is
.hidden in libgcc_s.so as well.  Enable it for sh3.  Other CPUs for
which gcc uses millicode probably need this too.
Per discussion with Nick Hudson <skrll>.
2004-04-28 01:44:59 +00:00
heas
58c6b4341a Add readmes &/ obsoletes that I missed.
Noted by Lubomir Sedlacik.
2004-04-27 15:35:55 +00:00
heas
a7a5a573b5 Do not install the qmqp related documents and do install the html versions
of the READMEs.
2004-04-27 06:57:08 +00:00
heas
4b28ce346e Fix botched merge 2004-04-27 05:35:12 +00:00
heas
4e8018dc59 Updates for Postfix 2.1.0 2004-04-27 05:33:55 +00:00
heas
5b89c55b14 resolve conflicts 2004-04-27 05:07:46 +00:00
heas
87b29054d0 Postfix 2.1.0 2004-04-27 04:12:43 +00:00
uwe
5d3bac44ea Drop workaround for toolchain/22489 now that the fix for it has been pulled
from the gcc current.
2004-04-26 09:17:16 +00:00
christos
6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
wiz
1611c30c9e Bump version number after import of cvs-1.11.15.
Addresses PR 25236.
2004-04-19 09:43:04 +00:00
lukem
6d15c512f3 remove AINC support; it is now unnecessary 2004-04-18 04:32:51 +00:00
itojun
8248096c1f upgrade to 1.11.15. includes security fixes.
Stable CVS 1.11.15 has been released. Stable releases contain only
bug fixes from previous versions of CVS. This version fixes serious
security holes in both the client and the CVS server executables
as well as fixing many other bugs, including some file resurrection
issues. We recommend this upgrade for all CVS clients and servers!
2004-04-16 04:07:22 +00:00
itojun
47d72b73de CVS 1.11.15 2004-04-16 03:51:39 +00:00
nathanw
e30c25106f Remove an extraneous use of a 'retval'. 2004-04-15 19:26:58 +00:00
mrg
d7919c9c21 +TM_FILE= tm-x86-64nbsd.h
this lets MKCROSSGDB work for ./build.sh -m amd64.
2004-04-12 07:19:16 +00:00
mrg
12448037ad apply the changes in PR#22489.
2003-07-10  Kazu Hirata	 <kazu@cs.umass.edu>

	PR c/11449
	* fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
	of HOST_WIDE_INT.
	(fold_single_bit_test): If sign_bit_p() fails, assume that the
	bit being tested is not a sign bit.

2003-07-04  Jeff Law  <law@redhat.com>

	PR c/11428
	* expr.c (do_store_flag): Pass in the correct result type
	when calling fold_single_bit_test.
	* fold-const.c (fold_single_bit_test): Use result_type for the
	result when folding a sign bit test.

2003-07-02  Jeff Law  <law@redhat.com>

	* expr.c (do_store_flag): Remove special case folding for
	single bit tests.  Instead call back into the commonized folder
	routine.
	* fold-const.c (fold_single_bit_test): New function, mostly
	extracted from do_store_flag, with an additional case extracted
	from fold.
	(fold): Call fold_single_bit_test appropriately.
	* tree.h (fold_single_bit_test): Prototype.
2004-04-05 14:32:56 +00:00
matt
e5795ee03a Add libraries needed for configure 2004-04-04 20:17:27 +00:00
mrg
4f693be191 re-enable ppc-gdb "target sim" support. 2004-04-02 13:36:32 +00:00
mrg
df1f7747e1 #endif /* MUST NOT HAVE TOKENS AFTER IT */ 2004-04-02 13:36:24 +00:00
mrg
dd567aa2f5 - (required) const poison
- fix some function argument type issues (struct _bfd vs bfd)
2004-04-02 13:34:50 +00:00
mrg
80a13c7a72 labels must have statements:; 2004-04-02 13:33:04 +00:00
mrg
37135b824f make this build again. 2004-04-02 13:12:35 +00:00
mrg
e32ba6cc2a delete these unused sources 2004-04-02 13:11:37 +00:00
mrg
b52423ebbe copy the files from gnu/usr.bin/sim over here. 2004-04-02 13:06:01 +00:00
mrg
c2dbce328f oops; exit on failure with the previous. 2004-04-02 11:12:29 +00:00
mrg
10872ccc93 use mktemp(1) for safe temp files. 2004-04-02 11:11:22 +00:00
enami
71f20d1fa2 Correctly fallback into the normal path when SETXID_SUPPORT is defined
but the binary was the normal one.  Fixes PR#23471.
2004-04-01 01:51:04 +00:00
perry
55b6a027e7 Add 3.0 as well. (Hi Wiz!) 2004-03-29 13:59:47 +00:00
wiz
f85aad9f0f Change default to 2.0, and add 2.1. 2004-03-29 11:02:47 +00:00
tron
79dac9a13b Remove generated sources files "__gcc_bcmp.c", "_bb.c" and "_eprintf.c"
in "cleandir" target.
2004-03-29 09:32:49 +00:00
heas
a612917e3c Add new files from 2.0.19 2004-03-27 16:39:00 +00:00
heas
f32166d8a9 merge from 2.0.19 import 2004-03-27 16:31:19 +00:00
heas
c7fd7e15fb Postfix 2.0.19 2004-03-27 16:09:35 +00:00
jdolecek
2eb16b781e move the GNU awk-based awk.texi back under src/gnu/dist/gawk/,
it's covered by GNU Documentation Licence and thus shouldn't be mixed
with free code
2004-03-27 11:34:11 +00:00
dan
0909a31142 Note master.cf change and provide instructions regarding the fact that
postfix does not listen on the network by default.
2004-03-27 00:07:48 +00:00
dan
7c20c92e67 Make postfix not listen on the network by default, requiring user
configuration to enable inbound mail reception.

This is in line with general security policy, so that postfix is
"safe" until other required configuration steps have been taken.

This way, systems enabling this mailer for local mail delivery only
won't be vulnerable to surprise exploits, being used as relays,
/var/mail filling up with spam, etc.
2004-03-27 00:03:16 +00:00
jdolecek
0c4ea4cbc7 delete GNU gawk 3.1.3 sources. they are available in cvs with
"cvs co -r gawk-3-1-3-before-remove src/gnu/dist/gawk".
2004-03-26 17:16:24 +00:00
mrg
bcf0c1fd21 delete GNU gzip 1.2.4 sources. you can find them again by running
"cvs co -r gzip-1-2-4-before-deletion src/gnu/usr.bin/gzip".
2004-03-26 09:15:02 +00:00
mrg
1d5769dcfc switch over to mrg gzip. 2004-03-26 08:52:26 +00:00
atatat
7a69658f37 resolve conflicts, pull 8.12.11 to head 2004-03-25 19:14:30 +00:00
atatat
8d2f43c39d sendmail 8.12.11 2004-03-25 18:57:22 +00:00
skrll
79ddf7b5dc Remove the LIB2FUNCS_ST objects from libgcc_s. 2004-03-25 07:48:34 +00:00
martin
8998b47e17 Pull in sparc64 fix from gcc cvs:
Forbid mode changes from SImode for lower FP regs if ARCH64.
Fixes PR 23380 and PR 23124.
2004-03-22 22:56:09 +00:00
skrll
db31f1ccba Build the -fPIC exception handling objects with the right flags, e.g.
-fexceptions and link the shared library with the standard startup files.
2004-03-22 17:08:23 +00:00
skrll
ddc6c41839 Remove ${CPICFLAGS} from .o rules 2004-03-22 17:02:57 +00:00
mrg
f433e33bb4 also define __sparcv9. noted by heas@ 2004-03-21 01:22:12 +00:00
skrll
44e60dd983 Fix forced MKPIC=no builds using the trick suggested by Luke. Thanks! 2004-03-18 19:48:15 +00:00
scw
a8bb5642ca Results of mknative run with gcc3.3.3 on sh5el. 2004-03-17 09:02:06 +00:00
matt
eca4702ec5 Indicate that sparc64*-*-netbsd* and x86_64*-*-netbsd* are host64 platforms. 2004-03-14 00:46:39 +00:00
matt
2fcaa9eb41 On 64bit hosts or bdf64 is enabled, add x86_64 support when configuring
i386-*-netbsdelf.  This part of 1 on letting i386 crossbuild on amd64.
2004-03-14 00:45:16 +00:00
jdolecek
c370e5310e switch awk to nawk; gawk sources will be removed after some grace period
change blessed by core@
2004-03-13 22:28:47 +00:00
cgd
959bb13f95 Redo the linux cross-build fixes, from rev 1.24 of the master groff version:
http://www.ffii.org/cgi-bin/viewcvs.cgi/groff/Makefile.comm
(The previous fixes still ended up with syntactically-invalid shell
code for the 'for' loops, which would fail on some versions of linux.
The ignore-error marking for the command would allow the build to finish,
but it would leave extraneous "Failed" bits in the build output.)
2004-03-11 07:23:02 +00:00
skrll
44d317c631 Remove local variables when building the .hidden objects. 2004-03-10 22:18:17 +00:00
matt
5132bfefdc Add support for traversing through signal handler frames. 2004-03-10 01:22:29 +00:00
skrll
b09e6d0dfe Whitespace 2004-03-08 14:47:27 +00:00
skrll
3539722ee8 Check for G_LIB1ASMFUNCS (not LIB1ASMFUNCS) being non-empty before
creating rules for LIB1ASMFUNCS. This is better for old makes (and
readability.)

As highlighted by grifo3000@interfree.it on current-users
2004-03-08 14:45:07 +00:00
skrll
bda33b4f10 NO* variable re-order. No functional change. 2004-03-05 10:55:16 +00:00
wiz
de65560a4a Bump PACKAGE_VERSION to 1.11.11 too, for consistency. 2004-03-04 19:57:04 +00:00
skrll
824aa68c5a Add __PIC__ and __pic__ to TARGET_OS_CPP_BUILTINS for all NetBSD platforms
and object formats.

This fixes a problem in libgcc_s.so on powerpc pointed out to me by
Aymeric Vincent in private email.

OK'd by Jason.
2004-03-03 20:09:51 +00:00
pooka
abd87603f6 .XE without .XS should complain about that, not about .XS without .XE
i.e. fix tyop/thinko in error message
2004-03-01 14:43:44 +00:00
skrll
d68db0e48c Oops! Remove harmless -DNH=${MKPIC} 2004-03-01 08:52:53 +00:00
mrg
eaa3c8ce1b backout part of rev1.6: don't set machine_suffix and just_machine_suffix
in NETBSD_NATIVE mode.  from enami.
2004-03-01 07:36:59 +00:00
mrg
d9c305d49d merge gcc 3.3.3 cornflakes 2004-03-01 07:27:18 +00:00
mrg
18e7b0d6a5 initial import of GCC 3.3.3, which fixes a few more bugs from the prior
3.3.3-pre snapshot we were using.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.3 for more details.
2004-03-01 03:43:04 +00:00
mrg
ec14d423fc initial import of GCC 3.3.3, which fixes a few more bugs from the prior
3.3.3-pre snapshot we were using.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.3 for more details.
2004-03-01 03:32:51 +00:00
simonb
aa48fe87a3 Pull up:
2003-06-22  Jason Thorpe  <thorpej@wasabisystems.com>

	* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
	all locals have been declared.

from the binutils mainline.

Problem (and also fix) reported by Eyal Lebedinsky on port-pc532.
2004-03-01 00:01:16 +00:00
wiz
15a3e59b1f Add FreeBSD 5.2 definition for ath(4). 2004-02-29 18:47:12 +00:00
skrll
ce461bed68 Fix PR 24593.
XXX NOPIC and MKPIC need separating
2004-02-29 17:05:31 +00:00
skrll
0aae540257 Backout recent changes made to gnu/lib/libgcc3 for a forced MKPIC=no build.
Fix the behaviour of native and tools gcc when MKPIC=no is specified for
platforms that mknative has determined support shared libraries.

XXX distrib/sets/sets.subr doesn't support MKPIC=no
2004-02-27 14:52:01 +00:00
matt
a9a2fcf9dd Turns out we need libgcc_s for MKPIC=no too (C++ wants it). 2004-02-25 22:11:14 +00:00
matt
e88bf5d8c7 Always build libgcc_eh. It's still needed when MKPIC=no 2004-02-25 21:53:49 +00:00
skrll
869ddf30e8 Whitespace 2004-02-23 21:41:05 +00:00
uwe
7a1ea12099 Work around toolchain/22489 (gcc optimization/11937) by compiling
function.c with -O0.
2004-02-22 01:24:25 +00:00
cl
661c78132a Fix flow control:
The condition of the check if we are at a safe point to pause (i.e. we're not
holding a lock) was inverted.  Suspending the client did result in the
server using upto datalimit memory, because the server child process did
continue producing output while the server parent was holding back output
to the client.
2004-02-21 15:06:11 +00:00
skrll
f8314ad5e5 mknative sweep. mainly version string differences and STDC_HEADERs.
no need for the signbit stuff on sparc as libc got fixed.
2004-02-19 08:11:31 +00:00
skrll
7354ecab79 Re-run mknative for mipseb (sgimips). Should close PR 24438. 2004-02-16 16:06:38 +00:00
skrll
b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
simonb
3e7ae7aefb Re-run mknative with latest mknative-gcc. 2004-02-14 08:39:07 +00:00
mrg
e38f9bc603 pass all required -I paths:
+CPPFLAGS+=    -I${G_EXTRA_HEADERS:H:u}

this fixes ppc builds (reported by hannken & briggs)
2004-02-12 23:17:59 +00:00
skrll
13145e5f28 Results of re-running mknative for a few MACHINE_ARCHs 2004-02-12 22:34:57 +00:00
skrll
f6f3dd9b5f Pass -Bsymbolic down to the linker when -symbolic is used.
OK'd by Jason a while ago.
2004-02-12 18:51:41 +00:00
mrg
41ba62f48c - some libgcc3/Makefile updates for new mknative
- re-run mknative for ~nearly everyone
2004-02-11 16:22:51 +00:00
mrg
cf10ab1d3c minor NETBSD_NATIVE adjustments needed for GCC3.3.3. 2004-02-11 16:01:48 +00:00
mrg
0e4a80d700 regenerate with GCC 3.3.3-pre20040209.
XXX: missing vax, sh3*, hppa
2004-02-11 04:04:02 +00:00
mrg
bce4dd7994 re-add generated files our builds need.
(not sure why these are not in the 20040209 tarball.)
2004-02-10 13:41:16 +00:00
mrg
5722a41a7b merge cornflakes for gcc 3.3.2-pre20040209. 2004-02-10 12:56:21 +00:00
mrg
ca85c986ec import GCC 3.3.3-pre20040209. this fixes dozens of bugs from the
GCC database, several logged by netbsd users/developers.  total
count in various area:
	3 - Bootstrap failures and issues
	19 - Internal compiler errors (multi-platform)
	13 - C and optimization bugs
	42 - C++ compiler and library
	1 - Java compiler and library
	1 - Objective-C compiler and library
	3 - Fortran compiler and library
	5 - x86-specific (Intel/AMD)
	4 - PowerPC-specific
	3 - SPARC-specific
	1 - ARM-specific
	4 - ia64-specific
	3 - Alpha-specific
	2 - HPPA-specific
	1 - S390-specific
	6 - SH-specific
	5 - Other embedded target specific
	1 - GNU HURD-specific
	1 - Tru64 Unix specific
	2 - AIX-specific
	1 - IRIX-specific
	1 - Solaris-specific
	2 - Testsuite problems (compiler is not affected)
	1 - Miscellaneous

total:  125
2004-02-10 12:15:15 +00:00
mrg
2d9d64e9bd import GCC 3.3.3-pre20040209. this fixes dozens of bugs from the
GCC database, several logged by netbsd users/developers.  total
count in various area:
	3 - Bootstrap failures and issues
	19 - Internal compiler errors (multi-platform)
	13 - C and optimization bugs
	42 - C++ compiler and library
	1 - Java compiler and library
	1 - Objective-C compiler and library
	3 - Fortran compiler and library
	5 - x86-specific (Intel/AMD)
	4 - PowerPC-specific
	3 - SPARC-specific
	1 - ARM-specific
	4 - ia64-specific
	3 - Alpha-specific
	2 - HPPA-specific
	1 - S390-specific
	6 - SH-specific
	5 - Other embedded target specific
	1 - GNU HURD-specific
	1 - Tru64 Unix specific
	2 - AIX-specific
	1 - IRIX-specific
	1 - Solaris-specific
	2 - Testsuite problems (compiler is not affected)
	1 - Miscellaneous

total:  125
2004-02-10 12:05:11 +00:00
skrll
95cfd78c59 Updates so that mknative gets the right things.
- Disable symbol versioning (for now)
	- Make sure that libiberty knows its being configured with a
	  cross compiler.
	- The CXX_* variables are no longer needed/used.
	- LIB2FUNCS_EXTRA gets pulled in via LIB2ADD
	- Get LIB1ASMFUNCS and LIB2ASMSRC
	- MAYBE_USE_COLLECT2 got renamed to USE_COLLECT2 (but might not
	  be used)
	- Get EXTRA_HEADERS so that we get generate the right paths for
	  CPPFLAGS
	- Get some variables related to shared libgcc
2004-02-10 09:37:58 +00:00
lukem
78f3b1bf18 use uname=${BINOWN} gname=${BINGRP} instead of uname=root gname=wheel 2004-02-09 06:52:34 +00:00
lukem
55e3a56f6d consistency tweaks in .stamp files 2004-02-08 22:28:27 +00:00
lukem
5ed2a261e5 cosmetic tweaks and MAKEVERBOSE support 2004-02-08 22:23:45 +00:00
lukem
8ee2b897bd Speed up make by caching the objdirs of the 4 libraries.
On my P4 2.4 an empty "cleandir" goes from 6.63s to 1.43s.
2004-02-07 05:10:44 +00:00
lukem
4d8a527fc5 When creating multiple sources from the one operation, use a
dummy "timestamp" file and depend upon that.
Prevents (unnecessarily) multiple invocations with parallel make.
2004-02-07 04:46:59 +00:00
fredb
cc03b614c7 Let "cu" connect at 230400 bps, if the port supports it. 2004-02-03 14:22:26 +00:00
lukem
bc42f94b01 Actually, proxymap can run chrooted even though it defeats most of the
purpose of the service.
(Use updated text from postfix 2.0.18)
2004-01-30 04:37:39 +00:00
lukem
b3437c9c77 proxymap can't run chrooted either 2004-01-30 04:33:05 +00:00
lukem
25d2de94fe Document what BROKEN_SPOOLER_FLAGS 'add 16' is for, and add it to the
default broken flags.  groff 1.19 defaulted to this value off, whereas
groff 1.18.1 and earlier defaulted to this being on.  Setting this value
fixes postscript printing to my HP LJ4m.
Note: BROKEN_SPOOLER_FLAGS was previously `7', so we were already enabling
workarounds for other issues...
2004-01-27 01:00:09 +00:00
christos
e9edfecbb5 Don't run commit_prep UNSETXID in server mode, because the created #cvs.lastdir
file is owned by the committing user, so that cvs cannot later remove it,
leaving junk in /tmp
2004-01-24 23:46:30 +00:00
mrg
574bbc73cf add -Bforcearchive as an alias for --whole-archive, for previous
netbsd compatibility.
2004-01-22 04:49:57 +00:00
mrg
aaacfb4a0a this file is obsolete 2004-01-12 04:47:22 +00:00
lukem
01e14c2ace fix previous (MKSHARE=no support) 2004-01-12 01:43:54 +00:00
lukem
f48f3fcdfc support MKDOC=no 2004-01-12 01:33:51 +00:00
lukem
e7f5146b76 support MKSHARE=no 2004-01-12 01:01:55 +00:00
christos
5cd9414514 PR/24021: Greg Troxel: cvs(1) doesn't work with mode 770 repositories for
secondary gids.
Implement proper group membership testing as suggested in the PR.
2004-01-08 17:51:33 +00:00
lukem
5f82e1b832 deprecate NO_SENDMAIL and consistently test MKSENDMAIL 2004-01-06 02:10:43 +00:00
itojun
88aff973a4 bump version to 1.11.11. sync w/ config.h.in. noted by naoki fukaumi 2004-01-04 18:37:47 +00:00
lukem
986979b8c9 Consistently check ${TOOLCHAIN_MISSING} against "no". 2004-01-03 14:04:27 +00:00
nathanw
58e744664c Enable alpha kcore support. 2004-01-02 22:42:05 +00:00
nathanw
240c6ac9cf Re-implement fetch_kcore_registers() for alpha. 2004-01-02 22:41:17 +00:00
skrll
2879279c43 Move libgcc3/*.mk to libgcc3/arch.
Update mknative-gcc.
2004-01-02 11:58:32 +00:00
itojun
ce7a5bd52c upgrade to 1.11.11 for security reason 2004-01-02 11:34:40 +00:00
itojun
977212b1bf import 1.11.11 for security reasons
from GENTOO LINUX SECURITY ANNOUNCEMENT 200312-08

   "Stable CVS 1.11.11 has been released. Stable releases contain only
   bug fixes from previous versions of CVS. This release adds code to
   the CVS server to prevent it from continuing as root after a user
   login, as an extra failsafe against a compromise of the
   CVSROOT/passwd file. Previously, any user with the ability to write
   the CVSROOT/passwd file could execute arbitrary code as the root
   user on systems with CVS pserver access enabled. We recommend this
   upgrade for all CVS servers!"
2004-01-02 11:29:56 +00:00
mrg
416b3a63d6 do not link xmalloc.c or xexit.c. 2003-12-21 07:05:25 +00:00
simonb
72964fcdbe Apply rev 1.225 from binutils mainline:
date: 2003/07/09 01:27:30;  author: cgd;  state: Exp;  lines: +3 -2
2003-07-08  Chris Demetriou  <cgd@broadcom.com>

	* config/tc-mips.c (mips_validate_fix): Do not warn about branch
	target being a global symbol if not compiling SVR4 PIC code.

Fixes warnings compiling MIPS kernels.  Problem noticed by Izumi Tsutsui
on the port-pmax list.
2003-12-15 00:54:41 +00:00
wiz
90d2703a98 Remove superfluous "is". Reported by Brian Chase in PR 23739. 2003-12-14 09:38:29 +00:00
rearnsha
79d79358ab Pull up the following patch from the main gcc tree.
PR optimization/13037
	* loop.c (update_giv_derive): Ignore redundant sets of a biv
	when calculating how to derive a giv from a biv.
This fixes the underlying problem in toolchain/23002.
2003-12-13 12:20:53 +00:00
matt
a29393ca12 Pull in the following change from gcc mainline:
2003-11-30  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't
        set SECTION_WRITE on TARGET_RELOCATABLE.
2003-12-12 17:43:37 +00:00
jmc
ce438b1c67 Needs USETBL or the ms man page comes out wrong. 2003-12-12 06:08:30 +00:00
matt
020ecacc80 Don't use -traditional-cpp when assembling the PowerPC .S files. 2003-12-11 22:37:27 +00:00
nathanw
243cf32568 Alpha uses software single-step. Lost in the 5.0->5.3 conversion.
Addresses PR toolchain/23672.
2003-12-11 21:06:27 +00:00
nathanw
de13a4e603 Catch up alpha_software_single_step() prototype with reality. 2003-12-11 21:02:24 +00:00
dyoung
4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
itojun
a96b475fd1 upgrade to 1.11.10. includes security fix. 2003-12-10 06:09:52 +00:00
itojun
4f87169ef4 cvs 1.11.10, includes security fix 2003-12-10 05:58:05 +00:00
mrg
12dc5d733c now that medlow is the defalut, no need to force it in -p/-pg.
suggested and tested by martin.
2003-12-08 13:15:01 +00:00
matt
cfbf1414f1 initial GCC3 support for VAX. (barely tested). No PIC support (aka no
shared libraries).  This is an initial step to full GCC3 support for VAX.
2003-12-08 03:33:13 +00:00
matt
f158bd2750 Make nan matches __builtin_nan(const char *). 2003-12-08 03:18:07 +00:00
scw
b8191da53a Gcc3 for sh5 gets an ICE compiling libbfd's elf32.c and elf64.c at -O2.
Drop to -O1 for now when building for sh5.
2003-12-07 21:13:04 +00:00
scw
9867e34ef7 - Work around a gcc3 ICE when building reload1.c at -O2 on sh5:
Compile reload1.c at -O1.

 - Work around a fatal warning when building function.c on sh5:
   Define NOGCCERROR to disable -Werror.
2003-12-07 19:56:59 +00:00
scw
a72cb1203e MD glue for binutils on sh5. 2003-12-07 19:42:03 +00:00
simonb
affca5fc17 Use -O1 to compile cppmacro.c on ns32k to avoid an ICE. 2003-12-07 12:51:43 +00:00
simonb
df1bc575d0 Include gthr-single.h instead of gthr-posix.h on ns32k now. 2003-12-07 12:44:54 +00:00
simonb
32820e3ec5 Use gthr-single.h ("no real pthreads support") on ns32k for now. 2003-12-07 12:25:43 +00:00
simonb
3155813857 ns32k c++ (probably a.out?) currently doesn't support the
-ffunction-sections andd -fdata-sections flags; disabled them
for now.
2003-12-07 12:23:35 +00:00
scw
03aed749f0 Update for gcc 3.3.2 support (with in-tree binutils). 2003-12-07 10:02:45 +00:00
scw
0e54a63381 Recognise sh5 and sh5le. 2003-12-07 09:58:56 +00:00
matt
ed5964b611 Install the MMX/SSE/Altivec include files that gcc provides. 2003-12-05 18:56:11 +00:00
simonb
3952da3765 Add ns32k binutils 2.14 support. 2003-12-05 12:08:47 +00:00
simonb
f0467a5c13 Add ns32k GCC3 support. 2003-12-05 12:05:32 +00:00
simonb
172612b7e5 Apply rev 1.228 from binutils mainline (via patch):
date: 2003/09/14 15:24:49;  author: ths;  state: Exp;  lines: +37 -30
        * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.
        (macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change
        the function prototype.
        (load_register): Likewise. Simplify the checks for sign-extended
        constants.
        (macro): Likewise. Fix code generation for 64-bit address constants
        outside the 32-bit compatibility space. Adjust
        macro_build_ldst_constoffset calls.
        (s_cprestore): Adjust macro_build_ldst_constoffset call.

Fixes problems compiling r3k kernel cache routines.
2003-12-05 06:52:57 +00:00