dholland
5685631206
Fix -o behavior with patterns that match the empty string, as per PR 43896.
2010-09-28 00:54:04 +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
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
christos
c48dffd069
perhaps this fixes the build issue?
2010-06-03 14:32:31 +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
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
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
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
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
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
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
christos
3acd53d157
add libelf
2009-12-20 20:15:07 +00:00
uebayasi
6d1f240d45
Fix parallel build. Analyzed & patch provided by enami@, thanks!
2009-12-15 11:39:05 +00:00
matt
36c802e628
Merge gcc mips64 support from matt-nb5-mips64.
2009-12-14 00:40:04 +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
skrll
25c78277a1
Remove old binutils.
2009-11-07 17:58:14 +00:00
christos
2853bbf4b7
use %option instead of #define YY_NO_...
2009-10-29 14:49:02 +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
6417554561
snj doesn't like my accent, so use proper English month names.
2009-10-24 00:10:30 +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
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
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
tron
935113b868
Remove Postfix 2.5.4 distribution.
2009-06-23 18:01:01 +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
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
joerg
3b0eba3055
Sort sourcefile after all other options.
2009-04-30 00:53:48 +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
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
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
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
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
matt
ee6001e544
Prevent some forced local relocations from going into the GOT/PLT.
2008-11-01 15:09:11 +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
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
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
lukem
915ac4056f
Revert rev 1.9:
...
* we now disable gettext by not defining ENABLE_NLS,
* we now link in the xmalloc/xstrdup/xexit replacements explicitly.
Reduces differences to upstream.
2008-09-09 06:32:59 +00:00
dogcow
aedef3bb4f
eliminate the need for gettext() when building the host-only tool.
2008-09-03 09:55:23 +00:00
christos
4ef43ee396
resolve conflicts
2008-09-02 08:41:51 +00:00
christos
834f5c54aa
resolve conflicts.
2008-09-02 08:00:24 +00:00
christos
14e22615fd
import last gplv2 version
2008-09-02 07:45:41 +00:00
mrg
674db90903
merge cornflakes from gcc-4-1-20080831-139820
2008-08-31 09:51:31 +00:00
mrg
d85c56d01b
import GCC 4.1-branch from 20080831 / svn 139820.
...
this fixes at least these GCC PR's:
middle-end/35163
target/34393
middle_end/34150
middle-end/34627
middle-end/33631
c++/34950
c++/34774
c++/35007
libstdc++/20448
libstdc++/20451
2008-08-31 09:39:12 +00:00
mrg
603b7728c3
import GCC 4.1-branch from 20080831 / svn 139820.
...
this fixes at least these GCC PR's:
middle-end/35163
target/34393
middle_end/34150
middle-end/34627
middle-end/33631
c++/34950
c++/34774
c++/35007
libstdc++/20448
libstdc++/20451
2008-08-31 09:28:43 +00:00
mrg
e03df4d47b
regen for this commit:
...
revision 1.9
date: 2008/08/31 08:16:45; author: mrg; state: Exp; lines: +11 -17
move the AC_CACHE_CHECK(__stack_chk_fail, [ ... ]) code out
of the linux-specific section, so that it will be used by
everyone.
use AC_CHECK_FUNS() to check for __stack_chk_guard on netbsd.
now this test is properly cross-compile friendly.
2008-08-31 08:17:21 +00:00
mrg
556a5211d2
move the AC_CACHE_CHECK(__stack_chk_fail, [ ... ]) code out
...
of the linux-specific section, so that it will be used by
everyone.
use AC_CHECK_FUNS() to check for __stack_chk_guard on netbsd.
now this test is properly cross-compile friendly.
2008-08-31 08:16:45 +00:00
christos
a17638d840
resolve conflicts
2008-08-30 10:54:24 +00:00
christos
d7398d0e67
import 2.5.4
2008-08-30 10:25:50 +00:00
lukem
68640ea669
Issue a warning if -r is used without a directory:
...
grep: warning: recursive search of stdin
Patch from:
http://savannah.gnu.org/patch/?6474
originally from:
http://www.opensource.apple.com/darwinsource/Current/grep-24/patches/PR-4053512.diff
2008-08-28 03:59:06 +00:00
drochner
15efbe0f34
Back out an old local modification (originating from PR lib/29832)
...
which effectively disables *wprintf and *wscanf functions in
the std namespace. We have wchar support now.
(It might be necessary to do a "make clean" in
src/gnu/lib/libstdc++-v3_4/include for this to have effect.)
2008-08-27 14:38:58 +00:00
uwe
dd998af85f
shnbsd_software_single_step: There's no need to write back next_pc and
...
it actually messes things up if single step was interrupted with a
signal - we end up skipping the instruction we wanted to step.
There are still some corner cases, but at least it works enough to do
useful debugging in presence of signals. Discovered while debugging
ntpdate where this problem was triggered by SIGALRM.
2008-08-27 01:05:42 +00:00
martin
92ee6fcbd5
Do not completely overwrite tm_defines in m68k specific target selection,
...
it may have been set globaly before for NETBSD_ENABLE_PTHREADS.
This caused wrong (old, pre NetBSD 2.0) builtin specs for m68k.
Fixes PR toolchain/38931.
2008-08-24 08:38:14 +00:00
lukem
18a7b6ae04
Tweak rules to disable generation of .c files from .l / .y.
...
(Goal is to minimize differences with the vendor file)
Fix PR 38152.
2008-08-12 10:09:31 +00:00
christos
181678b02c
fix -w using:
...
http://www.linuxfromscratch.org/patches/downloads/grep/ \
grep-2.5.1-option_w-1.patch
2008-08-01 15:24:35 +00:00
matt
eb096a3c19
Add a few more conditions to the setting of the symbol size for external
...
dynamic symbols.
2008-07-22 05:35:44 +00:00
apb
5ad2c3f984
Comment out references to the "-P"/"--perl-regexp" option,
...
which is not supported on NetBSD. Fixes PR 39122.
2008-07-21 09:15:12 +00:00
christos
657e141577
sockopts need to be int not ssize_t, which can be long on 64 bit machines.
...
fixes sparc64 issue. thanks to rafal for testing.
2008-07-16 16:51:14 +00:00
matt
92f61a999a
Previous fix only got some undefined symbols. This one gets all of them.
2008-07-14 17:59:41 +00:00
matt
890018501f
Set the size of undefined symbols to 0.
2008-07-14 15:55:03 +00:00
christos
872dac48eb
/var/lib -> /var/db by popular demand.
2008-06-25 01:32:37 +00:00
christos
db19bd9062
resolve conflicts.
2008-06-22 14:38:40 +00:00
christos
a903102c9a
import 2.5.2, requested by perry, approved by releng.
2008-06-22 14:02:40 +00:00
adrianp
8aae81d82f
Fix for PR #33551 (a.k.a CVE-2006-2362)
...
Back port from the binutils CVS tree
Buffer overflow in getsym in tekhex.c in libbfd in Free Software Foundation
GNU Binutils before 20060423, as used by GNU strings, allows context-dependent
attackers to cause a denial of service (application crash) and possibly
execute arbitrary code via a file with a crafted Tektronix Hex Format (TekHex)
record in which the length character is not a valid hexadecimal character.
2008-06-22 14:02:39 +00:00
christos
0eea94d78f
import 2.5.2, requested by perry, approved by releng.
2008-06-22 14:00:13 +00:00