From 18315c1675d965e5d0210a560e4742c483fcfd7f Mon Sep 17 00:00:00 2001
From: Tuncer Ayaz
Date: Tue, 3 Dec 2013 18:43:30 +0100
Subject: Officially support building assembler files
erlc is wired to treat *.S files as assembler and build them as
compile:file(File, [from_asm]), but this is not documented. There's also
a documented compile:file/2 option called 'asm' (mapping to 'from_asm'),
but the wording discourages its use. All of this has been in place and
in use for a long time. Therefore, it should be supported officially.
To fix that, make the following changes:
* document erlc handling of *.core files
* un-document 'asm' and document 'from_asm' instead
* deprecate 'asm'
While at it, fix a minor typo in the test suite.
---
erts/doc/src/erlc.xml | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'erts/doc/src')
diff --git a/erts/doc/src/erlc.xml b/erts/doc/src/erlc.xml
index 10cab344b0..2df026aef5 100644
--- a/erts/doc/src/erlc.xml
+++ b/erts/doc/src/erlc.xml
@@ -234,6 +234,11 @@ erlc +export_all file.erl
from the shell.
Supported options: -I, -o, -D, -v, -W, -b.
+ .S
+ -
+
Erlang assembler source code. It generates a file.
+ Supported options: same as for .erl.
+
.yrl
-
Yecc source code. It generates an file.
--
cgit v1.2.3