Commit Graph

3944 Commits

Author SHA1 Message Date
wiz 3cf515684c Initial import of cvs-1.11.5 (security fix was already in-tree). 2003-01-21 09:36:52 +00:00
thorpej c50dc4c8fc Add port-sh5, port-evbsh5, port-x86_64, port-hppa, and port-hp700. 2003-01-20 17:48:59 +00:00
simonb 276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
martin 8124b6df6c Link and initialize thread support for alpha and arm. 2003-01-19 18:50:21 +00:00
martin 01313c857c Thread support for sparc and sparc64. 2003-01-19 18:33:25 +00:00
martin d05cc42d06 Thread support for sparc and sparc64, not yet complete. 2003-01-19 18:32:39 +00:00
lukem 8c51a2ac71 When creating a "stamp" file with cp(1), explicitly provide the target
file name rather than relying upon "$@", since the latter might be the
path to an older version of the "stamp" file located in (possibly read-only)
source.
Fixes an annoying-to-debug build problem I hit in tools/texinfo...
2003-01-19 04:57:20 +00:00
christos 18d9e78838 merge nathanw_sa 2003-01-18 21:59:41 +00:00
christos 83ddcbcf97 merge nathanw_sa 2003-01-18 21:42:07 +00:00
christos fe59493187 merge nathanw_sa 2003-01-18 21:36:47 +00:00
thorpej 456af78ad8 Merge the nathanw_sa branch. 2003-01-18 21:13:03 +00:00
grant 82c28ff066 fix some Unix -> UNIX, Posix -> POSIX and some typos.
From Igor Sobrado in PR pkg/19666.
2003-01-18 18:54:10 +00:00
wiz db3fba8dd0 Remove GNU cpio and GNU tar, replaced by pax frontends. 2003-01-18 01:11:23 +00:00
wiz c73b0887c0 Add ${IDIST}/makeinfo to .PATH for texinfo.dtd and texinfo.xsl. 2003-01-17 21:52:10 +00:00
wiz a3d77729f3 Add infokey utility; install more locales and texinfo.dtd and texinfo.xsl. 2003-01-17 16:04:15 +00:00
wiz 3b8d5a75ff Add texinfo2netbsd script for import preparation. 2003-01-17 15:41:05 +00:00
wiz 15a719d303 Preliminary update for 4.3.
Define IDIST and use it instead of ${DIST}/texinfo.
2003-01-17 15:32:23 +00:00
wiz f4370a0607 Handle conflicts after 4.3 import. 2003-01-17 15:25:44 +00:00
wiz 546d89be5d Import of texinfo-4.3. 2003-01-17 14:54:14 +00:00
christos 4fc750a8e7 PR/19762: Urban Boquist: Make gssapi work again. 2003-01-16 13:42:49 +00:00
wiz 97cbe2b2be Not needed (will be automatically generated from getdate.y). 2003-01-16 12:22:33 +00:00
wiz 7db7049e69 More diff reduction vs 1.11.4 (actually a merge error...). 2003-01-16 03:15:55 +00:00
wiz 250491c9af More syncing with cvs-1.11.4. 2003-01-16 03:06:43 +00:00
wiz 730bdec1d2 Remove Dollar signs around another Id tag. 2003-01-16 03:00:37 +00:00
wiz 1da4d8f87c Minimize diffs with 1.11.4. 2003-01-16 02:57:47 +00:00
wiz 75b23fb832 Unused. 2003-01-16 02:51:20 +00:00
wiz f099694510 Replaced by cvsbug.in. 2003-01-16 02:50:12 +00:00
wiz 1ae8b014e0 Unneeded. 2003-01-16 02:49:27 +00:00
wiz a1c160fcab Replaced by cvs.spec.in for some time now. 2003-01-16 02:45:57 +00:00
wiz bc095c7c0b Renamed to *.in for some time now. 2003-01-16 02:45:06 +00:00
wiz 680c69437a Changes to build 1.11.4. 2003-01-16 02:37:00 +00:00
wiz f4d12e1051 Fix import instructions -- gnusrc is gone. 2003-01-16 02:35:17 +00:00
wiz 6aa895a2be Fix conflicts, merge to 1.11.4. 2003-01-16 02:33:08 +00:00
wiz 0cd0661e77 Import cvs-1.11.4. 2003-01-16 02:15:31 +00:00
matt 6fdfb50787 sim depends on bfd so make it is in front of bfd in the library list. 2003-01-13 07:09:53 +00:00
christos 264aa571b8 Fixes from Stefan Esser
- Avoid double free in dir_name
- Disable checkin-prog and update-prog
2003-01-13 00:09:17 +00:00
mrg b83a08e1ff allow NO_SENDMAIL to equal "no" 2003-01-09 16:57:45 +00:00
wiz 1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz 5e442fbbdd specified, not specifed. 2003-01-06 12:38:47 +00:00
pooka 732f4c9fa5 Add ${MACROS} to ${ROFF} usage to make output readable
from jbernard@mines.edu in misc/19685
2003-01-05 12:24:22 +00:00
wiz 7157d2da1c ouput -> output, from Igor Sobrado in PR 19667. 2003-01-04 11:05:22 +00:00
wiz 06eb662ff9 Repetition, not repitition. 2003-01-03 12:11:49 +00:00
jschauma 82f3464942 Fix typos pointed out by Igor Sobrado in PR misc/19645 (some of these
have already been fixed by others):

groff(7)        - repition (repetition), 2-characer (2-character),
		lenght (length), ident (indent)
groff_man(7)    - supressed (suppressed)
groff_markup(7) - SYNPOSIS (SYNOPSIS) (is it the "SYNOPSIS" section?)
groff_mm(7)     - wich, defualt (default), centerered (centered),
		behavies (behaves), argmuent (argument),
		with a automatically (with an automatically),
		Varable (Variable???), captial (capital),
		argumenent (argument), specifed (specified),
		excibits (is that word ok?), digitsized (digit-sized?),
		lable (label)
troff(1)        - environents (environments)
grohtml(1)      - supress (suppress)
groff_font(5)   - intepreted (interpreted)
groff_tmac(5)   - constitue (constitute???)

(Changes also sent to gnu.org)
2003-01-03 04:02:06 +00:00
tron 55ccbca240 Fix an incorrect assert() which was triggered when the RCS buffer was
empty at the entry to rcsbuf_getkey().
2003-01-02 15:19:49 +00:00
jschauma 432d470724 Fix typos pointed out by Igor Sobrado in PR misc/19621. 2003-01-02 00:22:29 +00:00
tsutsui 3191c1ad08 Mention -b and -v flags which were added when dbsym(8) was BFD'fied. 2002-12-28 21:47:02 +00:00
wiz cf6ded352c Let the commit message contain an empty line by default.
[Not in 1.11.2; was in 1.11 and earlier.]
2002-12-25 23:29:19 +00:00
lukem ab7ffcee5e remove ${DESTDIR} from symlink target 2002-12-25 07:45:35 +00:00
perry cc42061ca2 add rcsids 2002-12-24 21:37:43 +00:00
perry d12135aa79 resort, add html, clean up 2002-12-24 21:21:03 +00:00
perry df21694424 some of these are links 2002-12-24 21:20:09 +00:00
perry e48601bf9e add RELEASE_NOTES 2002-12-24 21:07:49 +00:00
perry 4e499dab3c update. 2002-12-24 20:56:12 +00:00
perry cad21f274d resolve conflicts 2002-12-24 20:38:22 +00:00
perry 7857417570 resolve conflicts 2002-12-24 20:26:59 +00:00
perry 18338a662b update for postfix 2.0.0.1 2002-12-24 19:47:47 +00:00
perry 56fd167ac6 Add Makefile for the postfix html docs 2002-12-24 19:45:36 +00:00
perry b721296743 import postfix 2.0.0.1 2002-12-24 19:39:42 +00:00
lukem 144b55005f Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.
2002-12-23 06:52:48 +00:00
wiz c8afb6fe49 therefore, not therfore. From Adrian Mrva. 2002-12-21 13:12:33 +00:00
wiz e9bf1ab238 compatibility, not compatability. From Adrian Mrva. 2002-12-21 13:10:54 +00:00
wiz d4bb2d1451 specifying, not specifing. From Adrian Mrva. 2002-12-21 13:08:41 +00:00
wiz 574adf7715 environment, not environent. From Adrian Mrva. 2002-12-21 13:07:48 +00:00
wiz 1c682d9b0f administrator with two is, from Adrian Mrva. 2002-12-21 12:23:33 +00:00
kristerw 980f45b693 Place EH labels on the permanent obstack. Fixes PR 18314.
Background:
Originally, the EH labels were placed on the permanent obstack, which
could end up using a lot of memory (for heavy inlining) since inlined
labels also needed to be permanent as a result of this.

This was changed in

   Wed Dec  9 09:12:40 1998  Andrew MacLeod  <amacleod@cygnus.com>

	* except.h (struct handler_info): Add handler_number field.
	* except.c (gen_exception_label): EH labels no longer need to be
	on the permanent obstack.
	(get_new_handler): Set the label number field.
	(output_exception_table_entry): Regenerate handler label reference
	from the label number field.
	(init_eh): Remove a blank line.
	* integrate.c (get_label_from_map): Labels no longer need to be
	on the permanent obstack.

by using the label numbers instead of the label structures in most cases.
The operative word here is "most" cases. Addresses to the EH RTX was still
used in (at least) flow.c, that now used freed memory. Oops.

For this to happen, the freed address of the RTX representing a EH label
must be reused for a new label that is located in dead code. delete_block()
will then see that this RTX is mentioned in the EH table, and (incorrectly)
remove the exception handler.

This might be seen when, for example, compiling
src/gnu/dist/groff/src/roff/troff/node.cc for m68k.
2002-12-16 19:33:50 +00:00
thorpej 807b74c49c Skip sys_errlist for __APPLE__. 2002-12-16 06:35:48 +00:00
tron 6c9c8b753c Fix toolchain build problem. 2002-12-13 15:37:10 +00:00
imp d1f4286bb5 FreeBSD needs the same special hacks for sys_errlist and sys_siglist during
cross building.
2002-12-10 17:39:52 +00:00
thorpej 8ddcb88aa5 Avoid conflict with reserved identifier "log". 2002-12-06 16:01:14 +00:00
scw f88b19a600 Avoid strict-alias warnings. 2002-12-06 09:57:58 +00:00
christos a5eb73d466 Better fix for the portability cast problem via Urban Boquist. 2002-11-28 22:04:46 +00:00
christos a65d983bd0 this is not used anymore. 2002-11-28 22:03:41 +00:00
christos 71a5c52102 we have mkstemp 2002-11-28 22:03:11 +00:00
itojun 8d1263a490 deal with systems with sizeof(void *) != sizeof(int) 2002-11-28 10:00:17 +00:00
itojun 935a2e30db fix pointer-to-int cast problem 2002-11-28 09:57:16 +00:00
christos c4b90ab8cd resolve conflicts. I have not tested ipv6 or gssapi. 2002-11-28 05:59:06 +00:00
christos 6040caeaed add annotate.c and remove rtag.c for 1.11.2 2002-11-28 05:57:55 +00:00
christos 56783dd727 import cvs-1.11.2 2002-11-28 04:53:41 +00:00
itojun 9b18994fd3 sync w/ 1.1.12. 2002-11-26 03:38:12 +00:00
itojun fd0368cb1f postfix 1.1.12 2002-11-26 03:29:46 +00:00
thorpej 3ff9eb92d3 Make it possible for the a.out BFD back-end to merge read-only
sections with .text if the following 3 conditions are true:

1. Section has file contents and is read-only.
2. The VMA of the section is after the end of .text and before
   the start of .data.
3. The image is demand-pageable (otherwise, a_text in the header
   will not reflect the gap between .text and .data).

Fixes PR 19164.
2002-11-25 23:15:15 +00:00
thorpej 9022b5f984 In ASM_SPEC:
* If -mhard-float is passed to the compiler, pass -mfpa10 to the assembler.
* If -msoft-float is passed to the compiler, pass -mfpu=softvfp to the
  assembler.
* If neither -mhard-float nor -msoft-float are passed to the compiler,
  pass -mfpu=softvfp to the assembler.

These changes properly mark objects as using soft-VFP, as is the default
code generation for NetBSD ARM ELF.
2002-11-21 17:57:35 +00:00
thorpej aedbc29a82 Various changes to support soft-vfp:
* FPU_MEMMULTI -- only include the FPU_FPA10 bit.
* FPU_ARCH_VFP -- define, meaning "uses VFP-format layout".
* FPU_FPA -- define short-hand for (FPU_CORE|FPU_FPA10).
* FPU_DEFAULT -- FPU_ALL -> FPU_FPA.
* Floating point instructions -- FPU_ALL -> FPU_FPA.
* Also set F_SOFT_FLOAT if FPU_ARCH_VFP.
* Set F_VFP_FLOAT if FPU_ARCH_VFP.
* md_atof: lay out bytes properly if using VFP.
* Accept -mfpu=softvfp.
* For -mall, set the FPU part of cpu_variant to FPU_FPA, instead of
  FPU_ALL.
2002-11-21 06:32:20 +00:00
thorpej fafe44f640 From bintuils-current:
In elf32_arm_merge_private_bfd_data(), if the input-bfd and output-bfd
do not have matching VFP indication, report an error.
2002-11-21 06:27:33 +00:00
thorpej efce487d2d Define the header bit indicating VFP-format floating point. 2002-11-21 06:25:57 +00:00
thorpej bdf3ddd15f Regenerate (unfortuantely, with a much later version of bison). 2002-11-20 06:57:01 +00:00
thorpej accdd8107f Fix a problem with placing orphaned sections (like the ones with
C-referenceable names, i.e. "link sets") that happens with explicit
LMAs in the linker script:

	* As orphans are sorted after sections, the effective
	  size of the section is changed.  Record a size ajustment
	  for each orphan that is sorted after the section.

...and for sections which have an explicit load address expression:

	* The first time an orphan is sorted after a section,
	  copy the load_base expression to the orphan, adding
	  the _unadjusted_ size of the parent section.  We need
	  to use the unadjusted size because by the time the
	  expression can be folded, all of the orphan size
	  adjustments will have accumulated, resulting in misplacing
	  the orphan.

	* For each subsequent orphan sorted after a section,
	  set the load_base of the orphan to the load address
	  of the previous orphan plus the size of the previous
	  orphan (actually, the unadjusted size, but for orphans,
	  size and unadjusted size are always equal).
2002-11-20 06:51:07 +00:00
thorpej ee325b474f Back-port "spec functions" from GCC 3.3. Use if "if-exists()" spec
function to include crti.o/crtn.o in the STARTFILE and ENDFILE
specs, respectively.

Corresponding GCC ChangeLog entry:

2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>

        * gcc.c (The Specs Language): Document spec functions.
        (static_spec_functions, lookup_spec_function)
        (eval_spec_function, handle_spec_function)
        (if_exists_spec_function, alloc_args): New.
        (execute): Abort if processing_spec_function is true.
        (do_spec_1): Hand off spec to handle_spec_function if %:
        is encountered.  If processing_spec_function is true,
        end any pending argument when the end of the string is reached.
        (main): Use alloc_args to allocate the initial argument vector.
        * gcc.h (struct spec_function): New.
        (lang_specific_spec_functions): New extern.

        * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
        (ENDFILE_SPEC): Add if-exists(crtn%O%s).
        * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
2002-11-19 04:46:12 +00:00
thorpej 260b39b0f5 Put const data in .rodata (cut-and-pasted from linux-elf.h). Pass -matpcs
to the assembler.
2002-11-17 06:03:07 +00:00
thorpej 6cdb340cbc Define __ABICALLS__ if -mno-abicalls is not specified. 2002-11-10 18:01:50 +00:00
thorpej 79a6015e7e Fix PIC handling logic in ASM_SPEC: always pass -KPIC to the assembler
unless one of the following flags are passed to the compiler:

	-mno-abicalls
	-fno-pic
	-fno-PIC

Based on the following change in gcc-current:

2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>

        * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
        unless -fno-pic or -fno-PIC is specified.

The -mno-abicalls handling is new to this patch, and will be checked
into gcc-current shortly.
2002-11-09 08:09:21 +00:00
heinz 30a9e0125d Correct list of options for 'commit': '-F file', as mentioned in the
explanation of 'commit'.

Minor nit.
2002-11-06 22:26:47 +00:00
thorpej 8fa28a286c Bring in the following change from Binutils-current:
2002-09-28  Matt Thomas  <matt@3am-software.com>
            Jason Thorpe  <thorpej@wasabisystems.com>

        * config/tc-vax.c (md_estimate_size_before_relax): Only try to
        convert undefined references to GOT32/PLT32 if PIC code is
        requested.  Fix comment.
2002-11-05 14:33:35 +00:00
thorpej b4f17138b9 * Tidy up CC1_SPEC. Remove the -mno-pic flag, which didn't actually
work properly.
* Add a new -mno-asm-pic flag which tells the assembler to assemble
  the code non-PIC even if it was compiled PIC.
2002-11-05 14:31:58 +00:00
thorpej 64a5da6461 Revise previous to xstrdup the basename earlier; an intervening call to
basename() was occurring.

Pointed out by Matthias Drochner.
2002-11-01 16:07:37 +00:00
thorpej f8b18efd0c xstrdup the return value of basename() before recording it in the bfd
with bfd_elf_set_dt_needed_soname().  Fixes the "NEEDED crtend.o"
problem reported on tech-toolchain/current-users.

Problem spotted by Ryo HAYASAKA <ryoh@jaist.ac.jp>.
2002-10-31 23:21:17 +00:00
wiz 30d6695239 Comment out cross-references to man pages that don't exist.
Closes PR 18862 by rtr at wasabisystems com.
2002-10-31 02:51:06 +00:00
rafal 2fdb31c4e3 Fix a bug with list handling that caused this to abort with a "extraneous
<string>" message if the stars were aligned incorrectly due to fast-and-
loose list handling.

The list handling code didn't discriminate between list nodes and list
heads, resulting in string comparisons using memory in the "list heads
by length" array as the target of the comparison; if the string being
handled was short enough and the pointers present in the list heads
array were just the right form the tool would get spurious matches and
exit with the above message.

PR toolchain/18858
2002-10-30 18:14:37 +00:00
thorpej 1268b2dbc5 Add an x86_initialize_trampoline() function, similar to GCC 3.3,
change INITIALIZE_TRAMPOLINE() to use it, and apply the following
patch to it (which I have already submitted to GCC 3.3):

	* config/i386/i386.c (x86_initialize_trampoline): Emit a call
	to __enable_execute_stack with the address of the trampoline
	if TRANSFER_FROM_TRAMPOLINE is defined.

Define a TRANSFER_FROM_TRAMPOLINE suitable for NetBSD targets, to enable
stack execution on target machines which can separate exec permissions for
a region:

	* config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define.
	* config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
	as NETBSD_ENABLE_EXECUTE_STACK.
	* config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
	* config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
	* config/sparc/netbsd-elf-common.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
	* config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.

(A similar patch will be submitted to GCC 3.3.)
2002-10-18 16:23:47 +00:00
thorpej 00b192ce18 Bring in the following fix from gcc-current:
2002-10-17  Jason Thorpe  <thorpej@wasabisystems.com>

        * config/alpha/alpha.c (alpha_initialize_trampoline): Use
        tramp, not addr, to pass the trampoline address to
        __enable_execute_stack.

Otherwise, incorrect behavior would result if the trampoline happend
to stradle a page boundary.
2002-10-17 21:01:03 +00:00