This is the mail archive of the gcc-patches@gcc.gnu.org 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: [PATCH] Fix ppc32 -pie handling


>>>>> Jakub Jelinek writes:

Jakub> GCC on powerpc-*-linux* with -pie uses incorrectly crtend.o instead
Jakub> of crtendS.o and results in text relocations.
Jakub> The following fixes it and cleans it up.  Bootstrapped/regtested
Jakub> on {ppc,ppc64}-redhat-linux.
Jakub> Ok for HEAD/3.4?

Jakub> 2005-02-11  Jakub Jelinek  <jakub@redhat.com>

Jakub> * config/rs6000/sysv4.h (ENDFILE_LINUX_SPEC): Use crtendS.o instead of
Jakub> crtend.o if -pie.  Use %{x:a;:b} spec syntax.

	Yes, this is okay everywhere.  We already use this syntax and
rhythm elsewhere such as STARTFILE_LINUX_SPEC.

Thanks, David


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