Commit Graph

4046 Commits

Author SHA1 Message Date
thorpej feff2fbbe6 Add support for the %j format length modifier (intmax_t). We have to
add intmax_type_node and uintmax_type_node globals to support this.
2003-03-14 21:24:44 +00:00
hannken 4a0f3bd75c Pass -m403 to gas.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2003-03-14 20:41:38 +00:00
thorpej 563e78c49c Support a Mac OS X host. 2003-03-14 19:34:26 +00:00
thorpej 61f1ee2222 Link back-end helper host tools against libnbcompat. 2003-03-14 03:44:11 +00:00
thorpej c24b9b414e Support Mac OS X host. 2003-03-13 02:17:58 +00:00
thorpej 104c77b807 The preprocessor in Apple's GCC 3.1 doesn't like being passed a macro
with empty arguments on each side of the comma; hack around this.
2003-03-12 23:00:40 +00:00
thorpej ea5ffc0fa7 Don't do _INTL_REDIRECT_ASM if __APPLE__. 2003-03-12 22:46:25 +00:00
thorpej 834dd24299 Fix a couple of merge errors. 2003-03-12 03:46:11 +00:00
thorpej 9e72adcc79 Grok "z" (size_t) and "t" (ptrdiff_t) format length modifiers. 2003-03-11 21:39:34 +00:00
perry 83fbadc93f resolve conflicts 2003-03-08 19:43:56 +00:00
perry b5fe7b6a73 update for postfix 2.0.6 2003-03-08 19:12:16 +00:00
perry 59d07125ee import postfix 2.0.6 2003-03-08 19:05:29 +00:00
thorpej 53c077e6a5 Pull in a patch from GCC 3.3 that's been in my local tree for a long time:
(*mulsi3_compare0, *mulsi_compare0_scratch, *mulsi3addsi_compare0,
*mulsi3addsi_compare0_scratch): Predicate on !arm_is_xscale.

(mulhisi3, *mulhisi3addsi, *mulhidi3adddi): New patterns, predicated
on arm_is_xscale.
2003-03-06 20:58:20 +00:00
christos bcb98aa28e handle repositories that contain symlinks in their path. 2003-03-06 16:14:34 +00:00
matt bd8300b07a Update ELF_MAXPAGESIZE to 64K to match elf32vax.sc. This to facilitate
page table page sharing.
2003-03-06 07:36:30 +00:00
thorpej 40543d7e0e Go back to using bfd_{get,put}_32() for now. 2003-03-06 00:31:41 +00:00
thorpej fab643fb6f Update dbsym(8) to work with the new BFD. From Tom Spindler, tweaked
slightly by me.
2003-03-06 00:26:10 +00:00
wiz d201ab9752 Moved back to usr.sbin. 2003-03-05 22:09:46 +00:00
wiz 54ad96333d Build map-mbone, mrinfo, mrouted, and mtrace from usr.sbin again instead
of gnu/usr.sbin, now that the license has been cleared.
2003-03-05 22:09:07 +00:00
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
mrg bcc7fbc456 regenerate all this files with correct man_MANS and TEXINFO, and 'generated
from' lines.  this should fix set lists problems with missing binutils man
pages and info manual.
2003-03-05 07:19:13 +00:00
matt df4902d922 NetBSD doesn't support PS_REGNUM or anything >= MQ_REGNUM. 2003-03-04 21:12:32 +00:00
dogcow dd911e8f5d Reworked the bfd accesses to use the documented interfaces.
Also, use the file offsets for direct reading/writing, rather
than going through poorly-documented bfd internal magic.
2003-03-04 12:16:41 +00:00
dogcow 12931a397c change bfd_close -> bfd_close_all_done, as to discard any changes libbfd
thinks may have been made to the object file during symbol groveling.
2003-03-04 08:32:58 +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
mrg c8e7bd6d18 back out previous:
- didn't need to/mean to update libstdc++ yet

	- mknative generated bogus files that ended having libstc++ not install
	various required headers.

should fix the "can't find iostream.h" lossage in src/regress.
2003-03-03 13:58:24 +00:00
jdolecek d3e0e12a79 move gawk to separate line, so that it's easier to comment the entry out 2003-03-02 18:22:01 +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 1fdd6e4cde build libopcodes separately from libbfd as in binutils 2.13 they have
separate CFLAGS name spaces, and the old combined method no longer works.
2003-03-01 13:18:28 +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 331f9d9c1a update / regenerate for binutils 2.13.2.1 2003-03-01 13:09:11 +00:00
mrg 866f7891df update / regenerate for binutils 2.13.2.1 2003-03-01 13:09:09 +00:00
mrg f2f9754b55 update / regenerate for binutils 2.13.2.1 2003-03-01 13:08:42 +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 cd2db110c5 Add IDIST variable to avoid having to duplicate paths. 2003-02-14 08:25:36 +00:00
wiz e759cc834f Update for 4.5. 2003-02-13 09:01:13 +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 657e871433 Update for grep-2.5.1. 2003-02-13 07:55:08 +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 ceb43cbb02 do not install libioP.h nor iostreamP.h 2003-01-28 14:40:59 +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 024a7d26ca Build and install gzip.info. 2003-01-27 09:07:13 +00:00
wiz 42ca888796 Add gzip.texi and gpl.texinfo from gzip-1.2.4a [needed for building
gzip.info].
2003-01-27 09:06:55 +00:00
wiz bbaec56433 Sync with gzip-1.2.4a (typo fixes and email address changes). 2003-01-27 00:44:14 +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 2a76369fee Build structure update for grep-2.5. 2003-01-26 23:53:44 +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
elric f344b59521 Point to an existing dist dir. 2003-01-26 06:51:04 +00:00
wiz 337a8f0a56 Re-add. 2003-01-26 01:53:40 +00:00
wiz 68e059531a Remove old diffutils-2.7 build structure. 2003-01-26 00:53:28 +00:00
wiz c7edc51686 Add diffutils2netbsd pre-import script. 2003-01-26 00:50:50 +00:00
wiz 6b9deacc5d Descend into diffutils instead of diff, diff3, and sdiff (for new
diffutils-2.8.1 build structure).
2003-01-26 00:49:51 +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
wiz 488efef5d4 Import build structure for diffutils-2.8.1. Reviewed by christos. 2003-01-26 00:40:40 +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 c46e8627bc Sync a bit more with default output -- these do not need to be defined (no change in build):
HAVE_LOGIN, HAVE_LOGOUT (will only add #defines if cvs's login/logout conflict)
HAVE_SELECT, HAVE_USLEEP (only used if nanosleep() is not found).
2003-01-23 21:06:50 +00:00
wiz b9537c9578 Update strings for 1.11.5, noted by rafal. 2003-01-23 20:41:01 +00:00