matt
2eb84c7288
Make sure POWERPC_NETBSD is defined.
2015-01-22 08:35:05 +00:00
matt
9a22733cae
Don't enable string instructions on NetBSD if -Os is used.
2015-01-20 07:12:41 +00:00
joerg
7056ba0e78
There is no such thing as void volatile.
2015-01-16 10:08:52 +00:00
joerg
eebd9ebe9d
Uses free
2015-01-16 10:08:37 +00:00
mrg
68c85a9f21
regen.
2015-01-15 22:29:52 +00:00
skrll
b4b886e5d8
Fix gcc PR target/64479 [SH] wrong optimization delayed-branch
2015-01-15 08:42:14 +00:00
tron
00203d2bfc
Fix build with "USE_SSP" set to "yes".
2015-01-14 20:26:41 +00:00
mrg
5c10ef7e83
rerun mknative for GCC 4.8.4 and all platforms.
...
m68000 needs -fPIC removed (again), and hppa c++config.h turned off
several things present in -lm, fixed by hand.
2015-01-10 22:59:34 +00:00
mrg
6bad6bfaf1
update for more reality.
2015-01-10 22:58:38 +00:00
mrg
94b9bff57a
merge GCC 4.8.4.
2015-01-10 01:06:41 +00:00
mrg
6012017c82
import GCC 4.8.4 release. this fixes at least these GCC PRs:
...
fortran/61407
sanitizer/64265
tree-optimization/64269
middle-end/64225
tree-optimization/61686
bootstrap/64213
rtl-optimization/64037
target/50751
rtl-optimization/64037
target/59593
target/59593
c++/56493
target/64115
middle-end/64111
middle-end/64067
rtl-optimization/63659
libgomp/61200
tree-optimization/61969
tree-optimization/62031
tree-optimization/63379
tree-optimization/63605
middle-end/63665
target/60111
target/63673
target/63947
tree-optimization/62167
tree-optimization/63841
ipa/63838
c++/63455
c++/63415
c++/56710
c++/58624
preprocessor/60436
target/55351
fortran/63938
libgomp/61200
libstdc++/63840
libstdc++/61947
libstdc++/59603
target/56846
libstdc++/57440
2015-01-10 00:47:09 +00:00
christos
7f4dbbddd0
fix library name; add shared library version
2015-01-07 03:49:13 +00:00
christos
c2c9c6ba4c
it is lto1
2015-01-07 02:18:10 +00:00
christos
b065c82840
regen
2015-01-07 02:08:06 +00:00
christos
62254aa965
regen; backtrace support is complete
2015-01-07 02:06:59 +00:00
christos
2c904ef7c1
fix build
2015-01-07 02:06:23 +00:00
christos
7f61831388
enable lto
2015-01-07 02:06:03 +00:00
christos
0c2e46cd4b
enable the rest of the languages
2015-01-07 02:05:41 +00:00
christos
d5e8e308ec
build lto
2015-01-07 02:02:44 +00:00
mrg
a4ee9f7109
fix MKGCCCMDS=no, and turn it on by default for sun2.
2015-01-05 01:52:23 +00:00
christos
88c1089d96
Bring in 2 patches from binutils:
...
From Alan Modra: Wed, 3 Jul 2013 11:51:56 +0930: powerpc64 call stubs:
This brings powerpc64 ld in line with gold regarding calls allowed to
go via a plt call stub or toc-adjusting stub without a following nop.
A long time ago ld allowed tail calls, but this is wrong because we'll
return to the caller's caller with the wrong toc pointer. I fixed
that for shared libraries but allowed tail calls in an executable for
some reason. Probably just muddy thinking on my part, because there's
no difference between an executable and a shared library regarding the
need to restore the toc pointer. Perhaps it was because some testcase
failed, most likely due to the g++ issue I comment on in the patch.
From Alan Modra: 29 Aug 2014 01:22:29 +0000: PowerPC64 call lacks nop error:
Enough people accidentally or otherwise use -mcmodel=small then wonder
why a call that is local is behaving as if it is going via the PLT.
* elf64-ppc.c (ppc64_elf_relocate_section): Report a different
error for calls via a toc adjusting stub without a nop.
2015-01-02 19:50:02 +00:00
dennis
298eb8b514
Apply a fix, extracted from the UCB RISC-V gcc sources, for the (known)
...
problems with compiling atomics for the riscv64 target with gcc. Remove
the now-unneeded workarounds for the 2 files in libasan that were formerly
failing to compile with the optimizer turned on.
2014-12-22 21:15:48 +00:00
skrll
6948cee7e0
Allow i386 binary debugging on amd64 hosts.
2014-12-15 13:43:24 +00:00
christos
0c6a515324
Allow i386 binary debugging on amd64 hosts.
...
XXX: This should be done in mknative but how? Matt?
2014-12-14 19:59:52 +00:00
christos
977e434ff6
When debugging 32 bit binaries on a 64 bit arch in NetBSD the dynamic
...
linker magically converts the dynamic linker name to ld.elf_so-<32bitarch>
like ld.elf_so-i386. We do the same magic here.
2014-12-14 19:58:06 +00:00
christos
f890372b86
- Add -f to allow processing non-plain files.
...
- Align NetBSD note printing properly
- Add handling of "PaX" notes correctly. Perhaps we should rename them
to "NetBSD" now.
2014-12-13 18:32:59 +00:00
martin
41f1cccf8f
Fix byte order selection for breakpoints: on arm the byte order for code
...
might differ from the generic BFD endianess.
Fixes PR toolchain/49445.
2014-12-12 20:25:35 +00:00
aymeric
426034c57f
. do not abort() if we read a zero cs or rip, or if we can't read them
...
. end the backtrace when encountering a soft interrupt, since they live in
their own lwp
2014-12-02 10:34:27 +00:00
dennis
937de38ba9
Work around RISC-V compiler bug in gcc 4.8.3 (at least).
...
Should be reconsidered if the compiler is updated.
PR toolchain/49425
2014-12-02 03:20:39 +00:00
mrg
eea473d2a5
regenerate mknative files for m68000 now that the build actually completes.
...
this includes a hack matt@ found -- remove -fPIC from libgcc's defs.mk, i
have not yet figured out how to stop confgiure adding it.
2014-11-22 19:42:11 +00:00
joerg
06da94bf06
Merge upstream d840c081f8082e8b9e63fead5306643975a97bb3 to fix
...
UB as seen by a clang compiled as.
2014-11-20 21:44:56 +00:00
matt
549cefa5e6
Avoid using ld -x. Instead use ${OBJCOPY} ${OBJCOPYLIBFLAGS} to string
...
local symbols.
2014-11-02 14:54:27 +00:00
christos
fed776c55d
one more search path.
2014-10-23 23:31:26 +00:00
christos
6eb7640629
make alpha compile
2014-10-23 19:03:38 +00:00
christos
3ce54f1012
use the appropriate unwind.h header
2014-10-23 17:50:24 +00:00
christos
a62fb610ef
stop playing type games, and use the proper type for the placement new operator
2014-10-23 17:50:08 +00:00
christos
37db287df0
Use libdplibs
2014-10-23 12:16:25 +00:00
christos
9512ff2aab
simplify and add more architectures.
2014-10-23 00:25:54 +00:00
christos
9b7e305c80
set the proper asan variable
2014-10-22 23:17:24 +00:00
christos
c589879b35
Add build glue
2014-10-22 21:22:06 +00:00
christos
877f27642f
add libasan to the build
2014-10-22 21:21:02 +00:00
christos
f4169a524f
more portability fixes.
2014-10-22 21:19:59 +00:00
christos
152b237a9f
add undef first
2014-10-22 20:50:20 +00:00
christos
38f6727a61
Do the mcontext stuff differently so that we don't fail compilation.
2014-10-22 16:53:16 +00:00
christos
df8aa0850e
NetBSD supports -lasan
2014-10-22 16:52:47 +00:00
christos
ff64bca229
Add libraries the statically linked address sanitizer library needs.
2014-10-22 16:52:23 +00:00
christos
0b7d23047d
No need to -I execinfo now that unwind.h is installed.
2014-10-22 16:31:57 +00:00
christos
496a0216ed
reduce diffs with upstream.
2014-10-22 16:29:47 +00:00
christos
8bb734fd0d
Go back to use the linux version which can be used for our stuff too now.
2014-10-22 03:07:11 +00:00
christos
9017a279de
install a shared library version, now that we know how to do it.
2014-10-22 00:16:29 +00:00