This is the mail archive of the binutils@sourceware.org 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: GNU Assembler - a surprise on VMS


On Mar 29, 2011, at 2:34 PM, Philippe Vouters wrote:
> Tristan,
> 
> Looks like the as assembler tool is fitted to GNAT Ada Pro ! Where is
> this __gnat_vms_display_name@gnat_demangler_rtl
> symbol included in without having GNAT Ada Pro installed ?

Yes, I know this hack is still present.  IMHO we should use a pseudo or a command line
switch to make it appear.

However, this is a very special symbol to indicate the linker how to demangle symbols.
So, this won't create missing references and this is somewhat harmless.

Tristan.


> 
> $ as -o foo.OBJ --fatal-warnings "-D" -mle foo.S
> $ nm foo.OBJ
> 0000000000000000 a __gnat_vms_display_name@gnat_demangler_rtl
> 0000000000000000 T stf_spill
> $ type foo.S
>        .pred.safe_across_calls p1-p5,p16-p63
>        .section .text
>        .proc stf_spill
>        .align 32
>        .global stf_spill
> stf_spill:
>        .prologue
>        .fframe 0
>        .save   ar.pfs, r35
>        alloc   loc0 = ar.pfs, 3, 2, 0, 0
>        .save   rp, loc1
>        .body
>        cmp.eq  p6, p0 = 0,in1
>        cmp.eq  p7, p0 = 1,in1
>        cmp.eq  p8, p0 = 2, in1
>        ;;
> (p6)    ldfs f8 = [in2]
> (p7)    ldfd f8 = [in2]
> (p8)    ldfe f8 = [in2]
>        ;;
>        stf.spill [in0] = f8
>        br.ret.sptk.many b0
>        ;;
>        .endp stf_spill
> $
> 
> - -- 
> Philippe Vouters (Fontainebleau/France)
> URL: http://vouters.dyndns.org/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk2R0d0ACgkQsUYBDUbOpdp/LgCfWUsdvP7pizfdSqVbAEDUivJY
> 2HMAnAzWHFE+8LsGttWIpycPg9C6QnHv
> =7HBQ
> -----END PGP SIGNATURE-----
> 
> 


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