Commit Graph

19 Commits

Author SHA1 Message Date
Wolfgang Thaller
6ac29f751a fix weak[BS] symbol bug in xcoff linker 2023-12-12 20:40:58 +01:00
Wolfgang Thaller
326b9c406d Merge branch 'upstream' into gcc12-update 2022-10-27 21:55:34 +02:00
Wolfgang Thaller
f485e125c4 binutils 2.39 2022-10-27 20:45:45 +02:00
Wolfgang Thaller
6ea1bcda2b Revert "switch from binutils only to binutils-gdb, tag gdb-10.1-release"
This reverts commit 6c5c652ee1.
2022-10-27 20:43:13 +02:00
Wolfgang Thaller
6c5c652ee1 switch from binutils only to binutils-gdb, tag gdb-10.1-release 2021-03-21 01:09:18 +01:00
Wolfgang Thaller
2999ed8613 change the way gcc's collect2 works to fix #74
GCC's AIX port, which RetroPPC is based on, uses a different method
from most other platforms to collect the list of all global constructors
and the list of all exception handling tables.
The "standard" method does not work on AIX because IBM's linker will
discard those symbols too early for GCC's liking if they are not
directly referenced.

Unfortunately, the workaround seems to keep too much, so PPC C++
exececutables were at least 1.1MB big.

We don't need to be compatible with IBM's linker. Instead, hack binutils
to keep the symbols that we need kept, and allow GCC to use the
"standard" method for the collect2 pass.

PowerPC application sizes are now down to a reasonable size.
2019-01-13 22:33:07 +01:00
Wolfgang Thaller
3f05837f3f Merge branch 'upstream' into gcc-8.2
# Conflicts:
#	binutils/bfd/config.bfd
#	binutils/gas/configure.tgt
#	binutils/intl/ChangeLog
#	binutils/intl/aclocal.m4
#	binutils/intl/config.h.in
#	binutils/intl/configure
#	binutils/intl/configure.ac
#	binutils/ld/configure.tgt
#	gcc/gcc/c/c-decl.c
#	gcc/gcc/c/c-parser.c
#	gcc/gcc/calls.c
#	gcc/gcc/combine.c
#	gcc/gcc/config/m68k/m68k-protos.h
#	gcc/gcc/config/m68k/m68k.c
#	gcc/gcc/config/rs6000/rs6000.opt
#	gcc/gcc/cp/parser.c
#	gcc/gcc/expr.c
#	gcc/intl/ChangeLog
#	gcc/intl/configure
#	gcc/intl/configure.ac
#	gcc/newlib/configure.host
2018-12-28 17:02:51 +01:00
Wolfgang Thaller
1cc92c1e99 update to binutils 2.31.1 2018-12-28 16:25:28 +01:00
Wolfgang Thaller
19ab4d99ae Merge branch 'upstream' into gcc-7.2
# Conflicts:
#	binutils/bfd/config.bfd
#	binutils/ld/configure.tgt
#	gcc/gcc/c-family/c-common.c
#	gcc/gcc/c/c-parser.c
#	gcc/gcc/calls.c
#	gcc/gcc/config/m68k/m68k.c
#	gcc/gcc/config/rs6000/rs6000.c
#	gcc/gcc/config/rs6000/rs6000.opt
#	hfsutils/COPYING
#	hfsutils/install-sh
2017-10-07 02:46:50 +02:00
Wolfgang Thaller
65c83606fb Update gcc to 7.2.0, binutils to 2.29, newlib to 2.5.0 2017-10-07 02:16:47 +02:00
Wolfgang Thaller
71f78cceb8 Merge branch 'upstream' into gcc-6.3
# Conflicts:
#	binutils/bfd/coff-rs6000.c
#	gcc/gcc/calls.c
#	gcc/gcc/config/m68k/m68k.c
#	gcc/gcc/config/rs6000/rs6000.opt
#	gcc/gcc/cp/cfns.gperf
#	gcc/gcc/cp/cfns.h
#	gcc/gcc/cp/parser.c
2017-04-11 23:25:51 +02:00
Wolfgang Thaller
0a883ac4aa upgrade gcc to 6.3.0, binutils to 2.28 2017-04-10 13:32:00 +02:00
Wolfgang Thaller
06b8cf62eb binutils: don't lose entry point when linking with -bnogc 2015-09-08 10:13:10 +02:00
Wolfgang Thaller
9f7a6ac3a9 binutils: try to make ppc XCOFF weak symbols behave more like ELF 2015-09-08 10:12:37 +02:00
Wolfgang Thaller
6513c4a117 Revert "hacks to prevent ld crashes"
This reverts commit c58b44596a.
2015-08-31 16:45:25 +02:00
Wolfgang Thaller
c58b44596a hacks to prevent ld crashes 2015-08-31 16:45:02 +02:00
Wolfgang Thaller
da4dfe30c9 Update binutils to 2.25.1 2015-08-28 17:32:19 +02:00
Wolfgang Thaller
2ce044c327 Update binutils to version 2.24 to work around a build problem 2015-08-28 17:31:26 +02:00
Wolfgang Thaller
5d96d8025a add binutils-2.20.1 2012-03-26 21:18:29 +02:00