This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patches] Re: Fix compilation to native x86-64 compiler

Richard Henderson <> writes:

> On Wed, Dec 05, 2001 at 05:02:10PM +0100, Jan Hubicka wrote:
>> > So, what should be done with Bo's patch?
>> I guess better is the patch I sent to list to kill -ax entirely.
> For the machine state part, yes.

Ok, then let's wait until it gets reviewed.

> I'll leave the hackery to someone who's keeping track of
> the x86-64 glibc work.  It seems wrong to me -- either glibc is
> going to change the install location or it isn't.  And if it is,
> better sooner than later.

As the one doing the x86-64 glibc work and working on the ABI: glibc
is expected to stay as it is.  The patch is fine, just the comment is

> --- linux64.h	2001/10/16 22:04:20	1.2
> +++ linux64.h	2001/12/03 13:14:08
> @@ -36,13 +36,17 @@
>     options at link-time.
>     When the -shared link option is used a final link is not being
> -   done.  */
> +   done.
> +   TODO: The x86-64 ABI states the dynamic linker to be placed in
> +   /lib, but currently glibc installs it in /lib64. Change this when
> +   glibc gets corrected.  */
> +

This should be removed completly since it's wrong, ignore the ABI,
I'll change it soon.

>  #undef	LINK_SPEC
>  #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} 
> %{shared:-shared} \
>    %{!shared: \
>      %{!static: \
>        %{rdynamic:-export-dynamic} \
> -      %{!dynamic-linker:-dynamic-linker /lib/}} \
> +      %{!dynamic-linker:-dynamic-linker /lib64/}} \
>        %{static:-static}}"

And this part is fine!

 Andreas Jaeger
  SuSE Labs

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]