This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] output_big_leb128 comment
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 19 Nov 2015 06:40:16 -0000
- Subject: [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)