public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44241] New: vms-crtl.h, vms-crtl-64.h need many more symbols
@ 2010-05-22 14:23 jay dot krell at cornell dot edu
2010-05-23 5:30 ` [Bug target/44241] " jay dot krell at cornell dot edu
2010-05-23 6:07 ` jay dot krell at cornell dot edu
0 siblings, 2 replies; 5+ messages in thread
From: jay dot krell at cornell dot edu @ 2010-05-22 14:23 UTC (permalink / raw)
To: gcc-bugs
There is a list of symbols in gcc to rename for VMS.
In the files vms-crtl.h and vms-crtl-64.h.
Maybe there is a better solution?
Until it is found and implemented, these lists need a lot more entries.
I have enough to build gcc and binutils.
I had built cvs, but I lost that list.
--
Summary: vms-crtl.h, vms-crtl-64.h need many more symbols
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jay dot krell at cornell dot edu
GCC build triplet: i686-apple-darwin9
GCC target triplet: alpha-dec-vms
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44241
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/44241] vms-crtl.h, vms-crtl-64.h need many more symbols
2010-05-22 14:23 [Bug c/44241] New: vms-crtl.h, vms-crtl-64.h need many more symbols jay dot krell at cornell dot edu
@ 2010-05-23 5:30 ` jay dot krell at cornell dot edu
2010-05-23 6:07 ` jay dot krell at cornell dot edu
1 sibling, 0 replies; 5+ messages in thread
From: jay dot krell at cornell dot edu @ 2010-05-23 5:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jay dot krell at cornell dot edu 2010-05-23 05:30 -------
The line in the patch:
DECC_(environ, decc$ga_environ) \
should be:
DECC_(environ, ga_environ) \
obviously.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44241
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/44241] vms-crtl.h, vms-crtl-64.h need many more symbols
2010-05-22 14:23 [Bug c/44241] New: vms-crtl.h, vms-crtl-64.h need many more symbols jay dot krell at cornell dot edu
2010-05-23 5:30 ` [Bug target/44241] " jay dot krell at cornell dot edu
@ 2010-05-23 6:07 ` jay dot krell at cornell dot edu
1 sibling, 0 replies; 5+ messages in thread
From: jay dot krell at cornell dot edu @ 2010-05-23 6:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jay dot krell at cornell dot edu 2010-05-23 06:06 -------
It also goes without saying that the factoring here stinks.
At the very least, split the lists up into three:
common
32
64
and then compose the result out of two of them.
The prefixes can also probably be computed.
If the name contains "printf" or "scanf", prefix decc$tx.
else if the function takes any floating point parameters, prefix decc$t.
else prefix just decc$.
I think I'll write this up..
You also easily enough have a list per prefix.
And a custom list, like for environ.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44241
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <bug-44241-4@http.gcc.gnu.org/bugzilla/>]
* [Bug target/44241] vms-crtl.h, vms-crtl-64.h need many more symbols
[not found] <bug-44241-4@http.gcc.gnu.org/bugzilla/>
@ 2011-06-27 16:18 ` gingold at gcc dot gnu.org
2011-06-27 16:54 ` gingold at gcc dot gnu.org
1 sibling, 0 replies; 5+ messages in thread
From: gingold at gcc dot gnu.org @ 2011-06-27 16:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44241
--- Comment #3 from gingold at gcc dot gnu.org <gingold at gcc dot gnu.org> 2011-06-27 12:51:14 UTC ---
Author: gingold
Date: Mon Jun 27 12:51:09 2011
New Revision: 175523
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175523
Log:
2011-06-27 Tristan Gingold <gingold@adacore.com>
PR target/44241
* config/vms/vms-protos.h: New file.
* config/vms/vms-crtlmap.map: New file.
* config/vms/vms.c: New file.
* config/vms/make-crtlmap.awk: New file.
* config/vms/vms-crtl.h: File removed.
* config/vms/vms-crtl-64.h: File removed.
* config/vms/t-vms (vms-crtlmap.h, vms.o): New targets.
* config/alpha/vms64.h: Do not include vms-crtl-64.h
* config/alpha/alpha.c (alpha_init_builtins): Remove code to
clear some builtins on VMS. Calls vms_patch_builtins.
(avms_asm_output_external): Remove.
* config/alpha/vms.h (ASM_OUTPUT_EXTERNAL): Remove.
(struct crtl_name_spec): Remove
(DO_CTRL_NAMES): Remove.
* config/ia64/vms.h (struct crtl_name_spec): Remove
(DO_CTRL_NAMES): Remove.
* config/ia64/ia64.c (alpha_init_builtins): Remove code to
clear some builtins on VMS. Calls vms_patch_builtins.
(ia64_asm_output_external): Remove DO_CRTL_NAME.
* config/ia64/vms64.h: Do not include vms-crtl-64.h
* config.gcc (*-*-*vms*): Define extra_objs, target_gtfiles,
tm_p_file.
Added:
trunk/gcc/config/vms/make-crtlmap.awk
trunk/gcc/config/vms/vms-crtlmap.map
trunk/gcc/config/vms/vms-protos.h
trunk/gcc/config/vms/vms.c
Removed:
trunk/gcc/config/vms/vms-crtl-64.h
trunk/gcc/config/vms/vms-crtl.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/alpha/alpha.c
trunk/gcc/config/alpha/vms.h
trunk/gcc/config/alpha/vms64.h
trunk/gcc/config/ia64/ia64.c
trunk/gcc/config/ia64/vms.h
trunk/gcc/config/ia64/vms64.h
trunk/gcc/config/vms/t-vms
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/44241] vms-crtl.h, vms-crtl-64.h need many more symbols
[not found] <bug-44241-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 16:18 ` gingold at gcc dot gnu.org
@ 2011-06-27 16:54 ` gingold at gcc dot gnu.org
1 sibling, 0 replies; 5+ messages in thread
From: gingold at gcc dot gnu.org @ 2011-06-27 16:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44241
gingold@gcc.gnu.org <gingold at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |gingold at gcc dot gnu.org
Resolution| |FIXED
AssignedTo|unassigned at gcc dot |gingold at adacore dot com
|gnu.org |
--- Comment #4 from gingold at gcc dot gnu.org <gingold at gcc dot gnu.org> 2011-06-27 12:57:55 UTC ---
No custom list yet, but the list is now in one text file.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-27 16:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-22 14:23 [Bug c/44241] New: vms-crtl.h, vms-crtl-64.h need many more symbols jay dot krell at cornell dot edu
2010-05-23 5:30 ` [Bug target/44241] " jay dot krell at cornell dot edu
2010-05-23 6:07 ` jay dot krell at cornell dot edu
[not found] <bug-44241-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 16:18 ` gingold at gcc dot gnu.org
2011-06-27 16:54 ` gingold at gcc dot gnu.org
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).