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] VAX ELF PIC support.



On Sunday, September 21, 2003, at 10:18 PM, Richard Henderson wrote:


On Sun, Sep 21, 2003 at 03:09:31PM -0700, Matt Thomas wrote:
So the assembler can warn about non-PIC expressions.

	movl	$foo, %r0     generates a warning
	movab foo, %r0	does not.

Any chance you could add an assembler directive to control this instead? Having to rely on specs is evil.

Why is this any more evil than using any other assembler switch
(alpha for cpu extenstion, ppc for 32/64/altivec, etc.)? All
those "could be done with assembler directives" as well. I don't
see why an assembler directive is less evil than specs, especially
give the current wide use of assembler specs.
--
Matt Thomas email: matt@3am-software.com
3am Software Foundry www: http://3am-software.com/bio/matt/
Cupertino, CA disclaimer: I avow all knowledge of this message.



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