This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Solaris x86-64 fixes for binutils
- From: Alex Bennee <kernel-hacker at bennee dot com>
- To: binutils at sourceware dot org
- Date: Mon, 19 Mar 2007 19:55:25 +0000
- Subject: [PATCH] Solaris x86-64 fixes for binutils
Hi,
The following patches are a port of some work done by a colleague that
were needed to get 64bit Solaris binaries working correctly in a cross
compiled environment:
0001-Added-some-version-defines.txt
Just defines some constants for Solaris sections
0002-Ensure-we-apply-the-correct-suffix-to-the-lib-path-for-64-bits-libs.txt
The lib64 path on the test Solaris 10 box is /lib/amd64. However
Solaris10 does symlink /lib/64 to this path. I assume my college came
along a box where this was not so.
Given Sun are likely to ship intel boxes this part of the patch may be
redundant.
0003-To-support-linking-for-Solaris-targets-we-need-to-specify-a-seperate.txt
This fixes a definite problem. There is no ld64.so on Solaris so this
ensure we set the correct interpreter. This is done by adding a new
variant.
0004-Added-support-for-solaris-sections.txt
This adds in support for some sections ld skipped.
Unfortunately to get all this tested I'm still waiting for my cross
compiled gcc to build. However I thought it would be worth posting the
patches up for comment. I'm at the UKUUG for the next 2 days but I
should have access to email over the next few days.
--
Alex, homepage: http://www.bennee.com/~alex/
"Boy, life takes a long time to live -- Steven Wright