This is the mail archive of the gcc-bugs@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]

Re: Incorrect options passed to ld on i386-pc-solaris2 with -mimpure-text


Jeffrey A Law wrote:
> 
>   In message <373650CD.33400577@ibw.com.ni>you write:
>   > The sparc version of gcc has the -mimpure-text option that causes -z
>   > text not to be passed to ld.  The i386 version does not do this.  This
>   > causes problems when compiling the java 1.2 sources on Solaris 2.7/i386.
>   >
>   > The following patch seems to correct the problem (the change was copied
>   > in from the sparc version of the file):
> Don't you also need to add -mimpure-text to TARGET_SWITCHES in i386.md?
> 

Perhaps that is true, however this seems to be more of a Solaris issue
rather than an i386 problem.  Also in my haste to get it to work, I may
not have made proper changes to all required files.


> You should also update invoke.texi to mention the new switch under the
> "i386 Options".
> 
> jeff

-- 
David S. Daney        Managua Nicaragua +505 265-7318
daney@ibw.com.ni


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