public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1628] [Ada] Add one more leading underscore to couple of exported symbols
@ 2022-07-12 12:25 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-07-12 12:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6882d60a10060a7f3c73e73eb7f10239e1a4f905

commit r13-1628-g6882d60a10060a7f3c73e73eb7f10239e1a4f905
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Fri Jun 24 12:16:21 2022 +0200

    [Ada] Add one more leading underscore to couple of exported symbols
    
    For the sake of consistency with other runtime units.
    
    gcc/ada/
    
            * libgnat/s-stchop.ads: Use a double underscore prefix for symbols.

Diff:
---
 gcc/ada/libgnat/s-stchop.ads | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/libgnat/s-stchop.ads b/gcc/ada/libgnat/s-stchop.ads
index f4d1a5b8041..f1f3b79317e 100644
--- a/gcc/ada/libgnat/s-stchop.ads
+++ b/gcc/ada/libgnat/s-stchop.ads
@@ -72,7 +72,7 @@ package System.Stack_Checking.Operations is
 private
    Cache : aliased Stack_Access := Null_Stack;
 
-   pragma Export (C, Cache, "_gnat_stack_cache");
-   pragma Export (C, Stack_Check, "_gnat_stack_check");
+   pragma Export (C, Cache, "__gnat_stack_cache");
+   pragma Export (C, Stack_Check, "__gnat_stack_check");
 
 end System.Stack_Checking.Operations;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-12 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12 12:25 [gcc r13-1628] [Ada] Add one more leading underscore to couple of exported symbols Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).