Commit Graph

1549 Commits

Author SHA1 Message Date
thorpej d61bfb46b5 Make sure we output %progbits instead of @progbits. @ is a comment
character in ARM assembly.
2003-03-05 22:03:22 +00:00
thorpej 7c31b2a553 Fix a merge error which could result in the linker crashing
for static links.  Should fix toolchain/20589.
2003-03-05 21:34:27 +00:00
thorpej 925de95670 Remove the adjust-section-size-for-orphan code. That patch was rejected
by the FSF binutils maintainers, who instead suggested a different way
of addressing the problem.

(Besides, the size adjustment code was broken by the binutils update,
since about 1/2 of the changes got lost.)
2003-03-05 21:02:56 +00:00
thorpej 8844d7e3c0 In place_orphan, simplify the way we allow non-code read-only sections
to be merged with .text if no .rodata section is present.
2003-03-05 20:27:33 +00:00
thorpej a69c74895f Fix a merge error. 2003-03-05 16:55:48 +00:00
skrll 3d4925b3cd Update binutils version and correct gnusrc/ 2003-03-05 08:42:49 +00:00
matt df4902d922 NetBSD doesn't support PS_REGNUM or anything >= MQ_REGNUM. 2003-03-04 21:12:32 +00:00
atatat 382b4984f3 Apply patch from sendmail.org to handle a new header overflow bug. 2003-03-03 21:20:50 +00:00
tsutsui f2ff066472 print_insn_shl() in gnu/dist/toolchain/opcodes/sh-dis.c has been merged
into print_insn_sh(), and print_insn_sh() now checks info->endian
so set it accordingly.

Based on diff from the Sourceware gdb cvsweb:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sh-tdep.c.diff?r1=1.59&r2=1.60&cvsroot=src
2003-03-03 16:58:17 +00:00
tsutsui bc724094e3 Put back some lines removed on 2.13.2.1 merge.
(NetBSD/sh3 actually needs ENTRY=_start)
2003-03-03 16:46:16 +00:00
lukem c2d985356e Consistently comment out rules which attempt to rebuild .info from .texinfo,
(and associated targets for .dvi et al), as well as man pages from .pod,
using a prefix of `#  '.

This prevents a variety of build issues caused by situations such as
cvs checkouts which result in the .texinfo file being slightly newer
than the .info file, and the build process trying to unnecessarily
regenerate them, which will fail in a variety of circumstances
(build tools not available, read-only source, etc ...)

Once a better solution is found, we can switch to it.
For now, this improves things greatly and should reduce a lot of
support requests that would undoubtably appear otherwise...
2003-03-02 13:11:04 +00:00
mrg 2920dd6064 oops; re-enable the asconfig.texi rule. 2003-03-02 08:16:09 +00:00
mrg 5de74f4030 add the prototype for lbasename here where it belongs. 2003-03-01 15:31:34 +00:00
mrg 1c50b08c03 disable rules that try to rebuild files in the source tree (only affects
MKMAINTAINER=yes builds.)
2003-03-01 13:14:17 +00:00
mrg bc8fc1085d merge binutils 2.13.2.1 2003-03-01 12:25:55 +00:00
mrg f84a38cd2d binutils 2.13.2.1 import 2003-03-01 11:28:30 +00:00
mrg ee06049914 import of (most of) binutils 2.13.2.1. no top level, and cut down include/
libiberty.  (gcc update later can update libiberty properly.)
2003-03-01 10:06:40 +00:00
thorpej 5bfc4a9390 Define _REENTRANT as well as _PTHREADS if -pthread is specified on the
command line.
2003-02-28 17:30:12 +00:00
matt 0f7a451b3f Chnage data offset so that is aligned to the next 64KB boundary after text. 2003-02-27 09:38:20 +00:00
nathanw da54f07b88 Print thread name, if any. 2003-02-27 00:55:43 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jmc db7162553c Make sure a few instances of mkinstalldirs is run via $SHELL so it's not
counting on exec permissions from the checked out source
2003-02-22 10:06:52 +00:00
nathanw 99922845b9 Include both application threads and "raw" LWPs in GDB's list of
threads. This is useful for a variety of things, including examing the
internal state of the thread library when things are going wrong
there.

Currently only works on core files; both ptrace and gdb will need a
bit more work before this will be useful on live processes.

Inspired by the similar behavior of the Solaris thread module.
2003-02-17 20:32:04 +00:00
martin 28067ee7b9 Fix an unitialized variable (from binutils 2.13).
Fixes PR toolchain/20377.
2003-02-17 09:33:03 +00:00
rearnsha 66b1593cdb * arm.c (arm_reload_in_hi): Ensure that the scratch register does
not overlap our final result register.

Fixes problem that causes Metafont in teTeX to crash.* arm.c (arm_reload_in_hi): Ensure that the scratch register does
not overlap our final result register.

Fixes problem that causes Metafont in teTeX to crash.
2003-02-15 10:07:16 +00:00
lukem dc45690a3d Terminate (with extreme prejudice) any rules which detect if files
such as Makefile.in are ``out of date'' and ``helpfully'' attempt to
update them with autoconf, autoheader, or automake.
Fixes some toolchain PRs, and my sanity.
2003-02-15 02:25:56 +00:00
wiz 38b57061a5 Merge 4.5. 2003-02-13 08:57:26 +00:00
wiz 6285cf0f68 Import of texinfo-4.5.
Major changes since 4.3:
* Language:
  . The ' (ASCII apostrophe/right quote) character is finally allowed in
    node and anchor names.  Thus, after installing this texinfo.tex,
    existing .aux files will cause errors!  Remove them and rerun TeX to
    generate good ones.
  . @value constructs are now expanded in the filename arguments to
    @include and @verbatiminclude.
* texinfo.tex:
  . @smallexample and the like now output in a smaller font (9pt) in all
    paper formats, not just @smallbook and @afourpaper.
  . new translation txi-tr.tex.
* info:
  . CTRL-H is treated like DEL in incremental search.
  . arrow keys once again work in isearch contexts under Solaris.
* infokey:
  . use .info key bindings before defaults.
  . allow prefix keys to be disabled.
Bug fixes all around.
2003-02-13 08:50:20 +00:00
wiz fd87da38ec Removed by grep2netbsd script (do we want them in regress?). 2003-02-13 08:04:16 +00:00
wiz 5ae0afcbb2 Make diff to 2.5.1 smaller. 2003-02-13 08:01:46 +00:00
wiz 7f2c625432 regen 2003-02-13 07:49:08 +00:00
wiz 8e9c96bbc4 Merge changes from 2.5.1 import. 2003-02-13 07:48:11 +00:00
wiz 930075e3a9 Import of grep-2.5.1 (bugfix release). 2003-02-13 07:43:07 +00:00
tsutsui c10cb12be7 Pull up changes from binutils master sources
<http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/?cvsroot=src>
to fix relocation problem on linking startup routines for sh3:

src/bfd/elf32-sh.c revision 1.36:
> * elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make
> partial_inplace, matching assembler output.  Set src_mask to
> all ones.
> (sh_elf_relocate_section): Delete misplaced comment.
> For relocatable linking against section symbol, call
> _bfd_relocate_contents for partial_inplace relocs and adjust
> rel->r_addend for others.
> <case R_SH_DIR32, R_SH_REL32>: Fetch partial_inplace addend with
> bfd_get_32, not at rel->r_addend.

src/gas/config/tc-sh.c revision 1.43:
> * config/tc-sh.c (md_pcrel_from_section): Transformed from
> md_pcrel_from.  Handle pc-relativeness against link-time
> symbol.  Handle relativeness to elsewhere than the fixup.

src/gas/config/tc-sh.h revision 1.14:
> * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
> (md_pcrel_from_section): Prototype.

Thanks to Kaz Kojima and Jason R Thorpe for their comments.
2003-02-08 17:09:35 +00:00
lukem cde74ef45d Remove dependencies on .y files as well.
Per request from Jason "Mr. Toolchain" Thorpe.
2003-02-08 08:43:02 +00:00
lukem 0de4f7b5d2 Remove dependency of $(srcdir)/c-gperf.h on c-parse.gperf, because we
don't have gperf in the base system, and differences in timestamps in
these files due to a cvs checkout can cause lossage.
2003-02-07 04:14:27 +00:00
perry 8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
martin 855375b3f6 Don't try to look back in the instruction stream beyound it's start
if an object file starts with a branch/call/jump instruction creating
a branch delay slot at offset < 8.
2003-02-02 01:15:42 +00:00
simonb 0fd8c49338 Add a --redefine-syms-file option from Chris Demetriou's proposed patch
in http://sources.redhat.com/ml/binutils/2002-09/msg00505.html.
2003-01-29 10:26:22 +00:00
thorpej e5cd4ce42c Bump version to nb4 to reflect the -pthread option. (Thanks for the
reminder, Klaus..)
2003-01-28 18:36:04 +00:00
jdolecek a725c77213 do NOT force definition of _POSIX_SOURCE, at least not on NetBSD,
especially when you follow using non-POSIX vfork()

defining _POSIX_SOURCE means "POSIX clean environment", which means
(besides other things) that we won't get proper definition of e.g.
vfork() and end up with the compatibility stub
2003-01-28 14:37:21 +00:00
mrg fe5e3928eb include <stdlib.h> for alloca() prototype. 2003-01-28 01:43:34 +00:00
wiz 64afb4c530 Add grep2netbsd pre-import conversion script. 2003-01-27 00:11:18 +00:00
wiz d89d70fc8b Get patches from pkgsrc to make it build. 2003-01-26 23:55:52 +00:00
wiz 22e6e71f2f Add pre-generated .gmo files. 2003-01-26 23:50:50 +00:00
wiz 91d3eacedf Re-add some files lost through .cvsignore files during grep-2-5 import. 2003-01-26 23:41:38 +00:00
wiz 4939cd34f0 Remove traces of old -o. 2003-01-26 23:38:50 +00:00
wiz cb30a4458a Remove some unneeded files. 2003-01-26 23:32:21 +00:00
wiz 7b437baca2 Merge with 2-5-0. 2003-01-26 23:30:44 +00:00
wiz aa93e07d05 Reimport grep-2.5 with tag grep-2-5-0 with .cvsignore files removed
beforehand (grrrr, no need for them in a tarball...).
2003-01-26 23:27:23 +00:00
wiz 6d37ad7d79 Merge with grep-2.5, part one. 2003-01-26 23:21:46 +00:00
wiz 49af49c40e Import grep-2.5.
Warning: -o is now a valid GNU grep option (--only-matching (-o)), so we
will not be supporting the 4.4BSD -o any longer -- use -H instead.
2003-01-26 23:15:08 +00:00
wiz 337a8f0a56 Re-add. 2003-01-26 01:53:40 +00:00
wiz c7edc51686 Add diffutils2netbsd pre-import script. 2003-01-26 00:50:50 +00:00
wiz d38d5e887e Merge diffutils-2.8.1. 2003-01-26 00:47:42 +00:00
wiz b8ffffc7d9 Import of diffutils-2.8.1 (converted with to-be-committed
diffutils2netbsd script).
2003-01-26 00:43:02 +00:00
tsutsui 2d9f30d305 Since sh--netbsdelf doesn't have leading underscore,
don't define __USER_LABEL_PREFIX__ as "_" in cpp.
Ok'ed by thorpej.
2003-01-25 17:35:53 +00:00
thorpej fbea162b87 * Use gthr-posix.h if --enable-threads.
* If -pthread is specified, add -lpthread and -D_PTHREADS.

More thread support to come; this is just a start (sigh, it's
handled so much nicer in 3.3...).
2003-01-24 22:40:02 +00:00
wiz 786c896ca5 Merge 1.11.5. 2003-01-21 09:43:36 +00:00
wiz 3cf515684c Initial import of cvs-1.11.5 (security fix was already in-tree). 2003-01-21 09:36:52 +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
wiz db3fba8dd0 Remove GNU cpio and GNU tar, replaced by pax frontends. 2003-01-18 01:11:23 +00:00
wiz 3b8d5a75ff Add texinfo2netbsd script for import preparation. 2003-01-17 15:41:05 +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 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
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
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
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
perry cc42061ca2 add rcsids 2002-12-24 21:37:43 +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 b721296743 import postfix 2.0.0.1 2002-12-24 19:39:42 +00:00
wiz c8afb6fe49 therefore, not therfore. From Adrian Mrva. 2002-12-21 13:12:33 +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