This is the mail archive of the mailing list for the binutils 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: Certainly not a typo in binuti

On Mar 31, 2011, at 12:37 PM, Philippe Vouters wrote:
> I do understand your doubtfullness. The GNU assembler is primarily
> designed for the GNU compilers. However, why excluding most HP VMS
> compilers customers from using gas and force them to use the Intel's
> proprietary assembler they can't freely get it by their own ?
> Currently gas can only used by HP C and C++ compilers users only when
> they add the /names=(as_is) option to their compile command. This
> eliminates all HP VMS Cobol, Fortran, Pascal, Basic customers from
> using gas.
> As I wrote, this can be avoided if gas implements a special
> - --uppercase-globals option intended to VMS users which would uppercase
> all exported symbols from within an assembly code. This way all HP VMS
> compilers customers could mix their code with the gas assembler.

Well, if you speak about hand-written assembly code, you can simply modify the

If you speak about compiler generated assembly code, doing this in the assembly
is not enough and you'd better to deal with that in the compiler itself.
There are many cases to consider such as converting well known function names (such as
the one from the C library) to the VMS convention (ie open -> DECC$OPEN).

> As HP Fortran implements 77, 90, 95 standards and GNU Fortran
> implements 90, 95, 2003, 2008 and gnu standards along with the so
> appreciated OpenMP directives, it would also be imaginable that VMS
> Fortran users could write new codes using gfortran that they mix with
> their HP Fortran 77, 90, 95 already tested codes. So when and if
> gfortran is ported to the VMS world, it should also include such a
> - --uppercase-globals option in combination with -fno-underscoring.

Feel free to submit a patch to implement this feature.


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