View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038550 | FPC | Documentation | public | 2021-02-27 15:50 | 2021-03-07 12:04 |
Reporter | Kai Burghardt | Assigned To | Michael Van Canneyt | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | GNU/Linux | ||
Product Version | 3.2.0 | ||||
Fixed in Version | 3.3.1 | ||||
Summary | 0038550: assembler style DIRECT documented but not available | ||||
Description | At some places it is [still?] documented there is/was -Rdirect and {$ASMMODE DIRECT}, but using it either yields a “Illegal parameter” or “Illegal assembler style specified "DIRECT"” error. Either there’s missing information (a la “only available on _some_ platforms” or requires _certain_ configuration) or it is not supported at all (anymore?). | ||||
Additional Information | The compiler’s _own_ on-line help (`-h` option) does not list `-Rdirect` (anymore?): $ fpc -h | grep -- -R -R<x> Assembler reading style: -Rdefault Use default assembler for target -Ratt Read AT&T style assembler -Rintel Read Intel style assembler | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 1811 | ||||
FPCOldBugId | |||||
FPCTarget | 3.2.2 | ||||
Attached Files |
|
|
fpcbuild.patch (390 bytes)
Index: install/man/man1/fpc.1 =================================================================== --- install/man/man1/fpc.1 (revision 1541) +++ install/man/man1/fpc.1 (working copy) @@ -612,8 +612,8 @@ .I intel Asm blocks contain Intel assembler. .TP -.I direct -Asm blocks should be copied as-is in the assembler +.I default +Default style (as of 3.2.0 this is AT&T). file. .RE .TP fpcdocs.patch (1,306 bytes)
Index: prog.tex =================================================================== --- prog.tex (revision 1806) +++ prog.tex (working copy) @@ -197,9 +197,7 @@ \item [att\ ] Indicates that \var{asm} blocks contain AT\&T syntax assembler. \item [intel\ ] Indicates that \var{asm} blocks contain Intel syntax assembler. -\item [direct\ ] Tells the compiler that asm blocks should be copied -directly to the assembler file. It is not possible to use such assembler -blocks when the internal assembler of the compiler is used. +\item [default\ ] Default style. \end{description} These switches are local, and retain their value to the end of the unit that is compiled, unless they are replaced by another directive of the same type. Index: user.tex =================================================================== --- user.tex (revision 1806) +++ user.tex (working copy) @@ -1540,8 +1540,6 @@ This is the default style. \item [intel] \var{asm} blocks contain Intel-style assembler. \item [default] Use the default assembler for the specified target. -\item [direct] \var{asm} blocks should be copied as is in the assembler, -only replacing certain variables. \end{description} \item [-S2] \olabel{Stwo} Switch on Delphi 2 extensions (\var{objfpc} mode). Deprecated, use \var{-Mobjfpc} instead. |
|
Confer 0014269:0029517 |
|
Changed direct to default, adapted description. (I saw your patches only after I changed the text, so the end result may differ slightly) Thanks for reporting ! |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-02-27 15:50 | Kai Burghardt | New Issue | |
2021-02-27 15:50 | Kai Burghardt | Status | new => assigned |
2021-02-27 15:50 | Kai Burghardt | Assigned To | => Michael Van Canneyt |
2021-02-27 15:50 | Kai Burghardt | File Added: fpcbuild.patch | |
2021-02-27 15:50 | Kai Burghardt | File Added: fpcdocs.patch | |
2021-02-27 15:52 | Kai Burghardt | Note Added: 0129200 | |
2021-03-07 12:04 | Michael Van Canneyt | Status | assigned => resolved |
2021-03-07 12:04 | Michael Van Canneyt | Resolution | open => fixed |
2021-03-07 12:04 | Michael Van Canneyt | Fixed in Version | => 3.3.1 |
2021-03-07 12:04 | Michael Van Canneyt | Fixed in Revision | => 1811 |
2021-03-07 12:04 | Michael Van Canneyt | FPCTarget | => 3.2.2 |
2021-03-07 12:04 | Michael Van Canneyt | Note Added: 0129470 |