mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 06:20:30 +00:00
Use uLong on compressed_size when using zlib.
2010-10-29 Pawel Sikora <pluto@pld-linux.org> PR binutils/12075 * compress.c (bfd_compress_section_contents): Use uLong on compressed_size.
This commit is contained in:
parent
3cbd1c0665
commit
ae6a0217c5
@ -1,3 +1,9 @@
|
|||||||
|
2010-10-29 Pawel Sikora <pluto@pld-linux.org>
|
||||||
|
|
||||||
|
PR binutils/12075
|
||||||
|
* compress.c (bfd_compress_section_contents): Use uLong on
|
||||||
|
compressed_size.
|
||||||
|
|
||||||
2010-10-29 Joseph Myers <joseph@codesourcery.com>
|
2010-10-29 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check
|
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check
|
||||||
|
@ -94,7 +94,7 @@ bfd_compress_section_contents (bfd *abfd ATTRIBUTE_UNUSED,
|
|||||||
bfd_set_error (bfd_error_invalid_operation);
|
bfd_set_error (bfd_error_invalid_operation);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#else
|
#else
|
||||||
bfd_size_type compressed_size;
|
uLong compressed_size;
|
||||||
bfd_byte *compressed_buffer;
|
bfd_byte *compressed_buffer;
|
||||||
|
|
||||||
compressed_size = compressBound (uncompressed_size) + 12;
|
compressed_size = compressBound (uncompressed_size) + 12;
|
||||||
|
Loading…
Reference in New Issue
Block a user