From a38998e815ccde5d90ff0800c31da255eb3430d3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 3 Aug 2005 02:05:39 +0000 Subject: Add some patches from the disasm-branch branch. The asm_begin interface changed. In text mode output is really written to the file. --- libasm/asm_adduleb128.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libasm/asm_adduleb128.c') diff --git a/libasm/asm_adduleb128.c b/libasm/asm_adduleb128.c index 521d265a..1685b5eb 100644 --- a/libasm/asm_adduleb128.c +++ b/libasm/asm_adduleb128.c @@ -1,5 +1,5 @@ /* Add integer to a section. - Copyright (C) 2002 Red Hat, Inc. + Copyright (C) 2002, 2005 Red Hat, Inc. Written by Ulrich Drepper , 2002. This program is Open Source software; you can redistribute it and/or @@ -37,7 +37,7 @@ asm_adduleb128 (asmscn, num) } if (unlikely (asmscn->ctx->textp)) - printf ("\t.uleb128\t%" PRIu32 "\n", num); + fprintf (asmscn->ctx->out.file, "\t.uleb128\t%" PRIu32 "\n", num); else { char tmpbuf[(sizeof (num) * 8 + 6) / 7]; -- cgit v1.2.3