Commit Graph

5967 Commits

Author SHA1 Message Date
matt 3998b655ea Explicitly make sure TARGET_SECURE_PLT is defined correctly rather than
relying on HAVE_AS_REL16 from "auto-host.h".
2011-02-25 22:36:10 +00:00
joerg bb8c5e2153 bsd-kvm.c needs -D_KMEMUSER now. 2011-02-18 22:27:51 +00:00
christos 13b2862bfd Tell the groff and friends about libsaslc(3).
Sort and fix whitespace on mdoc.local.
Add libisns to doc2html.
2011-02-11 23:47:49 +00:00
matt 73f5a201e2 Default NetBSD to -msecure-plt now. 2011-02-10 07:18:29 +00:00
joerg 403637aa12 Explicitly use template to allow building with the more strict
template lookup in clang. From FreeBSD.
2011-02-05 00:37:40 +00:00
uwe 9d18d32a41 Branch with delay slot executes delay slot even if branch is not
taken, so adjust next_pc logic accordingly.  Fixes SIGILL
(breakpoint's "trapa" causes an illegal slot instruction exception)
when stepping through such branches.
2011-02-04 00:05:29 +00:00
pooka ff1200ecb5 add port-emips 2011-01-27 18:51:16 +00:00
matt 529766656e mips64 gcc now defaults to soft-float 2011-01-23 06:31:39 +00:00
matt b2fee41732 Default mips64 to softfloat. 2011-01-23 06:29:52 +00:00
uwe 7b244b7d28 Add FreeBSD-9.0. 2011-01-19 00:10:10 +00:00
wiz c1f176e16d Move isns description from dist/groff to usr.bin/groff, where it belongs.
Add isns to mdocml libraries as well.
2011-01-18 09:28:42 +00:00
matt 6038a89b0e Change to reflect switchframe/callframe changes. 2011-01-18 01:28:19 +00:00
matt 9925d622a5 Enable E500 (mpc85xx) support in GCC. 2011-01-18 00:19:28 +00:00
matt bd081d44b9 Make the MIPS N32/N64 ABIs properly support 128-bit long doubles. With this
change, we should be fully conformant with the N32 and N64 ABIs.
Add {fpclassify,infinity,isnan,ininf,signbit}l_ieee754.c back to lib/libc/gen.
Note that infinityl_ieee754.c will work with either 64-bit, 80-bit, or
128-bit long doubles.
2011-01-17 23:53:03 +00:00
christos 0de39c68e9 add libisns 2011-01-17 21:57:04 +00:00
joerg 0e4ac962b5 Remove NOMANDOC, the documents are at least parsed somewhat sensible. 2011-01-12 23:03:55 +00:00
njoly 93cbd1415d Regen amd64 files for 32bit binaries support. 2010-12-24 14:49:18 +00:00
njoly c196326bfe Add support for 32bit (i386) binaries on amd64. 2010-12-24 14:46:02 +00:00
njoly deb4c35e46 Adjust LDFLAGS handling to fix curses detection for mknative-gdb. 2010-12-24 13:12:09 +00:00
matt fbd8cee2df Emit DWARF relocation in its expected form 2010-12-22 02:58:35 +00:00
joerg 6c436c698f Push C++ library linkage into the shared Makefile.inc fragments. 2010-12-16 22:54:18 +00:00
wiz 3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
joerg 674a655551 Prefix ctype bitmask macros with _CTYPE 2010-12-14 02:28:57 +00:00
mrg 1b84084183 remove obsolete file 2010-12-11 23:04:46 +00:00
joerg 2822ac080b Fix some LP64 issues 2010-12-08 01:54:21 +00:00
plunky f33b316b63 Remove the do-external-lib and do-gnu-lib targets, along with
external/lib/Makefile and crypto/external/lib/Makefile, replacing
them all with SUBDIRs directly from lib/Makefile.

compat/compatsubdirs.mk becomes simpler now, as everything is built
from lib/Makefile, meaning all the libraries will now be built under
compat so update the set lists to account for that.
2010-12-03 21:38:46 +00:00
skrll 15fa0783d7 Centralise USE_COMPILERCRTSTUFF.
PCC might need help.
2010-11-28 18:40:54 +00:00
skrll 4da31ee6bb Don't create weird notes section in hppa binaries.
XXX maybe pa_netbsd_file_start is the proper fix.
2010-11-25 21:37:04 +00:00
skrll 50eaa87a8f Update pa-netbsd.h to match pa-linux.h where it should. That is, remove
local definitions of

	ASM_PREFERRED_EH_DATA_FORMAT
	ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX

and make it obvious we're not using local ASM_OUTPUT_INTERNAL_LABEL

This fixes the current build problems (and probably more)
2010-11-10 18:28:29 +00:00
dholland 5685631206 Fix -o behavior with patterns that match the empty string, as per PR 43896. 2010-09-28 00:54:04 +00:00
wiz 2ec5b1f671 Add entry for libperfuse. 2010-09-01 13:01:35 +00:00
joerg a64143b682 PT_STEP historically ignores the argument. Indepent of whether this
behavior will be restored, pass down 0 for now to unbreak single
stepping after the thread changes.
2010-08-20 15:34:13 +00:00
wiz dfcdc38176 Recognize x86 and xen. 2010-08-07 18:57:12 +00:00
joerg 5511fa25aa Don't build the CRT stuff here for i386 and x86_64. 2010-08-07 18:02:40 +00:00
matt f2d2b6453a Don't use/rely on a constraint. Move the constraint predicate
to the pattern's condition.
2010-07-27 16:30:38 +00:00
matt 6910a36f83 Only allow jbls/jblc x(r) iff (x & 3) == 0 2010-07-27 01:13:41 +00:00
jnemeth 60fc9fff98 PR/43642 - OKANO Takayoshi -- update bug reporting URL in GCC 2010-07-19 20:05:06 +00:00
mrg 4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
joerg 7e9c48e195 Explicitly link libstdc++ against libm as found by Arnaud Lacombe. 2010-06-25 16:54:25 +00:00
christos c48dffd069 perhaps this fixes the build issue? 2010-06-03 14:32:31 +00:00
jklos 99542d6976 Added optimization reduction for gdb/dwarf2-frame.c for Amigas. We don't
see the problem on other m68k platforms, but that could be because other
platforms don't have m68060s (except Atari, perhaps).
2010-05-28 19:11:23 +00:00
joerg 89d61a1cf0 Add .It for content of .Bl -column. Move .Pp out of .Bl. 2010-05-23 00:01:31 +00:00
joerg 571df0a6a5 Fix trailing whitespace 2010-05-14 01:53:28 +00:00
joerg da269724b9 Reflect canonical order by majority rule. The local version in share/man
already got this chance a while ago.
2010-05-13 20:30:01 +00:00
mrg 2f6bd86c72 re-run mknative-gcc. picks up:
- gthr-posix.h fix
- stpcpy / stpncpy
- various GAS support
2010-05-08 03:00:10 +00:00
mrg 2eb85043a2 don't use the __{BIG,LITTLE}_ENDIAN__ test on NetBSD. it doesn't give
the right result for some platforms, and the later valid tests are
never used.  (this problem seems fixed in newer autoconf...)
2010-05-08 02:58:33 +00:00
drochner 3ad1f9ecb6 fix an operator precedence confusion which is harmless due to some luck 2010-05-06 19:00:08 +00:00
drochner 20f5933022 fix some operator precedence confusion (found by clang++)
Don't know whether this had a visible effect in practice, but the code
obviously didn't behave as expected.
2010-05-06 18:54:35 +00:00
drochner 7399a74f7a mknative-gcc run to pick up gthr-posix.h change
(also picks up stpcpy() and stpncpy(), and gas weakref support)
2010-05-06 10:08:11 +00:00
drochner 8d2b0eb1d3 make the stdc++ headers usable for clang++. clang wants that __weakref__
declarations are "static", gcc-4.1 uses "extern" here.
(gcc-4.2 uses "static" as well, so this looks like a bug in gcc.)
approved by mrg
2010-05-06 10:01:20 +00:00
uebayasi fdee31b059 Make this build. 2010-04-21 12:58:38 +00:00
christos 765fc163a7 don't pretend to have do_fstatvfs 2010-04-07 17:13:10 +00:00
christos 2446060385 fix syntax errors 2010-04-07 12:58:33 +00:00
christos 66aa934e53 update system call table to reflect reality. 2010-04-06 23:02:10 +00:00
mrg 079372a7aa install altivec.h in powerpc64.
from dennis.c.ferguson@gmail.com in PR#43075.
2010-03-30 07:27:08 +00:00
mrg d7055d4003 copy across the powerpc versions of these files for now. should use
mknative-gdb to generate these, but my initial attempt failed and
these ones seem to be about what i'd expect anyway.
suggested by dennis.c.ferguson@gmail.com in PR#43043.
2010-03-27 20:17:31 +00:00
mrg 1872638e5b don't include linux unwind support. we don't do this on 32 bit ppc,
we don't have the symbols to support it, and it breaks c++ linking.
from dennis.c.ferguson@gmail.com in PR#43041.
2010-03-27 20:11:06 +00:00
mrg ac5bb775fa link in libsim on powerpc64 as well.
from dennis.c.ferguson@gmail.com in PR#43044.
2010-03-27 19:46:57 +00:00
skrll 5b65f3319f (re-)run gcc mknative for powerpc64.
Fixes PR/43008.
2010-03-19 14:01:57 +00:00
mrg 19499f3f8d update all of these makefiles for the .so -> .pico change.
most of them are most harmless, but the libgcc parts are quite essential.
before this change, all the special rules for .pico files were not applied,
and exception handling wasn't enabled.  this caused c++ exceptions not to
work on sparc64.


this fixes the build of boost-headers (it was correctly calling exception
support broken!), which in turn makes all the things that depend upon it
to actually work again on sparc64.
2010-03-14 00:26:09 +00:00
joerg 7780622b8d Use HUGE_VAL on VAX as INFINITY requires a warning according to ISO C99
on VAX. Use the less intrusive approach of a conditional here.
2010-03-01 00:15:47 +00:00
joerg 851c61a98d Resolve disagreement between comment and code in favour of the comment,
so that more than one .%U can be used. Found by Jukka Ruohonen.
2010-02-27 21:15:54 +00:00
dsl 02b1580f48 Fix check for old trap frame layout. 2010-02-22 08:19:38 +00:00
wiz 59afab0ca6 Add more FreeBSD versions. 2010-02-21 21:16:09 +00:00
wiz 00e9c46967 Add FreeBSD-8.0. 2010-02-21 21:08:27 +00:00
wiz 8f657e21de Fix typo (specifed -> specified). 2010-02-18 14:00:39 +00:00
wiz 65b4cc1cbf Fix typo. 2010-02-09 23:07:13 +00:00
wiz 4865efa9a5 Sort library descriptions. 2010-02-04 09:07:29 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
wiz ad9684dee2 Install mom macro sets again, per request from Petar Bogdanovic.
Don't install generated PostScript files that were part of the reason
for the removal.

Based on a patch by him with slight changes.
2010-01-26 15:11:56 +00:00
christos 3acd53d157 add libelf 2009-12-20 20:15:07 +00:00
uebayasi 72c3db3e60 For new libgcc rules; include generated makefiles first, then register ${LIB}
and on-the-fly source rules.

No changes against existing libgcc rules.
2009-12-18 13:57:10 +00:00
uebayasi 1d70400acb Regenerate with libgcc TFmode softfloat support enabled. 2009-12-18 13:01:44 +00:00
uebayasi ff345fa63c Libgcc softfloat wrapper source code. This file is not auto-generated. Due
to the design of libgcc build procedure I had to reverse engineer this from
generated files.
2009-12-18 12:51:43 +00:00
uebayasi 75da64c9d4 Fix a misplaced conditional I made. 2009-12-18 12:48:16 +00:00
mrg ad469079f3 copy across a hack from the mips libc/mcount build. self documenting:
+.if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
+# Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
+# and GCC configury passes -finhibit-size-directive which causes mips-gas
+# to barf.  Don't know what the real fix for this is...
+#
+# XXX should be COPTS, but that's too early
+CPUFLAGS+=-Wa,--no-warn
2009-12-17 07:24:06 +00:00
mrg b4818d3cf1 XXX: turn off sim support by hand. yay, now gdb links on mips64. 2009-12-15 16:31:54 +00:00
uebayasi 6d1f240d45 Fix parallel build. Analyzed & patch provided by enami@, thanks! 2009-12-15 11:39:05 +00:00
skrll b16946f34b First pass at gdb mknative for mips64* 2009-12-15 08:25:10 +00:00
uebayasi ca9b54662a Conditionalize gnu/usr.bin/groff build by ${MKGROFF}. 2009-12-14 13:39:33 +00:00
uebayasi 3a48f7cfa9 Conditionalize some build directories by ${MKCXX}. 2009-12-14 12:43:48 +00:00
mrg 4a1f591022 run mknative-gcc for these, in -current. 2009-12-14 04:43:59 +00:00
mrg e00f8f918d regenerate these with -current mknative-gcc. 2009-12-14 03:44:27 +00:00
mrg 149287da38 add the mips64 files as found on the matt-nb5-mips64 branch,
for base-reference.
2009-12-14 02:26:28 +00:00
matt 36c802e628 Merge gcc mips64 support from matt-nb5-mips64. 2009-12-14 00:40:04 +00:00
uebayasi d1b1501024 Fix inverted condition in previous. 2009-12-09 17:30:14 +00:00
uebayasi bf65171399 Switch to new style only if is explicitly set. 2009-12-09 06:20:13 +00:00
uebayasi 311d76439d Don't put intermediate data. Prompted by mrg@. 2009-12-09 06:08:26 +00:00
pooka d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
uebayasi 3650871eaa Correct CLEANFILES in the new style case. 2009-11-30 13:24:32 +00:00
uebayasi ceb0a5e740 Enable the new style build if the new style generated makefiles exist. 2009-11-30 13:07:38 +00:00
uebayasi 0f821b2360 Minor clean up. No functional changes. 2009-11-30 12:07:28 +00:00
uebayasi ce87c08dd6 Minor clean-up for the coming changes. 2009-11-30 11:55:12 +00:00
uebayasi f6ebb00c83 Wrapper generation rule for the new style libgcc reach-over. 2009-11-30 11:47:06 +00:00
uebayasi 7099d05cc4 Snapshot of generated files. Makfile glue will come soon. 2009-11-30 10:26:36 +00:00
uebayasi 15930f9770 Initial check-in of the new libgcc mknative analyzed files for mips64eb. 2009-11-30 08:25:47 +00:00
enami 72ec821622 Lookup lwp0.l_addr instead of proc0paddr to locate PCB. 2009-11-27 02:51:15 +00:00
uebayasi a8e69e8330 Don't build sh64 code even if BFD64 as suggested by uwe@ (privately). We
don't need sh64 at all.  This fixes sh3 MKCROSSGDB=yes build.
2009-11-26 06:34:22 +00:00
wiz 4e2c208c87 Mention IEEE Std 1003.1-2008. Bump date. 2009-11-17 15:01:26 +00:00
joerg 62bcbea33d Add the -iremap option to gcc(1) and cpp(1). This option specifies a
prefix transformation rule for __FILE__ and can be used to avoid
hard-coding the location of the source tree in the resulting binary.
2009-11-11 19:03:52 +00:00
pgoyette caced5e8b1 There's no longer a gnu/usr.sbin so don't try to descend into it.
(Hello, skrll)
2009-11-08 17:01:58 +00:00
skrll 0f3b48f345 Remove binutils 2.16 crossover build files. 2009-11-08 15:24:36 +00:00
skrll 25c78277a1 Remove old binutils. 2009-11-07 17:58:14 +00:00
enami 518511b898 Accept -U num. Nowadays, diff(1) rejects -u0 etc by default. 2009-11-06 22:02:35 +00:00
dyoung 0440bde8db Don't build & install ncdcs if ${MKBINUTILS} == "no".
In the set list, mark ncdcs as a binutils 2.16 item.
2009-11-04 19:02:28 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
christos 74d5fd875f YY_NO is not needed here. 2009-10-29 14:32:18 +00:00
joerg 4d38a506b1 Add .%U to mark up URLs in bibliographic entries of mdoc(7) pages.
Discussed with wiz, Kristaps Dzonsons and Ruslan Ermilov, proposed
(without reaction) on the groff mailing list.
2009-10-25 18:33:36 +00:00
joerg 5733f40793 Reduce amount of macro magic. Use the same special characters as nroff
can deal with limitations of the terminal.
2009-10-24 19:31:03 +00:00
joerg 6417554561 snj doesn't like my accent, so use proper English month names. 2009-10-24 00:10:30 +00:00
joerg aedb06c6a4 Don't even try to use mandoc for the groff documentation. 2009-10-23 23:23:56 +00:00
joerg 5e73cc20c9 Reduce macro magic. Ensure that GNU is on the left side.
Consistently use roff character entities, nroff is smart enough to deal
with that.
2009-10-23 23:22:54 +00:00
joerg 14be05df39 Reduce amount of macro magic. Use canonical form of date. 2009-10-23 23:04:29 +00:00
christos 1d7b1a9552 if we have getdelim, we don't need to supply our own, always. 2009-10-19 00:29:30 +00:00
christos ef84d58c4d put back getline. 2009-10-19 00:28:19 +00:00
christos bf1e098a88 we have getdelim and getline, no need for a separate copy here. 2009-10-18 23:47:43 +00:00
christos 34d7482a37 we have getdelim now! 2009-10-12 22:20:50 +00:00
martin 5526bb0709 If TARGET_FLOAT_FORMAT is not IEEE_FLOAT_FORMAT (i.e. we have no NaNs),
do not compile special code to fix up different NaN values.
Re-enable complex support functions in libgcc for vax.
2009-10-01 20:07:09 +00:00
skrll 8a9ef45c9c The version from defs.mk is in G_VERSION. 2009-09-24 06:31:08 +00:00
skrll 8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
asau 5947548a82 Use SCRIPTS instead of FILES to handle (executable) scripts.
Approved by dholland.
2009-08-19 20:32:58 +00:00
skrll 3734e9d3e6 Make binutils stuff conditional on HAVE_BINUTILS being 216. 2009-08-18 15:11:25 +00:00
skrll ff1fab9942 Re-run mknative for crtstuff. 2009-08-16 17:36:26 +00:00
skrll 9f68db4a1a Use += in previous so the flags from config/t-netbsd aren't lost. 2009-08-16 17:33:14 +00:00
matt 20078a6d9f Pull in a hunk from t-linux64 for compile flags for CRTSTUFF 2009-08-16 13:16:52 +00:00
matt a630fd3317 Merge most of the builtin_defines from Linux since they are far superior
to the ones NetBSD has and it allows easier porting.
2009-08-12 02:12:44 +00:00
joerg 88ee985652 Don't redefine uint16_t and uint8_t, just use the system includes. 2009-07-21 17:35:17 +00:00
wiz f3f83d5a32 Remove incorrect semicolon at the end of an if-statement.
From OpenBSD via Henning Petersen in PR 41708.
2009-07-13 08:35:24 +00:00
agc 3d7d7405a9 Add explanation of libiscsi, get rid of openpgpsdk 2009-06-25 17:40:07 +00:00
tron 935113b868 Remove Postfix 2.5.4 distribution. 2009-06-23 18:01:01 +00:00
tron 7d5e451c60 Switch to building Postfix 2.6.2 via "external/ibm-public/postfix". 2009-06-23 17:58:22 +00:00
christos b940bed281 put back the conversion script. I forgot to add it in the last import 2009-06-22 22:32:44 +00:00
wiz 272953ea5d "if" does not accept an "el" (else); use "ie" instead. 2009-05-21 15:54:50 +00:00
wiz a1b5b4ecad Specify that sorting in SEE ALSO should be done in a case-insensitive order.
Requested by Alan Barrett.
2009-05-19 09:04:50 +00:00
plunky 7b19d61dc6 change description of libbluetooth to "Bluetooth Library" as it contains
more than just host lookups

also, remove libsdp as that has been deprecated
2009-05-16 18:13:08 +00:00
snj 63d43c9446 Add an entry for 5.1. 2009-05-07 00:37:30 +00:00
ad e8f7cd4ed0 Enable -mtune=nocona by default on x86. I have tested on a range of CPUs
and this seems to give the best results.
2009-05-04 21:32:31 +00:00
mhitch f2451d1c4c Allocate relocation section using bfd_zalloc() to ensure no garbage
relocations when not all the entries are used.  Fixes PR port-vax/39182.
2009-05-04 17:56:35 +00:00
perry 5825922a21 add a POSIX 2008 macro 2009-05-01 17:31:56 +00:00
christos 2b4e82affb install libgcc_s.so in /lib for MKPIE=yes. 2009-05-01 15:27:20 +00:00
joerg ce8b4de7cb Convert gcov man page to mdoc(7) using othersrc/usr.bin/pod2mdoc.
Do some manual post-processing and use that as new gcov(1).
The original version is included to add as base for three-way merges.
2009-04-30 00:56:29 +00:00
joerg 3b0eba3055 Sort sourcefile after all other options. 2009-04-30 00:53:48 +00:00
joerg cbe0c9ed8f Convert CPP man page to mdoc(7) using othersrc/usr.bin/pod2mdoc.
Do some manual post-processing and use that as new cpp(1).
The original version is included to add as base for three-way merges.
2009-04-30 00:45:47 +00:00
joerg 088f138ba4 Convert GCC man page to mdoc(7) using othersrc/usr.bin/pod2mdoc.
Do some manual post-processing and use that as new gcc(1).
The original version is included to add as base for three-way merges.

OK wiz, no objection from tech-userlevel.
2009-04-30 00:30:56 +00:00
joerg a968608a18 Include option as item for -Wp description to match the rest of the
table.
2009-04-29 23:53:28 +00:00
joerg e9cce58739 Fix markup for -fdiagnostics-show-options. Don't split @code{} over
lines. Ensure that sentences are consistently followed by two spaces.
2009-04-29 23:46:39 +00:00
agc 5abe14eabf Add a definition for libnetpgp 2009-04-28 15:41:52 +00:00
reed 742585d6c5 Fix librefuse macro to show -lrefuse (not -lfuse).
That will fix "man refuse" Library details.
2009-04-28 03:07:53 +00:00
drochner 0fa7059102 define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 2009-04-20 16:05:29 +00:00
christos 736e89e40b goodbye old cvs 2009-04-18 12:58:19 +00:00
christos 24f86a3336 goodbye old cvs. 2009-04-18 12:56:44 +00:00
joerg 9d8f0f0072 Hook up ascii.tmac for the tool build as well. 2009-04-12 18:52:52 +00:00
joerg ae707ac197 Install some default transliterations for man pages. If nroff is used
with ASCII as output, encode the German umlaut and szet characters with
the normal transliteration rules.

OK wiz@
2009-04-12 17:56:35 +00:00
christos abaef4a949 unhook cvs 2009-04-08 16:29:18 +00:00
drochner 94b97e7a5b regenerated after i386 gcc configuration change (assume i486) 2009-03-27 19:38:43 +00:00
joerg c75b98fd0e Add entry for libfetch. 2009-03-11 14:29:06 +00:00
tron ffbff10ba1 Use larger buffer for sending and receiving a file descriptor over a
UNIX domain socket, based on an example program by Michael van Elst.
This fixes support for using milters (Sendmail Mail Filters) with
Postfix under at least NetBSD/amd64.
2009-03-08 21:52:10 +00:00
christos 6aff6e783a fix problem with armap_timestamp in deterministic mode. 2009-03-08 16:53:55 +00:00
he f59a0a82c4 The "disabled target" for ar.1 should be NetBSD_DISABLED_ar.1, not
NetBSD_DISABLED_as.1 :)
2009-03-08 16:38:32 +00:00
he f0edc036fb Regenerate the ar.1 manual page after the addition of the D flag
as part of the recently added BFD_DETERMINISTIC_OUTPUT feature.

Thanks to perry@ for the nudge.
2009-03-08 16:37:36 +00:00
he 988dfde8cd Regenerate these using tools/binutils/Makefile's mknative-binutils
target after the recent addition of BFD_DETERMINISTIC_OUTPUT to libbfd.
2009-03-08 12:38:51 +00:00
he e5e9eb0ed4 Regenerate these using tools/binutils/Makefile's mknative-binutils
target after the recent addition of BFD_DETERMINISTIC_OUTPUT to libbfd.

The list of architectures is not complete, but these were the
ones I had readily-available toolchains for.  The rest will be
dealt with a little later, by me or someone else.
2009-03-07 18:11:47 +00:00
joerg a219a2be6b Don't build the infokey and info binaries during toolchain builds.
This patches the false branch of the Makefile as the true branch is only
used for cross-compiling of texinfo with the internal build system.
This avoids the termcap dependency as noticed in PR 40810.
2009-03-06 19:28:12 +00:00
apb 8e2705fefd include <stdint.h> for intptr_t; patch from Alexander Bluhm in
tech-toolchain.
2009-03-06 17:03:48 +00:00
christos 0c5245cd7e PR/40972: Chris Demetriou: add support to ar for 'deterministic mode' 2009-03-06 13:44:18 +00:00
joerg a7826a35b1 Escape new lines. 2009-02-28 19:51:13 +00:00
joerg ae9db31d7f Teach makeinfo about --no-version-header to support the line
This is <info> producted by <version> from <source>
which leaks the full build prefix.
2009-02-28 19:14:15 +00:00
sketch 0d9ab2b40e Make grep a host tool. 2009-02-25 20:36:44 +00:00
agc 8588595fb1 Add an entry for libopenpgpsdk. Thanks to wiz for the nudge. 2009-01-31 15:57:55 +00:00
christos a1323d3f16 add a few quotes to make older make(1) happy. 2009-01-26 00:44:32 +00:00
christos 2ecd137f53 bump majors. 2009-01-11 03:09:35 +00:00
mrg 268cca30b1 some fixes for PR#40170:
- set NATIVE=yes in the environment for genscripts.sh
- set LIB_PATH to /usr/lib/{sparc,i386} for those scripts
- set use_sysroot to "yes", to enable LIB_PATH to work in genscripts.sh
2009-01-06 03:08:39 +00:00
christos 13b9be18f4 fix size and format of time_t holding variable. 2008-12-29 04:09:25 +00:00
dogcow 165e230a9b sprintf to temporary buffer and memcpy, rather than sprintf directly
into place; this avoids possible corruption and coredumping on systems
that more aggressively bounds-check. patch by dbj.
2008-11-25 01:58:13 +00:00
phx 1872c0f94c Applied a patch from Roman Zippel to fix jump table addressing in the M68k
codegen.

Taken from the gcc mailing list January 2007:
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02476.html

2007-01-30  Roman Zippel <zippel@linux-m68k.org>

        * config/m68k/m68k.c (output_move_himode)
	config/m68k/m68k.md: remove jump table recognition
	* config/m68k/m68k.c (ASM_OUTPUT_CASE_FETCH): use simple pc
	relative addressing

Approved by Christos Zoulas, Alistair Crooks and Matthew Green.
2008-11-20 22:53:17 +00:00
phx 8fea32b8ab Reverted my last modification, because it included GPLv3 code. Sorry. 2008-11-13 18:10:56 +00:00
phx b933ea4d67 Fixed jump table bugs (e.g. detected when compiling lang/php5 for m68k).
The patch was suggested by Gunther Nikl <gnikl@baltic.net> and is part
of gcc 4.3.x.

	Backport from mainline (SVN 128601):
	2007-09-19  Roman Zippel <zippel@linux-m68k.org>

	* config/m68k/m68k.c (output_move_himode): Remove jump table
	recognition.
	config/m68k/m68k.md (lea): Likewise.
	* config/m68k/m68k.c (print_operand_address): Use simple pc
	relative addressing.
2008-11-12 21:40:03 +00:00
dbj 930ff683e1 pass HOST_CFLAGS when building cross tools 2008-11-04 23:58:40 +00:00
tls 09c3b3c8d4 Add manual page for nsp(4), the driver for NSP2000 cryptographic
accellerators.  Adjust mdoc.local so it knows about .Fx 4.11, present in
nsp manual page.
2008-11-02 22:11:36 +00:00
matt ee6001e544 Prevent some forced local relocations from going into the GOT/PLT. 2008-11-01 15:09:11 +00:00
agc 50189563fb Set doc-operating-system and doc-default-operating-system 2008-10-31 04:32:54 +00:00
agc 62938bf16c Add a definition for NetBSD-current (which will become NetBSD-6.0) 2008-10-31 04:30:22 +00:00
mrg ec707d6be3 don't check MKSHARE here, it is no longer valid. 2008-10-30 20:09:50 +00:00
uwe 70eb15d9df Teach gdb about reg::r_gbr. From mjf@
XXX: We should probably properly conditionalize these changes by
introducing HAVE_STRUCT_REG_R_GBR
2008-10-27 00:33:19 +00:00
mrg 4ed5b66617 add ${LDOPTS} to the compile command. 2008-10-26 07:04:04 +00:00
mrg 3fde6715d8 use ${BFD_MACHINE_ARCH} in preference to ${MACHINE_ARCH}, if defined. 2008-10-25 23:56:02 +00:00
apb a02cace51f Use ${TOOL_SED} instead of plain "sed" in "!=" assignments.
This may need more work to prevent warning messages during
"make cleandir" when the commands in "!=" assignments are executed
even though tools may not have been built.
2008-10-25 22:35:36 +00:00
apb f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
apb 2f23c0edc4 Rewrite a "!=" command to avoid using sed. 2008-10-25 22:10:39 +00:00
hannken 98f8b098aa Process FILES section only at "install" time. TOOL_AWK is not yet available
for earlier make targets.

Ok: Alan Barrett <apb@netbsd.org>
2008-10-22 17:54:23 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
mrg 6fa3737bb8 since the Makefile creates stuff in (objdir) ./ldscripts/ and then
later deletes it, move the kmodule ldscript into 'xldscripts' and
deal with it from there.

fixes build issues where src/gnu/usr.bin/binutils/ld/ldscripts went
missing as reported by at least 2 people so far.
2008-10-13 22:36:55 +00:00
mrg 86340158d0 - install ldscripts on sparc64
- move ldscripts to /usr/libdata/ldscripts
2008-10-12 23:00:53 +00:00
mrg 52f0cd9c9e switch to per-arch multilib.h since we now use them.
now, given a correctly populated /usr/lib/{i386,sparc} directory, you
can "cc -m32" on amd64/sparc64 and have it be useful.

note that a trivial copy of 32 bit /usr/lib will not work, since you
end up with symlinks to the 64 bit /lib.  work on that part is in
progress...
2008-10-12 10:08:13 +00:00
mrg 9917d709a8 - add a i386/t-netbsd64 makefile fragment to build 32/64 bit
libgcc/multilib on amd64
- enable the 32/64 bit libgcc/multilib support on sparc64
- adapt mknative-gcc to grab multilib.h
- use --enable-multilib on amd64 and sparc64

none of this affects the installed tools yet, just the src/tools one.
2008-10-11 05:03:43 +00:00
tron 8bc4e96cb9 Disable "-Wstack-protector" in a slightly nicer way. 2008-10-06 14:20:12 +00:00
mrg 5e3d72fe31 move the code that sets ld_vers and other variables so that it is
always executed, regardless of cached values.  this lets the comdat
version test for gas work properly.
2008-10-06 00:07:08 +00:00
mrg 983106fbb3 fix a 2 year old fix that broke genmultilib. ${CONFIG_SHELL}
wasn't expanded inside cat >tmpmultilib<<\EOF due to the \.
use two cat's to generate these files now, one with EOF and
one with \EOF.
2008-10-05 23:04:00 +00:00
tron c923257caa As "libgcov.c" uses alloca(3) (*yuuuk*) disable "-Wstack-protector" to
fix the build with "USE_SSP" set to "yes".
2008-09-25 17:40:05 +00:00
hubertf b64bc91804 Simplify argument passing, recommended by christos@ 2008-09-24 21:26:59 +00:00