Re: gold: add --compress-debug-sections=zstd [PR 29641]
authorAlan Modra <amodra@gmail.com>
Fri, 11 Nov 2022 07:31:58 +0000 (18:01 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 11 Nov 2022 07:35:36 +0000 (18:05 +1030)
commit772e1fe54a43adb1bf282f5cc599862df7b68317
treef306e9a1e635f2b0544564c87f7ae67cff3d2973
parent8b2d02cbb924f1f3718dc5a20f7a9dcf07739d23
Re: gold: add --compress-debug-sections=zstd [PR 29641]

Fix the following:
compressed_output.cc:86:8: error: assignment of read-only variable ‘size’
   86 |   size = ZSTD_compress(*compressed_data + header_size, size, uncompressed_data,
gold/compressed_output.cc