kc3-lang/libffi/src/mips/n32.S

Branch :


Log

Author Commit Date CI Message
f515eac0 2024-12-13 18:36:02 MIPS: add .note.GNU-stack section to assembly sources (#872) To build ELF shared libraries that do not require executable stack on MIPS, every object file linked should have a .note.GNU-stack section, otherwise the linker defaults to executable stack. As libffi shouldn't require executable stack, add the .note.GNU-stack section to the assembly source files under src/mips, like other architectures. Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
04f6fa31 2024-02-15 20:52:13 mips: Fix N32 ABI return value handling (#813) In N32 ABI, 8-bit or 16-bit integers should be extended following the signedness of the integer, but 32-bit integers should always be sign-extended to 64-bit (note that N32 ABI only works on 64-bit CPUs). So handling this in everything using libffi would be nasty. And the libffi code for architectures with a similar rule (LoongArch & RISC-V) also properly handle this. Let's do this work in libffi for MIPS N32 too. This fixes two failures in Python 3.12.1 ctypes test.
2e825e21 2022-05-16 09:47:11 MIPS: fix some N32 test failure (#701) Some go closure and pointer testcase fails. These failures is not introduced by the complex support code.
e67697c3 2022-03-31 20:44:49 MIPS: add Complex support (#698)
ff059dd9 2021-06-10 18:41:02 Fix build on OpenBSD/mips64 (#638) The build fails on OpenBSD/mips64 because clang 11's integrated assembler expects read-only .eh_frame: ../src/mips/n32.S:585:9: error: changed section flags for .eh_frame, expected: 0x2 .section .eh_frame,"aw",@progbits ^ Use EH_FRAME_FLAGS to get matching flags for the section.
94c102aa 2017-12-10 14:25:01 Not set mips on mips r6 MIPS release changed encodes of some instructions, include ll/sc etc. if .set mips4 on mips r6, as will generate some wrong encode of some instructions.
7a0d2c83 2016-08-15 15:00:13 mips: fix MIPS softfloat build issue The patch for o32.S is taken from OpenWrt packages repo 3a7a4bf "libffi: fix MIPS softfloat build issue with current binutils" Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
505346e1 2015-08-26 09:57:10 fix type error in unwind code
5953c66b 2015-08-20 20:28:13 add unwind infor for *go_closure; reorder the labels to make thing more clear
6f0201c8 2015-08-04 18:25:34 various fixes for go closure support. Now all n64 tests passed.
697dd4e8 2015-08-04 12:53:33 add support for go closure support on mips
40927bd3 2014-01-21 23:18:27 Fix call floating point va function I'm not sure floating-point arguments in GPR or FPR before calling variable number arguments function. so, load all arguments to GPR and FPR.
c365ee75 2012-01-23 11:13:18 Refresh
7b7a42f2 2010-01-12 09:14:14 Rebase from GCC
115ab36f 2009-12-24 00:22:00 Update missing changes for 3.0.9r4.
c6dddbd0 2009-10-04 08:11:33 Initial commit