public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [RFC v0 0/6] ASCII Command for output section
@ 2023-02-15 11:40 binutils
  2023-02-15 11:40 ` [PATCH v0 1/6] Add testsuite for ASCII command binutils
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: binutils @ 2023-02-15 11:40 UTC (permalink / raw)
  To: binutils; +Cc: nickc

This is a preliminary patchset for implementing the ASCII command

I would like to support

   ASCII <size> , <string>

when I try, and add
   
   ASCII  32 , "mystring"

I get a "syntax error", and would like to understand why.

If I do:
   ASCII (<size>) <string>
I do not get a syntax error when I do

   ASCII (32) "mystring"

I cannot understand why there is a problem...

The testsuite in the ld/testsuite/ld-scripts contain
the 'header.inc' which is included in the ascii.t.
The ascii.t contains an error in that a fixed
size string is specified, but the argument string does not fit.

[PATCH v0 1/6] Add testsuite for ASCII command
[PATCH v0 2/6] Add ASCII command info to NEWS
[PATCH v0 3/6] Add ASCII to info file
[PATCH v0 4/6] ldlex.l: add ASCII
[PATCH v0 5/6] ldgram.y: add ASCII
[PATCH v0 6/6] ldlang.*: parse ASCII command


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-02-16 16:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-15 11:40 [RFC v0 0/6] ASCII Command for output section binutils
2023-02-15 11:40 ` [PATCH v0 1/6] Add testsuite for ASCII command binutils
2023-02-15 11:40 ` [PATCH v0 2/6] Add ASCII command info to NEWS binutils
2023-02-15 11:40 ` [PATCH v0 3/6] Add ASCII to info file binutils
2023-02-15 11:40 ` [PATCH v0 4/6] ldlex.l: add ASCII binutils
2023-02-15 11:44   ` Ulf Samuelsson
2023-02-15 11:40 ` [PATCH v0 5/6] ldgram.y: " binutils
2023-02-15 11:40 ` [PATCH v0 6/6] ldlang.*: parse ASCII command binutils
2023-02-15 17:07 ` [RFC v0 0/6] ASCII Command for output section Nick Clifton
2023-02-15 17:55   ` Ulf Samuelsson
2023-02-15 17:28 ` Nick Clifton
2023-02-15 17:52   ` Ulf Samuelsson
2023-02-15 18:29   ` Ulf Samuelsson
2023-02-16 16:31     ` Nick Clifton

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).