unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27629: add some commands and LOG2CEIL builtin to ld-script mode
@ 2017-07-09 12:22 Alexander Kuleshov
  2017-07-09 12:25 ` Alexander Kuleshov
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kuleshov @ 2017-07-09 12:22 UTC (permalink / raw)
  To: 27629

Hello,

Here is a patch that adds: NOCROSSREFS_TO and HIDDEN
commands to ld-script mode and LOG2CEIL builtin.

Thank you.





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

* bug#27629: add some commands and LOG2CEIL builtin to ld-script mode
  2017-07-09 12:22 bug#27629: add some commands and LOG2CEIL builtin to ld-script mode Alexander Kuleshov
@ 2017-07-09 12:25 ` Alexander Kuleshov
  2017-07-22  8:49   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kuleshov @ 2017-07-09 12:25 UTC (permalink / raw)
  To: 27629

[-- Attachment #1: Type: text/plain, Size: 23 bytes --]

The patch is attached.

[-- Attachment #2: 0001-import-ld-script-mode.patch --]
[-- Type: text/x-patch, Size: 1397 bytes --]

From d541e74f28284dd9fa76e0738f0b8183b832663f Mon Sep 17 00:00:00 2001
From: Alexander Kuleshov <kuleshovmail@gmail.com>
Date: Sun, 9 Jul 2017 00:41:44 +0600
Subject: [PATCH] import ld-script mode (bug#27629)

  * lisp/progmodes/ld-script.el: (ld-script-keywords): New commands
NOCROSSREFS_TO and HIDDEN added. Documentation sections numbers
for PROVIDE/PROVIDE_HIDDEN commands are fixed.
    (ld-script-builtins): new builtin function - LOG2CEIL added.
---
 lisp/progmodes/ld-script.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/ld-script.el b/lisp/progmodes/ld-script.el
index 389ddfc..7a666e9 100644
--- a/lisp/progmodes/ld-script.el
+++ b/lisp/progmodes/ld-script.el
@@ -85,10 +85,12 @@ ld-script-keywords
     ;; 3.4.5 Other Linker Script Commands
     "ASSERT" "EXTERN" "FORCE_COMMON_ALLOCATION"
     "INHIBIT_COMMON_ALLOCATION" "INSERT" "AFTER" "BEFORE"
-    "NOCROSSREFS" "OUTPUT_ARCH" "LD_FEATURE"
-    ;; 3.5.2 PROVIDE
+    "NOCROSSREFS" "NOCROSSREFS_TO" "OUTPUT_ARCH" "LD_FEATURE"
+    ;; 3.5.2 HIDDEN
+    "HIDDEN"
+    ;; 3.5.3 PROVIDE
     "PROVIDE"
-    ;; 3.5.3 PROVIDE_HIDDEN
+    ;; 3.5.4 PROVIDE_HIDDEN
     "PROVIDE_HIDDEN"
     ;; 3.6 SECTIONS Command
     "SECTIONS"
@@ -142,6 +144,7 @@ ld-script-builtins
     "DEFINED"
     "LENGTH" "len" "l"
     "LOADADDR"
+    "LOG2CEIL"
     "MAX"
     "MIN"
     "NEXT"
-- 
2.9.0.GIT


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

* bug#27629: add some commands and LOG2CEIL builtin to ld-script mode
  2017-07-09 12:25 ` Alexander Kuleshov
@ 2017-07-22  8:49   ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2017-07-22  8:49 UTC (permalink / raw)
  To: Alexander Kuleshov; +Cc: 27629-done

> From: Alexander Kuleshov <kuleshovmail@gmail.com>
> Date: Sun, 9 Jul 2017 18:25:07 +0600
> 
> From d541e74f28284dd9fa76e0738f0b8183b832663f Mon Sep 17 00:00:00 2001
> From: Alexander Kuleshov <kuleshovmail@gmail.com>
> Date: Sun, 9 Jul 2017 00:41:44 +0600
> Subject: [PATCH] import ld-script mode (bug#27629)
> 
>   * lisp/progmodes/ld-script.el: (ld-script-keywords): New commands
> NOCROSSREFS_TO and HIDDEN added. Documentation sections numbers
> for PROVIDE/PROVIDE_HIDDEN commands are fixed.
>     (ld-script-builtins): new builtin function - LOG2CEIL added.

Thanks, pushed.





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

end of thread, other threads:[~2017-07-22  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-09 12:22 bug#27629: add some commands and LOG2CEIL builtin to ld-script mode Alexander Kuleshov
2017-07-09 12:25 ` Alexander Kuleshov
2017-07-22  8:49   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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