PATCH: Fix the relax finalize pass
H. J. Lu
hjl@lucon.org
Thu May 15 14:53:00 GMT 2003
On Thu, May 15, 2003 at 03:43:42PM +0930, Alan Modra wrote:
> On Wed, May 14, 2003 at 10:41:08PM -0700, H. J. Lu wrote:
> > On Wed, May 14, 2003 at 10:31:36PM -0700, Richard Henderson wrote:
> > > On Wed, May 14, 2003 at 07:19:12PM -0700, H. J. Lu wrote:
> > > > It sounds good. Are you going to implement it?
> > >
> > > Not any time soon.
> > >
> >
> > How about this kludge in the meantime?
>
> No, just disable DATA_SEGMENT_ALIGN for ia64 until you can get the
> ia64 backend fixed. Not defining COMMONPAGESIZE should do the trick.
>
I will check in this patch now.
H.J.
-------------- next part --------------
2003-05-15 H.J. Lu <hongjiu.lu@intel.com>
* emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
--- ld/emulparams/elf64_ia64.sh.relax 2002-02-22 23:44:00.000000000 -0800
+++ ld/emulparams/elf64_ia64.sh 2003-05-15 07:48:57.000000000 -0700
@@ -7,7 +7,9 @@ OUTPUT_FORMAT="elf64-ia64-little"
ARCH=ia64
MACHINE=
MAXPAGESIZE=0x10000
-if test -n "$CREATE_SHLIB"; then
+# FIXME: It interferes with linker relaxation. Disable it until it is
+# fixed.
+if test "0" = "1" -a -n "$CREATE_SHLIB"; then
# Optimize shared libraries for 16K page size
COMMONPAGESIZE=0x4000
fi
More information about the Binutils
mailing list