]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
alpha, bfd: Fixes for ALPHA_R_OP_STORE
authorJanne Ramstedt <janne.ramstedt@aniway.fi>
Sun, 25 May 2025 17:17:20 +0000 (20:17 +0300)
committerAlan Modra <amodra@gmail.com>
Mon, 26 May 2025 09:01:35 +0000 (18:31 +0930)
commit3e02c4891dcb37a0a12cff53232342f6d160b2c5
tree54ae3d10db524127c73e5f1e028cc016f1929a8f
parenta93443f5c22fb751d157741559f4122123aeabad
alpha, bfd: Fixes for ALPHA_R_OP_STORE

ALPHA_R_OP_STORE copies one byte too many and also will cause out of
range error when it tries to copy from the end of section.  Since
"endbyte" is already rounded to next full byte, there is enough bits
to copy and the additional "+ 1" is erroneous in bytes count.  I also
believe size is incorrectly decreased.
bfd/coff-alpha.c