mrg
26f35dd6b6
remove the build support for GCC 4.1, and any hacks i found for it.
...
there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)
2014-06-13 01:17:45 +00:00
christos
98aafcec91
include relative to the parse directory.
2014-06-08 02:23:46 +00:00
matt
ce9623f76a
Fix a problem with reloading the inner reg of a subreg when it's a
...
mode dependent address.
2014-06-05 21:00:36 +00:00
tron
d734beeb2c
Fix build with stack smash protection enabled.
2014-06-04 19:07:22 +00:00
matt
4ed1ab1100
Don't match an indexed address of the form val[reg].
2014-06-04 16:11:32 +00:00
matt
b870133566
Add some peepholes to help pushing of adjacent registers or memory locations
...
on the stack. Add a peephole to translate two pushes on integers into
one push of a DImode register.
2014-06-03 22:34:28 +00:00
matt
f8174f3ae5
Fix tpyo.
2014-06-03 22:31:48 +00:00
joerg
b319e84295
Re-add -cxx-isystem and -iremap, lost in the GCC 4.8 transition.
2014-06-02 10:14:35 +00:00
mrg
2c6fc41c81
catch up with GCC_SUBDIR changes for new-to-gcc 4.8 directories.
2014-06-01 20:24:45 +00:00
mrg
5beaf704be
port over 3 changes made here in the GCC 4.5 tree that we'll need
...
when GCC 4.8 becomes "gcc.old" eventually.
this tree still needs to be tested for more, but this should be the
bulk of the work.
----
Log Message:
prepare for moving GCC 4.5 into gcc.old:
- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
because it arranges for ../Makefile.inc to be included earlier, and
don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.
XXX the relationship between the Makefile.inc/Makefile.gcc_path files
is kind of sketchy, it would be great if this was fixed.
----
Log Message:
oops, avoid re-setting DIST to something that might be wrong now.
----
Log Message:
fix another dated DIST.
2014-06-01 19:51:01 +00:00
mrg
d26da1a6c3
make sure that files containing version numbers are rebuilt when
...
the version actually changes.
2014-05-31 22:55:16 +00:00
christos
3ad0225b3d
Add different defines to force weak pthread symbols.
...
XXX: I think these should be generated automatically.
XXX[2]: Why:
gthr-default.h -> $NETBSDSRCDIR/external/gpl3/gcc/dist/libgcc/gthr-posix.h
and wes still have old arch/*/gthr* files?
2014-05-31 20:09:15 +00:00
christos
9fc719f12e
use weak symbols instead of linking against libpthread.
2014-05-31 14:03:08 +00:00
joerg
7632431698
Switch eARM to using normal DWARF exception handling.
2014-05-30 18:31:31 +00:00
skrll
f73bb013ae
Remove unused files.
2014-05-29 16:28:26 +00:00
mrg
955b6c1f27
commonize the netbsd local version string. (the native one wasn't
...
updated, and now that won't be a problem again.)
2014-05-29 07:40:37 +00:00
mrg
1b1872cba4
make LINK_EH_SPEC match other usage. fixes powerpc build.
2014-05-29 07:05:10 +00:00
mrg
04408297e6
move the -std=gnu++0x code from Makefile to Makefile.common.
...
fixes the remaining 2/3 link issues.
2014-05-28 17:09:18 +00:00
mrg
271c711fb0
add -pthread to compiler/linker flags. fixes 1/3 of the link issues.
2014-05-28 16:41:06 +00:00
mrg
a878343648
re-run mknative-gcc after threading fixes by skrll and myself.
2014-05-28 09:09:35 +00:00
mrg
295c54e235
apply patch from skrll@: allow netbsd host=target to configure
...
GLIBCXX_IS_NATIVE.
2014-05-28 07:03:27 +00:00
mrg
5b741f074a
rerun mknative-gcc for GCC 4.8.3 release.
...
XXX: still not 100% right, but we're getting close.
2014-05-28 06:54:48 +00:00
skrll
6fac5056c2
Resolve conflicts
2014-05-27 09:18:53 +00:00
skrll
9c8f586f64
Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254
2014-05-27 08:50:03 +00:00
skrll
0f2e98845a
Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254
2014-05-27 08:39:52 +00:00
skrll
5f4cdc7d41
Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254
2014-05-27 08:29:46 +00:00
matt
bc43ee9904
Add LEGITIMATE_PIC_OPERAND_P(X) to prevent global symbol + offset from
...
being a legitimate pic operand (because it's not).
2014-05-23 13:35:26 +00:00
mrg
c16f810189
apply -fimplicit-templates instead of forcing -O2. fix the
...
build fix on platforms that don't use -O2 by default, and
also enables building with -O0.
2014-05-16 09:36:51 +00:00
joerg
9af9cc70aa
Skip assembler helpers when using HAVE_LIBGCC_EH=no. Always use the
...
generic unwind.h version in that case, even on ARM.
2014-05-15 14:37:08 +00:00
martin
0b6a7ee607
Fix comment pointing at the source of the list of functions and add
...
two missing ones: _clrsbsi2 and _clrsbdi2
2014-05-03 16:43:10 +00:00
dogcow
cd6db90cfd
fix munged patch: xcompilation on linux/non-arm systems -> netbsd/arm works again.
2014-04-30 02:04:11 +00:00
joerg
0af4f3b8a9
Don't use inline in C sources, it will certainly not work correctly with
...
a C99 compiler.
2014-04-26 22:38:09 +00:00
martin
17480df656
Pull up upstream revision 209789: remove the *ashlsi3_extend pattern.
...
This fixes gcc [Bug target/60941] and resolves a firefox crash for me.
2014-04-25 11:06:52 +00:00
christos
2d59a755a9
Returning in the middle of a TRY_CATCH macro gives heartburns since the
...
jump buffer is not being reset.
2014-04-21 17:32:14 +00:00
apb
3ff1cdf566
Set ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
...
instead of ac_install_sh="$ac_aux_dir/$ac_t -c"
in all configure scripts in the gcc.old/dist tree.
This ensures that the install-sh script is always run
under the correct shell.
2014-04-19 15:57:46 +00:00
apb
7f226bea47
Set ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
...
instead of ac_install_sh="$ac_aux_dir/$ac_t -c"
in all configure scripts in the gcc/dist tree.
This ensures that the install-sh script is always run
under the correct shell.
2014-04-19 13:00:57 +00:00
apb
441c2cf2f8
Use $(SHELL) to run move-if-change.
2014-04-19 12:41:31 +00:00
christos
035ceafe9d
It is not nice to fake things we don't have; instead check explicitly
...
that we can get CS.
2014-04-16 02:14:44 +00:00
christos
07009f7010
take constant expressions out of the loop.
2014-04-16 00:34:10 +00:00
christos
b8c0fcebe9
supply a fake cs that has has not have SEL_UPL set, so that our trapframe
...
sniffer works.
2014-04-16 00:32:33 +00:00
joerg
68aeaa009b
Use correct library path for -m32 on sparc64.
2014-04-14 21:09:02 +00:00
christos
ebffd37d96
remove extra
2014-04-04 01:19:57 +00:00
christos
19f79caf6f
Add NOCTF
2014-04-04 01:19:14 +00:00
joerg
0e80d9e124
Before messing with macros from stdio.h, include cstdio. Some parts of
...
the backend would include it afterwards and the macro changes conflict
with libc++'s version of cstdio.
2014-03-29 21:33:39 +00:00
matt
1a3430eb55
Bias the cfi pc expr by nbytes since vax pcrel are relative to end of the
...
relocation, not the beginning. By adding the size of relocation, it will
become relative to the start of the relocation.
2014-03-25 16:17:33 +00:00
joerg
9fe3724ad4
Cast to _Unwind_Ptr here as well.
2014-03-25 10:03:51 +00:00
ozaki-r
9a1cd017d1
Cast ptr to the correct return type (_Unwind_Ptr)
2014-03-25 00:50:45 +00:00
joerg
3b142775a7
Cast context->ldsa to the correct return type.
2014-03-24 22:39:06 +00:00
joerg
47a96e3a4d
_Unwind_GetLanguageSpecificData is supposed to return a _Unwind_Ptr.
...
This makes a difference on M68K as it uses a different register for
integer vs pointer values.
2014-03-24 21:26:01 +00:00
martin
e5db261cf2
Avoid undefined behaviour (which causes traps on VAX).
2014-03-22 20:36:45 +00:00