Commit Graph

510 Commits

Author SHA1 Message Date
martin
5e4c896995 ia64 mknative results for gcc and binutils 2012-12-27 20:32:41 +00:00
martin
7657b23ac4 We do not have a native libunwind (yet) - so reuse the Linux stuff on ia64
for now.
2012-12-20 07:12:26 +00:00
martin
7b7b3a04a8 Avoid duplicate definition of __enable_execute_stack in libgcc (copied from
the rs6000 netbsd.h)
2012-12-19 16:57:21 +00:00
skrll
1b59d35cc3 Remove G_CONFIGDIR from .PATH as nothing defines it (anymore)
Add the paths from G_LIB2ADDEH to .PATH (for ia64)
2012-12-16 15:32:38 +00:00
christos
cfd7c4b684 XXX: Use earm for earmeb 2012-12-08 02:35:06 +00:00
christos
decff94806 fix inconsistencies in EABI decls. 2012-12-08 01:38:26 +00:00
christos
06c8deb857 If we did not include a specific arch file G_UNWIND_H will not be defined.
Perhaps it is better to error out in that case?
2012-12-07 15:38:04 +00:00
matt
1ca4d4f793 Fetch VFP registers, not FPA. 2012-12-06 06:45:45 +00:00
apb
ee9a2498cf Adjust everything under src (but outside src/tools) to use
the TOOLDIR version of libnbcompat, associated include files,
and associated defs.mk file, instead of the version from the
.OBJDIR of src/tools/compat.  This should fix PR 47188.
2012-12-02 12:55:27 +00:00
joerg
66eae2a69d Merge r163231 from upstream to fix xulrunner build with Clang. 2012-11-08 18:13:53 +00:00
joerg
6677762418 Provide copy constructor and copy assignment operators for C++11.
Clang implements the C++11 semantics properly that require the default
to be implicitly deleted.
2012-11-08 11:24:00 +00:00
skrll
8f942710bb Re-run mknative for mips gdb 7.3.1 - not being used just yet. 2012-11-03 17:07:49 +00:00
skrll
7639cf466f Typo in previous 2012-11-03 15:07:40 +00:00
skrll
70142c72b9 Supply MIPS_ZERO_REGNUM and MIPS_UNUSED_REGNUM (as zero). Idea stolen from
mips-linux-tdep.c
2012-11-03 15:06:55 +00:00
skrll
2334c5671b Bring across target kvm support for mips from gdb6. 2012-11-03 14:59:44 +00:00
skrll
db35d67e76 Tidyup 2012-11-03 14:38:17 +00:00
drochner
d18545dea2 pull in upstream rev. 191413 to fix integer overflow in objalloc_alloc
(CVE-2012-3509)
2012-10-25 17:00:16 +00:00
msaitoh
237b58e244 Remove OLD manunal to install correct manual. 2012-10-12 18:41:59 +00:00
joerg
5af64d5574 PR 46978: ICE on spilling MMX registers
GCC/i386 has code to lower the required alignment for long long to 32bit
as the CPU doesn't need more. It is also using the same mode for setting
up the MMX registers and in turn, the stack slots reserved for spilling
require 32bit alignment. The actual vector types used keep the original
64bit alignment, so when the compiler wants to spill a MMX register, it
hits an assertion. Fix this by using the vector type as raw type for MMX
registers.
2012-10-06 14:10:46 +00:00
matt
04774ae728 This needs to have an #else clause 2012-09-26 05:57:45 +00:00
matt
40f28e9944 Fix _SOFT_FLOAT_ -> _SOFT_FLOAT 2012-09-26 05:38:29 +00:00
mrg
e8ae3e9a41 regen mknative files for GCC 4.5.4.
XXX: earm didn't build.
2012-09-18 19:45:46 +00:00
mrg
2c3eff6b3a regen mknative files for GCC 4.5.4. 2012-09-18 08:13:03 +00:00
mrg
67b559efa6 regen mknative files for GCC 4.5.4. 2012-09-18 07:44:34 +00:00
skrll
9378dd0cd5 Update for gcc 4.5.4 2012-09-18 07:05:15 +00:00
skrll
7ae732f19e Resolve conflicts. 2012-09-18 07:04:39 +00:00
skrll
a9d89c3b8a Import of gcc 4.5.4. The (possibly incomplete) list of fixed bugs is
50617 [4.5/4.6/4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
  45383 [4.5 Regression] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.
  45606 [4.5 Regression] match a method prototyped a typedef alias with the original type (using stdlib)
  47398 [4.5 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  49951 [4.5/4.6/4.7 Regression] Debug stepping behavior regarding g++ Class destructor has changed for the worse starting at gcc 4.5.0
  43190 [4.4 Regression] Used pointer typedefs eliminated from debug info
  43866 [4.4 Regression] wrong code with -fbounds-check -funswitch-loops
  43897 [4.4 Regression] IA-64 asm clobbers are ignored
  44777 [4.4 Regression] ICE: SIGSEGV with -fprofile-use in gcc.c-torture/execute/comp-goto-2.c
  46985 [4.5 Regression] ICE: SIGSEGV in is_gimple_min_invariant (gimple.c:2742) with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre
  47780 [4.5 Regression] -fcompare-debug failure with -O -fgcse -fgcse-las -fstack-protector-all
  47858 [4.5/4.6/4.7 Regression] IPA-SRA decreases quality of debug info
  47903 [4.5 Regression] var-tracking.c: valgrind error
  48685 [4.5 Regression] ICE in gimplify_expr, at gimplify.c:7034
  52139 [4.5 Regression] ICE: in remove_insn, at emit-rtl.c:3960 with -O -fPIC -fno-tree-dominator-opts -fno-tree-fre
  48046 [4.5 Regression] Expected diagnostic "reference to 'type' is ambiguous" not given for function-local static declaration
  51406 [4.5/4.6/4.7 Regression][c++0x] Incorrect result of static_cast to rvalue reference to base class.
  43949 [4.4 Regression] bogus warning: array subscript is above array bounds
  45982 [4.4 Regression] PTA does not track integers
  48172 [4.5 Regression] incorrect vectorization of loop in GCC 4.5.* with -O3
  49115 [4.5 Regression] invalid return value optimization (?) when exception is thrown and caught
  49279 [4.5 Regression] Optimization incorrectly presuming constant variable inside loop in g++ 4.5 and 4.6 with -O2 and -O3 for x86_64 targets
  50189 [4.5 Regression] Wrong code error in -O2 [-fstrict-enums] compile, target independent
  48660 [4.5/4.6 Regression] ARM ICE in expand_expr_real_1
  23656 Cross-compilation with newlib fails in libiberty
  37985 [4.5/4.6/4.7/4.8 Regression] unsigned char shift lacks "statement with no effect" warning
  38292 [4.5/4.6/4.7/4.8 Regression] corrupted profile info with -O[23] -fprofile-use
  40778 [4.5 Regression] Mudflap instrumentation missing in cloned function.
  40992 [4.4 Regression] cunroll ignoring asm size
  48306 [4.4 Regression] presence of gcc subdir with . in PATH causes breakdown
  49651 [4.4 Regression] nested lambdas and -O3 produced incorrect integer variable increments
  52223 [4.5/4.6 Regression] libffi's man page install breaks with multilibs and overridden mandir
  53418 [4.5 Regression] ICE at gimplify.c:7773
  53138 [4.7 Regression] spaceship operator miscompiled
  50091 [4.5/4.6/4.7 Regression] -fstack-check generates wrong assembly
  50979 architecture mismatch: "mul32" not enabled for "smul" or "umul"
  51187 miscompilation of genrecog.c at -O2 for --target=avr
  52717 thunk referenced in discarded section when building samba with -flto
  48742 [4.5 Regression] Internal error in gimplify_expr
  49120 [4.5 Regression] bogus "value computed is not used" warning (variable-length array in compound statement)
  49161 [4.5 Regression] Fix VRP on switch stmts
  49619 [4.5 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
  49621 [4.5 regression] ICE in trunc_int_for_mode, at explow.c:57
  49644 [4.5 Regression] post-increment of promoted operand is incorrect.
  51767 [4.5 Regression] ICE with degenerated asm goto
  51768 [4.5 Regression] ICE with invalid asm goto
  52736 [4.5/4.6/4.7/4.8 Regression] miscompilation: store to aliased __m128d is 8 Bytes off
  49440 [4.6 regression] Invalid dynamic_cast for unnamed namespace
  50565 [4.5/4.6/4.7 Regression] initializer element is not computable at load time
  52294 [4.7 Regression] [ARM Thumb] generated asm code produces "branch out of range" error in gas with -Os -mcpu=cortex-a9
  41159 [LTO] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:225
  48822 [4.5 Regression] G++ gets stucks and never finishes compilation when enabling -O2/3 optimization options.
  50162 [4.5 Regression] Wrong vectorization
  49381 Unresolved symbols in libgcjgc.a when linking gctest
  45786 [4.5 Regression] Relational operators .eq. and == are not recognized as equivalent
  48708 Invalid V2DI vector set insn generated
  50464 Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109
  51821 [4.5/4.6/4.7 Regression] 64bit > 32bit conversion produces incorrect results with optimizations
  52698 -maddress-mode=long doesn't work
  53228 [4.6/4.7/4.8 Regression] target attributes in libcpp/lex.c cause illegal instructions to be used elsewhere
  42082 [C++0x] ICE on probably invalid with "canonical types differ for identical types"
  42652 vectorizer created unaligned vector insns
  42856 [4.4 Regression] FAIL: gcc.dg/torture/pr41555.c -O0 (test for excess errors)
  47733 psignal (int, const? char*) in libiberty/strsignal.h
  48743 -march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction"
  49038 [4.5/4.6/4.7 Regression] -ftree-vectorise introduces reads past end of array
  49448 arm-tab-linux-gnu-eabi enableds big endian when it should not
  49461 boehm-gc and gcj incompatible with pie
  50875 O3 and -mavx lead to internal compiler error: in find_reloads
  51161 [C++0x] Illegal static_cast to rvalue reference to ambiguous base class
  51393 Wrong parameter type for _mm256_insert_epi64 in avxintrin.h
  51444 [4.4 Regression]: Spurious "is used uninitialized" warning for structure with bitfields
  51835 ARM EABI violation when passing arguments to helper floating functions like __aeabi_d2iz
  52894 [4.5,4.6,4.7 Regression] Stage1 bootstrap fails with gcc-4.6.3: Infinite loop in pointer_set_insert
  53310 [4.5/4.6/4.7/4.8 Regression] EOSHIFT leaks memory
  53744 gcov version oscillates between 407* and 407p on branches
  52335 [4.4/4.5/4.6/4.7 Regression] I/O: -std=f95 rejects valid DELIM= in OPEN
  46192 [4.5/4.6/4.7 regression] wrong code for renaming of volatile packed array with address clause
  44581 [4.5/4.6/4.7 Regression] internal compiler error: in simplify_subreg
  49307 [4.5/4.6/4.7 Regression] ICE in spill_failure, at reload1.c:2113
  50163 [4.4/4.5/4.6/4.7 Regression] ICE: initialization expression
  50273 [4.5/4.6/4.7 Regression] -Walign-commons no longer effective
  52022 [4.5/4.6/4.7 Regression] Wrong-code with procedures passed as actual argument
  52452 [4.5/4.6/4.7/4.8 Regression] INTRINSIC cannot be applied to gfortran's ETIME
  25973 [4.5/4.6/4.7/4.8 Regression] Wrong warning: control reaches end of non-void function
  53521 [4.5/4.6/4.7/4.8 Regression] Memory leak with zero-sized array constructor
2012-09-18 06:09:45 +00:00
mrg
b2458df459 re-run mknative.
- i386 tested
- m68k gomp tls reverted by hand
- powerpc softfloat added (un-reverted) by hand
2012-09-18 05:31:32 +00:00
msaitoh
6fdd74c593 Fix gcc bugid 51408 for arm.
Fixes PR#46972.
2012-09-16 07:26:30 +00:00
joerg
af71fc1536 Fix GCC to correctly implement the i386 psABI on NetBSD.
This consists of two parts:
- for NetBSD/i386 and NetBSD/AMD64 with -m32, use a default stack
  alignment of 23bit as specified by the ABI
- ensure that double and long long variables on the stack are by default
  only aligned to 32bit, if there is nothing else in the function
  needing a larger stack alignment

The combination ensures that SSE variables on the stack trigger the
realignment logic, but just using double or long long doesn't.
2012-09-14 13:00:01 +00:00
martin
6d25cb1840 Make can_trust_pointer_alignment() always return false on STRICT_ALIGNMENT
archs - gcc 4.5 is not able to properly track alignment and backporting
the fix from 4.6/4.7 is not feasible (according to upstream).
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46483 for details.
Fixes PR toolchain/46865.
2012-09-02 20:58:44 +00:00
msaitoh
568a3a3a5a Don't add unwind.h stuff into BUILDSYMLINKS when MKGCC=="no".
Fixes "Wrong number of words (1) in .for substitution list with 2 vars" problem
while mknative-ing. Approved by mrg.
2012-08-29 03:12:08 +00:00
matt
7d57bc60df Make this to produce working shared libraries again.
Resultant distribution was booted into single user using shared libraries.
2012-08-27 16:50:14 +00:00
matt
7c4c75c298 Add support for setting LIB_PATH for MKCOMPAT support. 2012-08-13 02:52:34 +00:00
mrg
99a54d3479 pay attention to -pie: link crt{begin,end}S.o.
this fixes -fpie on sparc and sparc64, and probably others.
2012-08-12 00:01:50 +00:00
joerg
c14f2d4ef8 Deal with optional HAVE_GCC. 2012-08-10 16:05:26 +00:00
matt
a4ae934e29 Remove code that should be have excised a long time ago. 2012-08-07 01:09:13 +00:00
matt
cb8c048ec5 on earm, don't include EH code. 2012-08-06 02:34:28 +00:00
matt
e19c6b7318 Add LIB2_EHASM to SRCS 2012-08-06 01:38:29 +00:00
matt
267745d7dd More regened configury (mostly exception related). 2012-08-06 00:49:52 +00:00
matt
c73e5095cc a few more fixes (make unwinding correct for EABI)
improve link spec to with fix-v4bx and emulations
Add bpabi-netbsd.c to resolve problem with bpabi.c conflicting with bpabi.S
2012-08-06 00:24:13 +00:00
matt
5598cdb53e Regen again. 2012-08-06 00:21:37 +00:00
matt
93f7a012df Deal with LIB2_EHASM 2012-08-06 00:21:09 +00:00
matt
638a65b2c0 deal with LIB2_EH has ASM (.S) files. 2012-08-06 00:19:03 +00:00
matt
b626930d34 Add a few missing for earm's gcc configury 2012-08-05 17:21:47 +00:00
matt
015ce606f7 Add gdb configury for earm 2012-08-05 17:09:16 +00:00
matt
714ce8eeef gcc4.5.3 configury for earm 2012-08-05 17:03:31 +00:00
matt
cd8b5f8c57 Allow arm*-netbsd*-eabi* to be recognized. 2012-08-05 16:51:46 +00:00
matt
88a901ba99 binutils mknative run for earm 2012-08-05 16:34:05 +00:00
matt
602e0146d8 Add arm{,eb}--netbsdelf-eabi support. (still evolving) 2012-08-05 04:10:18 +00:00