#127 ✓resolved
Peter Johnson

Conditionally prepending underscores to global symbol names

Reported by Peter Johnson | June 25th, 2011 @ 07:50 PM

Originally posted on Trac by daniel.davies@xerox.com
Original Trac Ticket

  Description

I'd like to maintain one common set of assembly code for Windows, Linux and Solaris x86 platforms. Some of these platforms think labels should have underscores prepended to global names and some don't. Is there currently some way to automatically do this in yasm by looking at the output format? If not, should I surround every globally declared name with #if's that choose the form of the name based on the current platform?

Trac Attachments

h3. Trac Comments
comment:1

              Changed 3 years ago by peter


(In [2109]) Fix #132: Add --prefix and --suffix (aka --postfix) options.
These allow arbitrary prefixes and/or suffixes to be added to
externally-visible (GLOBAL, EXTERN, or COMMON) symbol names.

      comment:1

                  Changed 3 years ago by peter

      Status
        changed from new to closed
    
      Resolution
        set to fixed

(In [2109]) Fix #132: Add --prefix and --suffix (aka --postfix) options.
These allow arbitrary prefixes and/or suffixes to be added to
externally-visible (GLOBAL, EXTERN, or COMMON) symbol names.

      Status
        changed from new to closed
    
      Resolution
        set to fixed

comment:2

              Changed 3 years ago by peter


(In [2143]) Merge [2109] from trunk (Fix #132, --prefix and --suffix options).

Comments and changes to this ticket

  • jyzidinibu

    jyzidinibu February 8th, 2020 @ 01:58 PM

    Lighthouse is constructed for the anticipation of the agencies for the field. The chips of the australianhelp review are marginal for the tools. The post office of the town is held for the elements. The fiber content is produced for future items. A thing of the cruel aim is fixed for the aspects of the satisfaction of the margins of the field.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket

Pages