Commit Graph

2040 Commits

Author SHA1 Message Date
sekiya
98c96dbb1e Add big-endian elf64 to ld for MIPS targets.
Reviewed by simonb@
2004-09-03 10:30:09 +00:00
martin
5ea85d45ac Do not search the info path when opening our own output file. We may find
an old (shorter) version somewhere and SIGSEGV due to different filesize.
Fixes PR toolchain/26791. Already forwarded to texinfo maintainers.
2004-08-29 08:16:18 +00:00
wiz
c36259e13c Better fix for previous, from martin@. Accepted back into groff main tree. 2004-08-25 16:52:44 +00:00
rearnsha
8cd9c1ad76 Add Thumb breakpoints 2004-08-23 13:54:29 +00:00
rearnsha
d2d54a40b5 Backport changes from the FSF development tree that ensure that code
build for ARM architecture 5 or later is always interworking clean.
2004-08-21 10:48:54 +00:00
nathanw
fd8dc4c93f Remove some unused variables. 2004-08-09 22:39:32 +00:00
nathanw
0ef0b5bfc2 nbsd_thread_unsuspend() doesn't need to get or look at the thread
info.
2004-08-09 20:14:22 +00:00
nathanw
82c8abbad2 Fix up a few error messages to correctly report what function they're
in.
2004-08-09 20:13:53 +00:00
dbj
3a92b5a162 fix merge botch. cpp.1 now describes gcc-3.3.3 instead of gcc-3.3.2 2004-08-02 17:43:23 +00:00
dbj
d8a2c2edb9 fix merge botch. gcov.1 now describes gcc-3.3.3 instead of gcc-3.3.2 2004-08-02 17:39:51 +00:00
dbj
690507819c fix merge conflict botch that left gcc man page out of date.
now gcc.1 describes gcc-3.3.3 instead of gcc-3.3.2
2004-08-02 17:32:55 +00:00
wiz
48d5d4bd20 Revert previous and apply patch from groff maintainer, Werner Lemberg,
instead. Verified by cross-building sparc64.
2004-08-02 13:03:17 +00:00
wiz
c7b16ff76d Fix for the error
bdf.ms:270: fatal error: input stack limit exceeded (probable
	infinite loop)
that appears when building the xorg-docs package.
Problem reported to current-users by Kouichirou Hiratsuka.
Fix provided by groff maintainer, Werner Lemberg.
2004-08-02 09:30:43 +00:00
martin
d8b993b9d6 Fix stupid 32bit assumption: uint32 is not a good type to store pointers.
Use intptr_t instead.
2004-08-01 10:19:26 +00:00
wiz
02671778ef Update for 1.19.1. 2004-07-30 15:29:45 +00:00
wiz
ed1831ffa4 Bring in BSD make fix from groff CVS. 2004-07-30 14:58:37 +00:00
wiz
018d2ff9c6 Merge groff-1.19.1. 2004-07-30 14:56:51 +00:00
wiz
48af41221f Import groff-1.19.1. Changes since 1.19:
Groff
-----

o The argument of the command line option `-I' is now also passed to troff
  and grops, specifying a directory to search for files on the command line,
  files named in `so' and `psbb' requests, and files named in \X'ps: file'
  and \X'ps: import' escapes.

o If option `-V' is used more than once, the commands will be both printed
  on standard error and run.

Troff
-----

o Two new read-only, string-valued registers `.m' and `.M' return the
  name of the current drawing and background color, respectively.

o New read-only register `.U' which is set to 1 if in safer mode and set
  to 0 if in unsafe mode.

o An input encoding file for latin-5 (a.k.a. ISO 8859-9) has been added.
  Example use:

    groff -Tdvi -mlatin5 my_file > my_file.dvi

  Note that some output devices don't support all glyphs of this encoding.

o If the `return' request is called with an argument, it exits twice,
  namely the current macro and the macro one level higher.  This is
  used to define a wrapper macro for `return' in trace.tmac.

o For completeness, two new requests have been added: `dei1' and `ami1'.
  They are equivalent to `dei' and `ami', respectively, but the macros
  are executed with compatibility mode off (similar to `de1' and `am1').

o New command line option `-I' to specify a directory for files (both
  those on the command line and those named in `psbb' requests).  This is
  also handled by the groff wrapper program.

o Since version 1.19 you can say `.vs 0'.  Older versions emit a warning
  and convert this to `.vs \n[.V]'.

  This hasn't been documented properly.  Note that `.vs 0' isn't saved in a
  diversion since it doesn't result in vertical motion.

Pic
___

o Dashed and dotted ellipses have been implemented.

Tbl
---

o New key character `x' to make tbl call a user-defined macro on a table
  cell.  Patch by Heinz-Jürgen Oertel <hj.oertel@surfeu.de>.

Grohtml
-------

o New option `-j' to emit output splitted into multiple files.

Grops
-----

o New command line option `-I' to specify a directory to search for files
  on the command line and files named in \X'ps: import' and \X'ps: file'
  escapes.  This is also handled by the groff wrapper program.

o The default value for the `broken' keyword in the DESC file is now 0.

Grolj4
------

o A new man page `lj4_font(5)' documents how fonts are accessed with
  grolj4.

o The built-in fonts for LJ4 and newer PCL 5 devices have been completely
  revised, mainly to access as much glyphs as possible.  The provided
  metric files should be compatible with recent PCL 5 printers also.
  Additionally, font description files have been added for the Arial and
  Times New Roman family, the MS symbol, and Wingdings fonts.

Hpftodit
--------

o Completely revised to handle HP TrueType metric files also.  See the
  hpftodit manual page for more details.

Macro Packages
--------------

o www.tmac: New macro `JOBNAME' to split output into multiple files.

o In mdoc, multiple calls to `.Lb' are now supported in the LIBRARY
  section.
2004-07-30 14:44:08 +00:00
nathanw
417df974b7 Add rwlock support to "thread sync" command, and clean up some
whitespace printing.
2004-07-29 17:57:40 +00:00
heas
c5f2fcaa9d Resolve conflicts 2004-07-28 23:19:42 +00:00
heas
6bb314b03e Postfix 2.1.4 2004-07-28 22:48:49 +00:00
heas
24f0e42a18 Add tags in more places, remove useless files, & resolve symlinks.
Largely from grep2netbsd.
2004-07-28 17:18:20 +00:00
nathanw
bb1c6b93e5 Enable scheduler_lock mode. 2004-07-20 21:39:04 +00:00
nathanw
066d05318f Jumbo update to address several issues.
Go back to activating thread debugging in new_objfile(), as well as
several other places, so that thread operations such as wait() can be
handled inside of the child_ops.create_inferior(). This addresses
spurious SIGTRAPs at the start of debugging threaded programs.

Make use of the libpthread_dbg suspend/resume interface to implement
single-thread stepping.

Be a little more sensible about the way IS_LWP and IS_THREAD work.

Don't try to look up mutex data for a spinlock sync object (ugh,
unions).
2004-07-20 21:33:44 +00:00
thorpej
eb9f224468 Integrate / parameterize changes from Chuq Silvers / Nick Hudson to
simplify GP handling on HPPA for NetBSD, and get dynamically-linked
executables working.  Changes to be submitted to FSF:

bfd:
	* config.bfd (hppa*-*-netbsd*): Set targ_defvec to
	bfd_elf32_hppa_nbsd_vec.  Add bfd_elf32_hppa_linux_vec
	to targ_selvecs.
	* configure.in (bfd_elf32_hppa_nbsd_vec): Add case.
	* configure.in: Regenerate.
	* elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd"
	case that accepts OSABI=NetBSD and OSABI=SysV.
	(elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to
	the base of .got or .data (if .got does not exist).
	(elf32_hppa_post_process_headers): For elf32-hppa-netbsd,
	set OSABI=NetBSD.
	(TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case.
	(TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case.
	* targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration.
	(_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec.

gas:
	* config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
	for TE_NetBSD.

ld:
	* emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2004-07-20 20:47:18 +00:00
wiz
0d7d1c090a Remove generated file; probably fixes PR 26333 by salo. 2004-07-17 23:28:35 +00:00
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
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
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
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
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
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
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
heas
ee88aedd7c Correct the previous; should have been statvfs for >2.0D.
Thanks grant!
2004-05-31 03:55: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
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
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
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
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
903a6d7af8 We're using the Linux ELF ABI on NetBSD. Make sure $$dyncall knows this. 2004-04-30 08:13:08 +00:00
heas
4b28ce346e Fix botched merge 2004-04-27 05:35:12 +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
christos
6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +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
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
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
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
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
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
mrg
f433e33bb4 also define __sparcv9. noted by heas@ 2004-03-21 01:22:12 +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
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
matt
5132bfefdc Add support for traversing through signal handler frames. 2004-03-10 01:22:29 +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
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
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
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
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
cf10ab1d3c minor NETBSD_NATIVE adjustments needed for GCC3.3.3. 2004-02-11 16:01:48 +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
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
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
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
nathanw
240c6ac9cf Re-implement fetch_kcore_registers() for alpha. 2004-01-02 22:41:17 +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
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
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
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
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
f158bd2750 Make nan matches __builtin_nan(const char *). 2003-12-08 03:18:07 +00:00
scw
0e54a63381 Recognise sh5 and sh5le. 2003-12-07 09:58:56 +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
mrg
492975536e XXX include <stdint.h> on NetBSD 1.6 and greater.
XXX this file is generated, but this change is needed for GCC2 hosts to
XXX to able to build this file without warnings.
2003-12-05 03:25:36 +00:00
keihan
3a8b7119a9 netbsd.org -> NetBSD.org 2003-12-04 23:32:37 +00:00
mrg
de5c931206 update some local code for binutils 2.14:
s/boolean/bfd_boolean/;
	s/true/TRUE/;
2003-12-04 10:11:12 +00:00
mrg
293d502fe4 delete binutils 2.13 sources. 2003-12-04 02:00:07 +00:00
mrg
eb9e243e98 include "getopt.h" as we refer to struct option. 2003-11-27 13:52:30 +00:00
mrg
e47eb0663b backout most of the previous; it is no longer necessary. 2003-11-27 10:54:17 +00:00
mrg
3a3b2d3c50 delete GDB 5.0. it is no longer used by supported platforms (sorry pc532 :-) 2003-11-27 10:32:25 +00:00
mrg
7764cab06d merge the non-aout-shlib changes forward from gnu/dist/toolchain. 2003-11-27 09:45:33 +00:00
mrg
f8f47744d8 disable rules that modify the source tree. 2003-11-27 09:40:38 +00:00
mrg
ebf56cd11f re-add binutils 2.14 files. 2003-11-26 12:29:43 +00:00
mrg
1a898f987d initial import of binutils 2.14 into gnu/dist/binutils. 2003-11-26 11:33:51 +00:00
mrg
2e50f8ac41 initial import of binutils 2.14 into gnu/dist/binutils. 2003-11-26 11:31:11 +00:00
uwe
10ff81335f Set ENTRY=__start to be consistent with other ELF ports. The produced
binaries are the same, as we provide both _start and __start symbols
for the entry point in crt0.

PR#22073 by Izumi Tsutsui.
Ok by Matthew Green <mrg@netbsd>.
2003-11-23 13:54:11 +00:00
nathanw
d8637f542a Use $(build_exeext) in both the source and destination, like the other
rules.
2003-11-20 18:43:58 +00:00
nathanw
0dcab12a43 Add a missing $(build_exeext) 2003-11-19 23:45:25 +00:00
matt
4e90dd053f Add kcore and netbsd thread support. 2003-11-14 19:10:00 +00:00
matt
8056b67d49 Add kcore & netbsd thread support 2003-11-14 19:08:49 +00:00
briggs
5e0fd052da Fix from Ian Lance Taylor to allow building a cross-gdb with arm--netbsdelf
target.  Patch as seen on tech-toolchain@.
2003-11-14 15:06:15 +00:00
dbj
be929a0a55 update to most recent versions 2003-11-13 03:06:40 +00:00
martin
4b0b317837 Remove unused variables. 2003-11-11 16:28:59 +00:00
martin
6354cf63d2 Fix register offset calculations. From Christian Limpach. 2003-11-11 16:24:23 +00:00
scw
9bf3f153c5 Apply a patch from Richard Earnshaw which fixes a half-word load/store
codegen bug on armeb.
2003-11-11 12:04:13 +00:00
mrg
0bcb648614 set the arm breakpoint depending on the byte order. now armeb gdb works. 2003-11-09 02:52:07 +00:00
mrg
b6f7d4362f default armeb*netbsd* to ARM_FLAG_BIG_END 2003-11-08 06:57:26 +00:00
uwe
af9cced758 The "pref @rN" instruction was introduced in sh3, not sh4, so correct
its sh_opcode_info entry accordingly.
2003-11-07 14:43:18 +00:00
hannken
83bd54e877 Add "target kcore" to gdb53/sparc64.
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.

Approved by: Christos Zoulas <christos@netbsd.org>
2003-11-04 19:33:39 +00:00
scw
2a38410f5e Need to add TARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END to tm_defines if
configuring for armeb.
2003-11-04 14:45:16 +00:00
skrll
c1946cebd4 Index fpregsetp->fpr correctly. 2003-11-03 15:59:11 +00:00
ragge
3a99ca5371 Set USER_LABEL_PREFIX to "", otherwise native compilation of some GNU
utilities (like texinfo) fails.
2003-11-03 10:07:34 +00:00
hannken
3f72313b8e Add "target kcore" to gdb53/sparc.
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.

Approved by: Christos Zoulas <zoulas@netbsd.org>
2003-11-02 20:59:28 +00:00
uwe
1d729d7bc4 First cut at implementing software single stepping for sh3. We need
it because sh3 ports don't provide PT_STEP.  It is finally possible to
run programs under gdb now, though there are still issues to be
resolved.  It was deemed useful enough to commit early, while the work
is still in progress.  Tested on hpcsh.

Blessed by christos@.
2003-10-31 00:11:27 +00:00
mycroft
b9c785bd44 As seen on tech-toolchain:
So the problem is thus:

* The {u,}mulsidi3 generate two parallel sets which modify the upper and lower
halves of the target register.

* life_analysis() does not track subregister modifications -- if you don't
modify the whole register with a single set, it considers the register
unused.

The simple, if klugy, solution to this is to stick an explicit clobber in.  It
seems to work.

While doing this, I noticed that constant folding was not happening for
32x32->64 multiplies.  This is because the parallel set generated by
{u,}mulsidi3 cannot be folded at all.  To solve this, I first expand to a
normal multiply, and then use a define_insn_and_split to convert it to the
parallel set after CSE and constant folding.

This patch has also been submitted to GCC bugzilla, but who knows if I'll get
a reply to that.
2003-10-29 21:25:03 +00:00
matt
f22eb2930b From gcc-patches:
* real.c (encode_ieee_single): Ensure proper promotion.
Back out change to i386.c
2003-10-28 19:08:12 +00:00
mrg
2a50c63fdf change the "long" version from "3.3.2-nb1" to "3.3.2 (NetBSD nb1 20031026)"
which is more inline with what we used previously.
2003-10-27 16:42:33 +00:00
thorpej
75516c03f7 When running mkfixinc.sh, explicltly export SHELL, as well, since on
some platforms (e.g. OS X), we disable exporting make(1) variables in
the environment due to ARG_MAX limitations.
2003-10-27 16:20:04 +00:00
hannken
0165bf4148 Make it compile again. Blind copy-and-paste from sparc64nbsd-nat.c.
Approved by: Christos Zoulas <christos@netbsd.org>
2003-10-27 14:10:54 +00:00
cl
44f9690b65 g/c unused variables 2003-10-27 00:41:09 +00:00
christos
34e2db4a3c Make this link and work again (from Christian Limpach) 2003-10-26 17:45:13 +00:00
mrg
ce063d020a fix a bad merge: s/ifdef/ifndef/. fixes PR#23275 2003-10-26 09:45:44 +00:00
matt
1bafa7eae6 Fix LP64 bug. 2003-10-26 01:32:22 +00:00
chs
9bbee945e7 fix cross-building from linux. this is rev. 1.23 from groff CVS
(with the definition of SHELL added back).
2003-10-26 00:39:23 +00:00
simonb
969d07f64f * mips-tdep.c (mips_addr_bits_remove): Don't shift by 32
From Ian Taylor.
2003-10-26 00:08:23 +00:00
matt
4be480cd15 Fix 64LPism. Use 1L instead of 1 so that sign extension doesn't happen on
bit 31.
2003-10-25 21:55:37 +00:00
matt
91f24c5034 Try dealing with sigtramps better. 2003-10-25 19:01:45 +00:00
matt
7819efde3c GDB 5.3 support for VAX 2003-10-25 18:26:07 +00:00
matt
17aa9b0c9b Use gregset_t/fpregset_t since that's what is really wanted. 2003-10-25 18:25:42 +00:00
cl
54641460eb make m68k/gdb53 compile as a crossgdb
- catch up tm-nbsd.h with gnu/usr.bin/gdb53/arch/m68k/tm.h
- only use nbsd-thread.o in m68k nbsd-host case
2003-10-25 16:20:58 +00:00
he
31cd1c23b7 More fallout from the NULL change:
If we HAVE_STRING_H, include it to bring strchr() prototype in scope.
2003-10-23 16:12:45 +00:00
matt
b8b1ccbdfd If host is x86-*-netbsd*, don't descend into gcc, gdb, and rcs 2003-10-23 02:58:49 +00:00
skrll
899032e619 Consistent naming. 2003-10-22 20:43:12 +00:00
skrll
a69cb4cc55 ARM thread support.
- add or expose {supply,fill}_{fp,g}regset functions
	- add lwpid to ptrace calls
2003-10-21 19:07:36 +00:00
skrll
ee632a37d0 more NULL fallout. 2003-10-21 10:47:48 +00:00
lukem
0aa1a4cb76 revert previous; the items are in tmac.local 2003-10-20 05:26:20 +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
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
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
lukem
56528942aa "anti-timestamp-skew" fixes for gengtype-yacc.c and gengtype-lex.c 2003-10-16 04:35:17 +00:00
fvdl
22cd769ea5 Set some better defaults for OSABI_UNKNOWN, and add NetBSD kcore support. 2003-10-14 22:58:38 +00:00