From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: e63b27eb52,b68f414e6b34dcf1,start X-Google-Attributes: gide63b27eb52,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: Rainer Orth Newsgroups: comp.unix.tru64 Subject: Assembler syntax for ECOFF .comment sections Date: Fri, 04 Feb 2011 13:23:31 +0100 Organization: Center for Biotechnology, Bielefeld University Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.dfncis.de 6KJwXd7LEaoP7bH3QONJdgoG/O7YGqPcRzFB8vVQbkgM8M Cancel-Lock: sha1:B5LR/tKxRlrLBooJRQ/ZlJH5F80= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (usg-unix-v) Xref: g2news2.google.com comp.unix.tru64:247 I'm currently considering to port the Go (cf. http://golang.org/) runtime library included in GCC 4.6 to Tru64 UNIX V5.1. One issue that came up is the need for a object file section to store language-specific data. On ELF systems, this is easy since you can have arbitrary named sections. In ECOFF, there's the .comment section that seem to fit the bill. They are described in much detail in http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/SUPPDOCS/OBJSPEC/TITLE.HTM but unfortunately the Assembly Language Programmer's Guide doesn't give any indication on how to create at the assembler level. While strings on /usr/ccs/lib/cmplrs/cc/{adu, as[01]} indicates that there is support, I've not been able to determine the syntax. Any help would be appreciated. Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University