Ticket #132 (closed enhancement: fixed)

Opened 6 months ago

Last modified 2 months ago

Conditionally prepending underscores to global symbol names

Reported by: daniel.davies@xerox.com Assigned to:
Priority: P1 Milestone:
Component: Core Version: 0.6.0
Severity: normal Keywords:
Cc:

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?

Attachments

Change History

06/08/08 02:06:07 changed 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.


Add/Change #132 (Conditionally prepending underscores to global symbol names)