aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-01-29 01:54:52 +0000
committerJoseph Myers <joseph@codesourcery.com>2010-01-29 01:54:52 +0000
commit54b7103af4a93369e99a5df80d05dd6f70f17c0b (patch)
treecdca991ae53862080e0742acb99214b7b677c700 /data
parentfdefc0e1f176327cabedf4011673b3272321093e (diff)
downloadglibc-54b7103af4a93369e99a5df80d05dd6f70f17c0b.tar.xz
glibc-54b7103af4a93369e99a5df80d05dd6f70f17c0b.zip
Fix microMIPS glibc by avoiding hardcoded instruction length assumptions.
microMIPS is a variable-length encoding of the MIPS32 instruction set (plus some extra instructions). As it supports almost all of MIPS32, assembly sources in glibc do not generally need changes to work with microMIPS, but dl-trampoline.c contains some code with a hardcoded assumption that three instructions occupy twelve bytes. This patch fixes this code for microMIPS by using the difference between two labels to let the assembler calculate the relevant length.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions