bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/25311] New: [PATCH] Replace macro NO_STRING_ESCAPES


From: sergey.belyashov at gmail dot com
Subject: [Bug gas/25311] New: [PATCH] Replace macro NO_STRING_ESCAPES
Date: Tue, 24 Dec 2019 09:05:36 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25311

            Bug ID: 25311
           Summary: [PATCH] Replace macro NO_STRING_ESCAPES
           Product: binutils
           Version: 2.34 (HEAD)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: sergey.belyashov at gmail dot com
  Target Milestone: ---

Created attachment 12144
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12144&action=edit
Replaces NO_STRING_ESCAPES by TC_STRING_ESCAPES

Currently there is no way to disable/enable string escaping by backslash from
command line. Most of targers enables string escaping, but two are not (z80 and
ppc-coff). Implementing support for Z80-ELF target I cannot pass much of GAS
and LD tests because most of them use backslash escaping inside strings (mostly
.ascii "...\0").
Current patch replaces NO_STRING_ESCAPES by macro TC_STRING_ESCAPES. By default
if not defined it equals to 1. For targets Z80 and PPC-COFF it is defined to 0.
But it can be defined as function call. So it is more flexible as current way.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]