]> sourceware.org Git - glibc.git/commit
MIPS: Use R_MICROMIPS_JALR rather than R_MIPS_JALR in microMIPS code
authorMaciej W. Rozycki <macro@imgtec.com>
Wed, 23 Nov 2016 12:39:39 +0000 (12:39 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Wed, 23 Nov 2016 18:23:35 +0000 (18:23 +0000)
commitf7f7931e581271c678e0d38818c2022c2da81f8b
tree2c37b56590eb2f220167562c08b7f0d89595d739
parent56ede9ed59684a5802cc88733055453901f1c2f0
MIPS: Use R_MICROMIPS_JALR rather than R_MIPS_JALR in microMIPS code

In a microMIPS compilation of `.init' code use the R_MICROMIPS_JALR
relocation intended for PIC call relaxation in microMIPS code rather
than the corresponding R_MIPS_JALR relocation meant for regular MIPS
code only.

* sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
(_init): Use it in place of hardcoded R_MIPS_JALR.
* sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
(_init): Use it in place of hardcoded R_MIPS_JALR.
* sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
(_init): Use it in place of hardcoded R_MIPS_JALR.
ChangeLog
sysdeps/mips/mips32/crti.S
sysdeps/mips/mips64/n32/crti.S
sysdeps/mips/mips64/n64/crti.S
This page took 0.040536 seconds and 5 git commands to generate.