Update comments in compress.c
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Apr 2015 19:48:49 +0000 (12:48 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Apr 2015 19:48:49 +0000 (12:48 -0700)
* compress.c (bfd_compress_section_contents): Update comments.
(bfd_init_section_decompress_status): Likewise.
(bfd_init_section_compress_status): Likewise.

bfd/ChangeLog
bfd/compress.c

index 47e5024d0bc2923f699917da3e2d8db444bf3d34..95cf8d7f537d7879c8997d730154a16bbcfa0241 100644 (file)
@@ -1,3 +1,9 @@
+2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compress.c (bfd_compress_section_contents): Update comments.
+       (bfd_init_section_decompress_status): Likewise.
+       (bfd_init_section_compress_status): Likewise.
+
 2015-04-09  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elfxx-target.h (TARGET_BIG_SYM): Add BFD_COMPRESS_GABI to
index 17b24e8ad0260ea3949add934695fbcef3832127..7945344a8ca327ab7acecf6b42aa8728ace23bcd 100644 (file)
@@ -64,8 +64,7 @@ decompress_contents (bfd_byte *compressed_buffer,
 /* Compress data of the size specified in @var{uncompressed_size}
    and pointed to by @var{uncompressed_buffer} using zlib and store
    as the contents field.  This function assumes the contents
-   field was allocated using bfd_malloc() or equivalent.  If zlib
-   is not installed on this machine, the input is unmodified.
+   field was allocated using bfd_malloc() or equivalent.
 
    Return the uncompressed size if the full section contents is
    compressed successfully.  Otherwise return 0.  */
@@ -449,8 +448,7 @@ DESCRIPTION
        DECOMPRESS_SECTION_SIZED.
 
        Return @code{FALSE} if the section is not a valid compressed
-       section or zlib is not installed on this machine.  Otherwise,
-       return @code{TRUE}.
+       section.  Otherwise, return @code{TRUE}.
 */
 
 bfd_boolean
@@ -511,8 +509,7 @@ DESCRIPTION
        compressed size and set compress_status to COMPRESS_SECTION_DONE.
 
        Return @code{FALSE} if the section is not a valid compressed
-       section or zlib is not installed on this machine.  Otherwise,
-       return @code{TRUE}.
+       section.  Otherwise, return @code{TRUE}.
 */
 
 bfd_boolean
This page took 0.026628 seconds and 4 git commands to generate.