Commit Graph

51 Commits

Author SHA1 Message Date
mrg
e292c2206e remove old generated versions of man pages.
update the dist versions of man and info pages to include local changes.
2016-07-06 11:21:17 +00:00
skrll
11d5fda1b2 Preserve the arm architecture version (if present) 2016-05-12 15:27:54 +00:00
skrll
c384c5b3fa For earm use the compiler to determine sf vs hf 2016-05-12 12:51:53 +00:00
skrll
74f1f7b042 Doh... don't add the ABI to 'os'. Hopefully arm is really fixed now. 2016-05-12 10:55:03 +00:00
skrll
8a8024b50c Sync config.guess with upstream, but maintain earm* stuff.
Fixes tools build on arm platform.
2016-05-12 08:43:49 +00:00
christos
75518e7407 Propagate PLT fix from our gcc-5.3 tree:
Some functions like __udivsi3 are used in other assembly files like __umodsi3.
Use PLT linkage to avoid text relocations.

XXX: pullup-7
2016-04-22 18:05:52 +00:00
mrg
0010df8996 regenerate mknative-gcc for GCC 4.8 and *arm* 2016-04-21 07:24:09 +00:00
skrll
a7d674ca52 Re-order includes so that ARM_TARGET2_DWARF_FORMAT takes effect
Fixes PR/51066: C++ text relocations
2016-04-20 06:51:03 +00:00
martin
f9c9a2217e "Extended version" of the "mips64 hack" used in gcc 5.3's libgcc.a
build: avoid lots of duplicate symbols on softfloat builds.
Now mac68k is buildable with MKSOFTFLOAT=yes again, finally!
2016-03-31 15:06:39 +00:00
christos
09efa38c34 sync with the code with have in the current copy of gcc. 2016-03-10 14:40:00 +00:00
christos
8a4b3b5da5 Do the same song and dance for functions. 2016-03-10 03:50:47 +00:00
christos
d396365815 Fix copy relocations against protected symbols from:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248
2016-03-08 03:58:08 +00:00
skrll
751d84791e Remove duplicated lines 2016-02-22 07:57:11 +00:00
dholland
dca47d5247 Restore the local change
-gcc: internal compiler error: Killed (program cc1plus)
  +gcc: internal compiler error: Killed (program cc1plus received signal 9)
which was lost in an update somewhere after netbsd-6.

This clarification was found in the past to significantly reduce the
number of bug reports caused by people running out of swap, such as
(most likely) seen again today in PR 50802.

XXX: pullup-7
2016-02-14 19:08:10 +00:00
mrg
93abc59558 protect the entire contents of regsub.c with extern "C".
this fixes the tools build, at least.

also, remove the no longer needed cdefs.h from one of these copies.
2016-01-21 04:55:40 +00:00
christos
8b59ebd5ef make regasub a "C" decl. 2016-01-20 17:09:04 +00:00
christos
fe4272b7bc remove __RCSID, sync with libc 2016-01-20 15:12:29 +00:00
christos
10dfc2597e ifdef __RCSID 2016-01-16 19:28:36 +00:00
wiz
40fc864a9c Add missing word in comment. 2016-01-11 22:41:48 +00:00
christos
e85b730730 Hack around the cabs mess, and explain what's going on... 2016-01-11 16:49:09 +00:00
christos
ee2af19067 add -fdebug-regex-map=regex=subst which works like sed -e s/regex/subst/
to aid with /usr/obj remapping for MKREPRO
2016-01-09 02:00:14 +00:00
christos
8ec658f57a - Change LDADD/DPADD in library dependencies to LIBDPLIBS
- Fix some LDADD abuse and remove useless dependencies
- include <bsd.init.mk> in the right place where appropriate
From Rin Okuyama
2016-01-05 13:07:46 +00:00
christos
37ae74be41 For reproducible builds, allow the source of the map to be set from the
environment, so that DW_at_producer is the same no matter what the actual
underlying source and destination directories are. See:
    https://gcc.gnu.org/ml/gcc-patches/2015-12/msg01168.html
2015-12-22 16:48:44 +00:00
christos
e2f72a0028 Fix logic bug where __cpuid gets called when __get_cpuid_max() returns 0.
This happens when __level == 0, from libgcc/config/i386/cpuinfo.c#285.
This breaks early i486 CPUs which don't have cpuid
2015-11-22 20:47:42 +00:00
christos
14b759e0d5 We've never supported executable stack notes in any archs so don't add one. 2015-11-08 17:13:01 +00:00
christos
05e58339da Apply the GNU-stack fixes to the old branch. 2015-11-07 16:53:59 +00:00
gdt
fc89a2852b Use -f with cp.
When the source tree is 444 (as should be unremarkable), cp results in
object files that are 444, which when cp'd again without -f result in
an error.
2015-11-02 00:51:18 +00:00
christos
d8e986fab6 Introduce a syslog format that accepts %m. Stop accepting %m in printf
like formats. Support for this is detected via the __syslog_attribute__
macro.
2015-10-14 16:05:14 +00:00
mrg
34a1d0259a re-merge GCC 4.8.5 (part 1). 2015-09-23 04:23:50 +00:00
mrg
f78a39098a re-merge GCC 4.8.5 (part 1) 2015-09-23 03:39:07 +00:00
mrg
678f798eaf import GCC 4.8.5 as gcc.old, in prepartion to update GCC. 2015-09-23 03:03:02 +00:00
mrg
cc09a3cba1 delete GCC 4.5. 2015-04-07 21:19:28 +00:00
joerg
80d5023792 libgcc_s is linked in the specs already, don't do it explicitly. 2015-01-29 21:12:10 +00:00
mrg
a4ee9f7109 fix MKGCCCMDS=no, and turn it on by default for sun2. 2015-01-05 01:52:23 +00:00
joerg
a1f9624941 Apply r1.2 from our GCC 4.8 version of the same file:
Kill the "throw()" on a forward declaration for posix_memalign (it does
not match our base declaration and may cause warnings).
2014-09-15 16:29:18 +00:00
christos
d09cee68fb use the same dynamic sources trick to make sure that the first dependency
is the c source file so that IMPSRC gets set correctly.
2014-08-25 16:27:25 +00:00
dholland
c08b6bfde0 Update the bug report URL as per PR 48712. I assume in order for this
to propagate to where it'll be seen we need to rerun mknative, which
I'm not in a position to do right now; but this way it'll update the
next time someone else does that.
2014-07-27 04:16:09 +00:00
tsutsui
f140ce152e Tweak LIB1ASMFUNCS order to avoid linker warnings on libgcc_s build with -O2.
Without this change, ld complains as the following:
>> libgcc_s_pic.a(_float.pico):(.text+0x8): relocation truncated to fit:
>> R_68K_PC16 against symbol `$_exception_handler' defined in .text section in
>> libgcc_s_pic.a(_floatex.pico)

_float.S and _double.S refer `$_exception_handler' declared in _floatex.S
and linking the _floatex.S first seems to work around these warnings
(probably caused by pic relative jump addresses).
See port-m68k@ posts for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html

Note m68k.mk is manually edited to avoid extra diffs.
2014-06-29 04:55:44 +00:00
mrg
ac641cb906 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +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
joerg
b204cbfda6 For HAVE_LIBGCC_EH=no, skip libgcc's unwind code. 2014-03-21 20:54:13 +00:00
matt
04aa645771 Use new elf32ppc_nbsd emulation. 2014-03-07 05:49:53 +00:00
matt
7412f6d60a Fix MULTILIB variables to match reality. 2014-03-07 04:15:34 +00:00
matt
7e9f53e082 WCHAR_SIZE is always int on NetBSD 2014-03-07 04:14:30 +00:00
skrll
851c716c49 Re-run mknative for hppa space register convention change. twice! 2014-03-06 19:07:13 +00:00
skrll
1b5cff8f1d Move to a flat space register convention. %sr[4-7] are all now the space
number allocated to the process.  gcc produces (slightly) better code
with this convention.

Retain backwards compatiblity.

Welcome to 6.99.36
2014-03-06 19:02:58 +00:00
tron
3c4e02c654 Fix build with "USE_SSP" set to "yes".
Problem reported by B Harder on "current-users" mailing list.
2014-03-05 16:18:41 +00:00
mrg
6095fc3e45 re-import GCC 4.5* with latest fixes to build as gcc.old.
should be the last time we need to do this.
2014-02-27 09:11:34 +00:00
mrg
9fa1c2f8d5 oops, did not mean to commit this. 2014-02-26 22:04:17 +00:00
mrg
6acb51a6d4 update gcc.old from GCC 4.5 versions that build with EXTERNAL_GCC_SUBDIR,
should be identicaly for the 'dist' subdir.
2014-02-26 10:56:10 +00:00