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
christos
b4e47fa186
import 2.5.2, requested by perry, approved by releng.
2008-06-22 13:59:17 +00:00
christos
e5a95dcfd5
usage message
2008-06-22 13:55:05 +00:00
christos
a81b2a4e6c
Restore functionality lost during the libcpp conversion: cpp -CC should convert
...
// comments to /* comments */ not only during macro definition, but also
macro argument collection. Otherwise the following:
#define b(a) a
main {
b(
// 1);
0);
}
gets expanded to:
main()
{
return // 1); 0;
}
instead of:
main()
{
return /* 1);*/ 0;
}
2008-05-30 15:12:24 +00:00
tsutsui
407e634a58
Pull the follwoing fix from upstream:
...
http://gcc.gnu.org/viewcvs/trunk/gcc/config/m68k/m68k.md#rev117181
> * config/m68k/m68k.md (negsf2, negdf2, negxf2): Use
> -2147483647 - 1 instead of 0x80000000.
Fixes "internal compiler error: in do_SUBST" on compiling
floating point ops with -msoft-float or -m68010 on LP64 hosts,
and may also close PR toolchain/38359. Tested on alpha.
2008-05-01 23:50:32 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
christos
29c39f7ad5
Add -lc when -shared so that all shared libraries built by the compiler
...
have a dependency to -lc. To avoid adding that dependency in -lc and -lgcc*
we add -nostdlib to the compile rules.
2008-04-27 23:49:27 +00:00
uwe
95c5c2aebe
Defer wide int L/LL suffix choice in insn-*.c until we compile for
...
host using correct set of HOST_WIDE_INT* defines. Fixes compilation
of native sh3 gcc on 64-bit build machines.
Background and details in NetBSD PR 34549 and GCC bug 32497.
Tested by Joerg and myself.
Approved by "looks ok, but let some other guy decide" from ~all of our
gcc folks.
2008-04-22 22:06:01 +00:00
skrll
9a2b7df6e3
Apply fix from binutils-current so that sparc gdb can be cross built
...
on a 64bit host.
Problem reported by mrg.
2008-04-09 10:26:20 +00:00
matt
2c2b152b21
Add support for --ignore-unresolved-symbol
2008-04-03 15:40:17 +00:00
skrll
482dcc2f35
#include "nbsd-nat.h"
2008-03-17 20:01:12 +00:00
skrll
1c84a0c3c5
Add nbsd_pid_to_exec_file to target ops.
2008-03-17 17:39:15 +00:00
skrll
7fa564a753
strcmp doesn't taken a length argument.
2008-03-15 12:19:41 +00:00
skrll
a21274d611
Pull in some updates for NetBSD/sh gdb from wrstuden-fixsa.
...
- support siginfo trampoline detection/unwind
- modernise wrt core file regsets
- use inf-ptrace
2008-03-14 15:48:59 +00:00
skrll
06c967f126
Modernise NetBSD/alpha gdb - taken from gdb-current.
...
Add support for siginfo trampolines as well as sigcontext.
2008-03-13 18:18:15 +00:00
tls
804778b0a3
Fix build issue on modern OS/X (particularly 10.5 on powerpc)
2008-03-07 14:57:09 +00:00
skrll
ba36d19a6b
Catch up with kernel frames on amd64.
2008-02-09 11:43:58 +00:00
mrg
62eb13e7b7
add a NetBSD_DISABLED_foo rule for arm-tune.md.
2008-02-05 02:21:59 +00:00
mrg
399266cb7b
use C comments, not C++ comments.
2008-02-04 04:20:51 +00:00
mrg
df589eb5b4
add a couple of #ifdef USE_TLS blocks to help MKCRYPTO=no link.
2008-02-04 02:21:30 +00:00
mrg
c2b313f307
bump NetBSD date.
2008-02-03 22:15:38 +00:00
mrg
9805c65117
merge gcc-4-1-20080202-132073.
2008-02-03 02:48:44 +00:00
mrg
a67241065b
upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
...
these GCC PR's:
c++/17763
middle-end/25445
c++/27177
target/28307
rtl-optimization/30113
target/31331
c++/31941
rtl-optimization/31944
tree-optimization/31966
c++/32112
c++/32113
rtl-optimization/32450
target/32506
tree-optimization/32533
target/32641
target/32660
tree-optimization/32681
middle-end/32912
c++/32992
tree-optimization/33142
target/33256
bootstrap/33418
c++/33744
driver/33772
rtl-optimization/33822
middle-end/33826
c++/33959
bootstrap/34003
middle-end/34030
middle-end/34130
rtl-optimization/34456
libgfortran/34699
c/34993
c++/35007
2008-02-03 00:08:23 +00:00
mrg
b8deac4d69
upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
...
these GCC PR's:
c++/17763
middle-end/25445
c++/27177
target/28307
rtl-optimization/30113
target/31331
c++/31941
rtl-optimization/31944
tree-optimization/31966
c++/32112
c++/32113
rtl-optimization/32450
target/32506
tree-optimization/32533
target/32641
target/32660
tree-optimization/32681
middle-end/32912
c++/32992
tree-optimization/33142
target/33256
bootstrap/33418
c++/33744
driver/33772
rtl-optimization/33822
middle-end/33826
c++/33959
bootstrap/34003
middle-end/34030
middle-end/34130
rtl-optimization/34456
libgfortran/34699
c/34993
c++/35007
2008-02-02 23:40:02 +00:00
mrg
987268dd69
upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
...
these GCC PR's:
c++/17763
middle-end/25445
c++/27177
target/28307
rtl-optimization/30113
target/31331
c++/31941
rtl-optimization/31944
tree-optimization/31966
c++/32112
c++/32113
rtl-optimization/32450
target/32506
tree-optimization/32533
target/32641
target/32660
tree-optimization/32681
middle-end/32912
c++/32992
tree-optimization/33142
target/33256
bootstrap/33418
c++/33744
driver/33772
rtl-optimization/33822
middle-end/33826
c++/33959
bootstrap/34003
middle-end/34030
middle-end/34130
rtl-optimization/34456
libgfortran/34699
c/34993
c++/35007
2008-02-02 22:46:12 +00:00
christos
99a86a6512
PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
...
Avoid read redefinition
2008-02-02 17:12:44 +00:00
christos
9aa2376bc7
PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
...
avoid getcwd redefinition
2008-02-02 17:11:01 +00:00
skrll
572591cbe8
Update some comments.
2008-01-25 12:35:48 +00:00
skrll
78a1d02a15
Catch up with changes so that kernel frame unwinding works again.
2008-01-18 16:07:22 +00:00
skrll
1bd2744b54
Add bsd-kvm.o.
2008-01-13 12:40:26 +00:00
dsl
ca99a9496c
Add AMD64_R9_REGNUM through AMD64_R14_REGNUM.
2008-01-13 10:54:47 +00:00
skrll
8af98e5f70
Add NetBSD/arm32 kvm support.
...
Nearly 10 years later... PR/5667 can be closed.
2008-01-12 20:55:12 +00:00
skrll
3410bbd575
Add NetBSD/hppa support to gdb.
...
Not enabled yet.
2008-01-10 21:43:55 +00:00
apb
ee83c29560
Disable parallel make, because the interaction between the
...
$(am__ELCFILES) and elc-stamp targets is extremely unfriendly to
parallel make. More details in a comment in the file.
2008-01-07 15:17:04 +00:00
skrll
8591a31346
Apply my fix to bfd so that correct unwind entries are generated for the
...
kernel.
This has been applied to binutils -current with this ChangeLog entry.
2007-12-28 Nick Hudson <nick.hudson@dsl.pipex.com>
* elf32-hppa.c (hppa_record_segment_addr): Locate the segment
containing the section using the segment map, rather than guessing
based upon the section's vma and file position.
2007-12-29 14:49:06 +00:00
skrll
20aefaf533
Improve signal trampoline support by recognising trampolines from previous
...
releases.
2007-12-04 08:38:14 +00:00
wiz
171c97657b
Add RCS Id. Use An, Aq. Prepare for HTML output.
2007-12-02 19:23:53 +00:00
drochner
ad37bd5da3
fix gcc bug #34130 (wrong multiplication with negative constants
...
inside abs()) which got some attention in the linux kernel mailing
list recently
2007-11-20 23:27:56 +00:00
skrll
ea7265c03e
First cut at hppa gdb support. Not enabled yet.
2007-11-18 12:45:25 +00:00
skrll
c1e4ee94be
Fix kernel profiling on HPPA.
...
- stop gcc emitting stuff that HPUX requires
- don't use splhigh() in MCOUNT_ENTER as a call to _mcount will be
generated at the moment. Disable interrupts in hardware instead.
- Fix _PROF_PROLOGUE to save/restore all the register args when calling
_mcount.
- Fixup LEAF_ENTRY to dtrt (I think) in the GPROF case.
- Provide LEAF_ENTRY_NOPROFILE and sprinkle its use where i) profiling
causes problems, e.g. trap handlers, and ii) where it just doesn't
make sense, e.g. start.
2007-11-12 12:58:10 +00:00
christos
2872c55cb0
Add a hack to handle that the __stack_chk_fail_local call is not generated
...
properly for pic code; more explained in the code.
2007-09-15 16:24:06 +00:00
christos
664366b805
Add a warning that prints the symbol that has the text reloc.
2007-09-15 14:35:34 +00:00
heas
ad7967a461
Resolve conflicts
2007-08-02 08:26:18 +00:00
heas
1f8ae20c33
Update Postfix to 2.4.5.
...
2.4.2 through 2.4.5 include various build, milter, and other fixes.
2007-08-02 08:04:21 +00:00
skrll
39d5b9520a
Remove gdb 5.3 as nothing uses it now.
2007-06-21 12:51:06 +00:00
mrg
70d2e95cee
merge GCC 4.1-20070620.
2007-06-21 04:01:59 +00:00
mrg
f73a50514d
import GCC-4.1 branch from 20070620 (revision 125891). this fixes 78
...
GCC PR's listed below, and also fixes some netbsd PR's.
30370
C++/28988
C++/30016
C++/30168
C++/30221
c++/28999
c++/30536
c++/30847
c++/30852
c++/30895
c++/31074
c++/31449
c++/31517
c++/31806
c++/31809
c/31520
debug/29906
debug/30189
inline-asm/32109
libstdc++/28125
libstdc++/30586
middle-end/24427
middle-end/29683
middle-end/30313
middle-end/30364
middle-end/30433
middle-end/30473
middle-end/30729
middle-end/30761
middle-end/31448
middle-end/32285
objc/27438
objc/30479
other/27843
preprocessor/30468:
rtl-optimization/28011
rtl-optimization/28173
rtl-optimization/28772
rtl-optimization/29329
rtl-optimization/29599
rtl-optimization/30643
rtl-optimization/30787
rtl-optimization/30931
rtl-optimization/31691
target/18989
target/19087
target/25448
target/26090
target/28623
target/28675
target/29487
target/30289
target/30483
target/30848
target/31022
target/31123
target/31137
target/31245
target/31361
target/31380
target/31480
target/31582
target/31641
target/31701
target/31876
target/32163
tree-opt/30045
tree-optimization/26643
tree-optimization/26854
tree-optimization/26998
tree-optimization/27087
tree-optimization/29446
tree-optimization/29925
tree-optimization/30212
tree-optimization/30590
tree-optimization/30823
tree-optimization/31632
tree-optimization/32353
2007-06-20 22:55:47 +00:00
wiz
cb7051a0fc
Move puffs and refuse definitions to local override file.
2007-06-09 10:19:43 +00:00
he
47b1d7c5c4
Commit generated file after correcting to use the "standardized"
...
variable for overriding SSP functionality location test.
2007-06-07 15:56:48 +00:00
he
678b5429b3
Instead of inventing a new environment variable to override the
...
SSP functionality location test, use gcc_cv_libc_provides_ssp instead,
as hinted by freza@ and uwe@.
2007-06-07 14:36:27 +00:00
he
20237a6fdb
Commit autoconf-generated file after modifying configure.ac to allow
...
override of the TARGET_LIBC_PROVIDES_SSP test.
2007-06-07 08:59:53 +00:00
he
bd8f620dfb
Modify the gcc configure script to allow override of the "target libc
...
has ssp functions built-in" test via the TARGET_LIBC_PROVIDES_SSP environment
variable, to allow us to configure a cross-compiler appropriately without
having to try to find out by looking in the target's source directory.
Tweak our build to tell gcc that the ssp bits are now in libc.
The native compiler appears to already think that the ssp bits
live in libc, so no change appears to be needed there.
The autoconf-generated configure script will be committed separately shortly.
2007-06-07 08:58:58 +00:00
uwe
86fd3cca3a
Fix gcc codegen bug that manifests during generation of stack
...
protector code for sh3. Details in gcc pr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32163
Author: kkojima
Date: Sun Jun 3 04:38:52 2007
New Revision: 125292
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125292
Log:
PR target/32163
* config/sh/sh.md (symGOT_load): Don't schedule insns when
the symbol is generated with the stack protector.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/sh.md
2007-06-03 21:02:44 +00:00
skrll
8ed58e93b0
Search for void * as the type of the 3rd argument of ptrace.
2007-06-03 14:59:22 +00:00
yamt
68f37fd0aa
amd64nbsd_supply_pcb: as dumpsys() was changed to prepare switchframe,
...
always use switchframe. fixes a build problem after yamt-idlelwp.
update some comments. reviewed by Frank van der Linden.
2007-05-25 15:14:21 +00:00
christos
4320602b61
back out previous, requested by wiz
2007-05-23 16:59:03 +00:00
christos
c2c58c755b
mention libssp
2007-05-23 14:42:54 +00:00
heas
2626a40999
Resolve import conflicts
2007-05-19 17:49:37 +00:00
heas
a924864766
postfix 2.4.1
2007-05-19 16:27:18 +00:00
agc
40127a027d
Add definition of librefuse.
2007-05-16 06:48:41 +00:00
skrll
7b1e89b840
Add LOADLIBES= -lkvm - it's needed when someone(tm) feeds this upstream.
...
src/gnu/usr.bin/gdb6 and mknative should probably pay attention to
LOADLIBES.... one day.
2007-05-15 17:49:08 +00:00
fvdl
cdfcd42972
target kvm support for amd64
2007-05-15 15:40:49 +00:00
matt
3649c80dc2
Fix LP64 issue with invalid register names. When printing a register name,
...
look in reg_renumber if the register >= FIRST_PSEUDO_REGISTER.
Add code to not use movc3 for small fixed (<= 48 byte) moves. Instead
expand them to the proper series of mov[qlwb] instructions.
2007-04-20 16:30:32 +00:00
uwe
119f6e61f7
Do not include sh64 support into sh*-netbsdelf* targets unless
...
specifically requested with sh5* or sh64*.
2007-04-20 11:09:00 +00:00
matt
f93b326c17
Deal with symbol forced to be local (by use of .hidden or by linker version
...
files).
2007-04-19 19:50:59 +00:00
matt
517c8a8b40
Make movmemhi insn pattern use "o" constraint to avoid codegen bugs.
...
Fix some non-use of MEM_P, REG_P, CONST_INT_P.
2007-04-18 22:55:24 +00:00
matt
d96c1bd9b7
At lower optimization levels, constants can tricle to subdi3. Deal with it.
2007-04-14 20:43:03 +00:00
matt
e449ba3363
Change tst<mode> pattern to use nrmT for constraints instead of g.
2007-04-13 20:02:42 +00:00
plunky
83e1a80c5e
escape Rv as it conflicts with .Rv macro
2007-04-13 18:20:48 +00:00
matt
c9e6e23717
If possible, adjust extzv/insv to not cross int boundaries.
2007-04-11 02:21:07 +00:00
matt
0606d1948b
when pic, symbol [ + offset ] + reg is indexed so it's mode dependent.
...
Make sure we indicate that. (fixes the as bug)
2007-04-09 03:44:14 +00:00
matt
2d3546bb65
Fix a optimize_size problem in the correct (and smaller) manner.
2007-04-08 10:32:42 +00:00
matt
768e321a24
Switch back to mnegl hi, mnegl lo, sbwc and prevent split_quadword_operands
...
from using POST_INC in the case of negation. Fix reversal of operands in
-Os use of ashq.
2007-04-08 03:07:23 +00:00
matt
2c37c6c8f1
Fix a problem with -Os.
2007-04-07 22:50:27 +00:00
matt
43a709f886
2006-08-24 Richard Guenther <rguenther@suse.de>
...
* builtins.c (fold_builtin_classify): Fix typo.
2007-04-07 06:13:15 +00:00
matt
4fab8ae973
Fix addition of negative 64bit constants. Don't optimize the instructions
...
too much otherwise we might use some that don't affect the carry bit. Make
sure we are using paired instructions (add/adwc, sub/sbwc).
2007-04-06 22:46:36 +00:00
matt
5db28f425f
When mova[lq] to a push operand, do a pusha[lq] instead.
2007-04-06 20:50:33 +00:00
matt
4af7958221
Fix 64-bit negation.
2007-04-06 20:49:02 +00:00
wiz
166737735f
Describe Lk and Mt. From Brad Harder in PR 36126.
2007-04-06 17:05:18 +00:00
matt
086f0329dc
Fix constraints on ffs.
2007-04-02 16:45:39 +00:00
matt
20feb5b064
Fix cut-and-pasto.
2007-04-02 16:44:31 +00:00
matt
831f4686c1
Get rid of old unused constraints.
2007-04-02 16:44:17 +00:00
matt
abe5cdbc17
Add __builtin_ffs support.
2007-03-31 23:12:37 +00:00
matt
deb622ec5b
Final step. Turn on generation of PIC code. Full release build builds and
...
works.
2007-03-31 05:55:11 +00:00
matt
dec8719ee4
For nonimmediate operands of SImode, don't use "g" anymore, use "nrmT" instead.
...
"g" matches just about anything including SYMBOL_REF, CONST, LABEL_REF which
should not be operands for most instructions in PIC mode. (movsi can handle
then and addsi3 can handle them in a few limited cases).
2007-03-31 01:23:26 +00:00
matt
aa3062f197
Step 2. Produces PIC code but doesn't satisfies the constraints needed
...
by userland. (external symbols can still be indirected and relocs for
symbol + offset are emitted).
2007-03-31 00:59:47 +00:00
matt
57ad7b9e42
Use HOST_WIDE_INT where appropriate. Cleanup split_quadword_operands
2007-03-30 22:03:28 +00:00
matt
f775e4410d
Enable new quadmove code. Only use mova[lq] instead of ashl when
...
!optimize_size. When optimize_size is on, try to use ashl if possible
if setting a 6bit unsigned quantity in the word.
2007-03-30 22:02:26 +00:00