This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] output_big_leb128 comment


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9a724e7b6b7ab9c5dd68954ed75d857c860c8fdf

commit 9a724e7b6b7ab9c5dd68954ed75d857c860c8fdf
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Nov 19 17:01:59 2015 +1030

    output_big_leb128 comment
    
    	* read.c (output_big_leb128): Describe "sign" parameter.

Diff:
---
 gas/ChangeLog | 4 ++++
 gas/read.c    | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 009967d..31cd750 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
 2015-11-19  Alan Modra  <amodra@gmail.com>
 
+	* read.c (output_big_leb128): Describe "sign" parameter.
+
+2015-11-19  Alan Modra  <amodra@gmail.com>
+
 	* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define only for ELF.
 
 2015-11-16  Mike Frysinger  <vapier@gentoo.org>
diff --git a/gas/read.c b/gas/read.c
index 5f8bb40..1718aaa 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -5150,7 +5150,7 @@ output_big_leb128 (char *p, LITTLENUM_TYPE *bignum, int size, int sign)
 }
 
 /* Generate the appropriate fragments for a given expression to emit a
-   leb128 value.  */
+   leb128 value.  SIGN is 1 for sleb, 0 for uleb.  */
 
 static void
 emit_leb128_expr (expressionS *exp, int sign)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]