]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/binutils-tumbl.git/commit
PR gas/14201
authorAlan Modra <amodra@bigpond.net.au>
Thu, 7 Jun 2012 12:47:23 +0000 (12:47 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 7 Jun 2012 12:47:23 +0000 (12:47 +0000)
commit125b1929a85d06c87fcfa6fd44d8ab973ea40083
tree97126939e85d55f203ca52399c2f58bc93262970
parentf55e92d7f8e9302250480cce9172c5c2fed28d00
PR gas/14201
* sb.h (sb_max_power_two): Delete.
(struct sb): Delete "item" and "pot".  Make "len" a size_t.  Add "max".
(sb_element): Delete.
(sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
prototypes.
* sb.c (string_count, free_list): Delete.
(sb_build, sb_kill, sb_check): Rewrite.
(scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
sb_skip_white, sb_skip_comma): Replace assorted int params,
vars and return types with size_t.
* input-scrub.c: Likewise.
* macro.c: Likewise.
* macro.h: Likewise.
* as.c: Likewise.
* as.h: Likewise.
* input-file.h: Likewise.
* input-file.c: Likewise.
* read.c: Likewise.
* app.c: ..or ptrdiff_t.
* input-file.c (input_file_get): Use ferror.
(input_file_give_next_buffer): Use input_file_get.
12 files changed:
gas/ChangeLog
gas/app.c
gas/as.c
gas/as.h
gas/input-file.c
gas/input-file.h
gas/input-scrub.c
gas/macro.c
gas/macro.h
gas/read.c
gas/sb.c
gas/sb.h