Closed uyjulian closed 9 years ago
On 5/4/2015 10:50 AM, uyjulian wrote:
This gcc/binutils update will break old code (for example, l-value assignments are used a lot in ps2sdk) Don't merge yet!
You can view, comment on, or merge this pull request online at:
https://github.com/ps2dev/ps2toolchain/pull/7
Commit Summary
gcc/binutils update, clean up scripts, breaks code that uses old gcc hacks!!!
File Changes
- A Readme.md https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-0 (22)
- D depends/check-autoreconf.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-1 (5)
- D patches/binutils-2.14-PS2.patch https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-2 (11879)
- A patches/binutils-2.25-iop-PS2.patch https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-3 (980)
- D patches/gcc-3.2.3-PS2.patch https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-4 (4883)
- A patches/gcc-4.9.2-iop-PS2.patch https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-5 (159)
- D readme.txt https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-6 (39)
- D scripts/001-binutils-2.14.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-7 (31)
- A scripts/001-download-sources.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-8 (22)
- A scripts/002-binutils.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-9 (48)
- D scripts/002-gcc-3.2.3-stage1.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-10 (33)
- A scripts/003-gcc.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-11 (49)
- D scripts/004-gcc-3.2.3-stage2.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-12 (24)
- R scripts/004-newlib.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-13 (8)
- M scripts/005-ps2sdk.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-14 (17)
- M scripts/006-ps2client.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-15 (13)
D toolchain-sudo.sh https://github.com/ps2dev/ps2toolchain/pull/7/files#diff-16 (17)
Patch Links:
- https://github.com/ps2dev/ps2toolchain/pull/7.patch
- https://github.com/ps2dev/ps2toolchain/pull/7.diff
— Reply to this email directly or view it on GitHub https://github.com/ps2dev/ps2toolchain/pull/7.
Other than that, I'm quite sure that import and export table generation will be broken too. When I got GCC 4.92 and Binutils 2.24 to support the IOP, I had to use the -fno-toplevel-reorder option to prevent bits of the import tables from being reordered. Those variables within the import and export tables that are tagged with the "unused" attribute had to be changed to "used", in order to ensure that GCC will not remove them.
I'll fix the old code in ps2sdk and send a pull request to there.
I'll close this pull request while I'm working on a GCC 5.1 patch.
This gcc/binutils update will break old code (for example, l-value assignments are used a lot in ps2sdk) Don't merge yet!