Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-02-20 | Update the Binutils branch commits.2023.02.21 | Jiawei | 1 | -0/+0 | |
2023-02-20 | Update Binutils commits. | Jiawei | 1 | -0/+0 | |
2023-02-20 | Bump Binutils version to 2.40. | Jiawei | 1 | -0/+0 | |
2022-08-18 | Switch gcc to upstream and update binutils commits | Jiawei | 1 | -0/+0 | |
2022-08-17 | Switch binutils to upstream 2.39 branch | Kito Cheng | 1 | -0/+0 | |
2016-05-31 | Start tracking binutils as a submodule | Palmer Dabbelt | 16 | -9099/+0 | |
As we prepare binutils for upstreaming we want to start closely tracking upstream changes. There's a riscv-binutils-gdb repository that contains the binutils port, and I want to centralize all the development there. This commit uses that repository instead of the patches that used to live here, so we're less likely to lose patches. | |||||
2016-05-16 | Merge pull request #139 from manuelafm/ngpr_nfpr | Palmer Dabbelt | 1 | -4/+4 | |
Use NGPR/NFPR in riscv_{gpr,fpr}_names_{numeric,abi}, instead of 32 | |||||
2016-05-02 | Remove mtohost/mfromhost/mipi CSRs | Andrew Waterman | 1 | -6/+0 | |
2016-05-01 | Use NGPR/NFPR in riscv_{gpr,fpr}_names_{numeric,abi}, instead of 32 | Manuel A. Fernandez Montecelo | 1 | -4/+4 | |
To be consistent with the declaration in binutils/include/opcode/riscv.h | |||||
2016-04-30 | binutils: ERET -> xRET | Andrew Waterman | 2 | -57/+25 | |
2016-04-09 | binutils: unfuck previous commit | Andrew Waterman | 1 | -2/+0 | |
The addi -> c.mv optimization was incorrect. Resolves #135. | |||||
2016-04-08 | binutils: don't accept 0 as c.addi16sp immediate | Andrew Waterman | 2 | -1/+4 | |
2016-04-05 | Revamp binutils' handling of -msoft-float and -march | Palmer Dabbelt | 1 | -2/+41 | |
binutils used to ignore -march when calculating the ELF header. This means would cause linking problems when trying to link together libraries generated using the two different ways of specifying the floating-point ABI. With this patch, binutils respects -march when it's specified but allows -msoft-float to override that setting. It's an error to pass -mhard-float to an ISA without F/D. | |||||
2016-04-05 | Set the RISC-V ISA version to 2 | Palmer Dabbelt | 1 | -1/+1 | |
This is what the manual says. Note that we don't actually do anything with this version number. | |||||
2016-03-14 | Upgrade to binutils 2.26 | Andrew Waterman | 4 | -45/+44 | |
2016-03-14 | binutils: disassemble jalr/ld/st addresses with x0 base | Andrew Waterman | 1 | -2/+3 | |
2016-03-03 | binutils: update CSR/privileged instruction encoding | Andrew Waterman | 2 | -417/+72 | |
2016-01-29 | gas: print better error message for bad constants | Andrew Waterman | 1 | -1/+5 | |
This resolves #118. | |||||
2015-12-02 | Correct the "{l,s}{b,h,w,d} REG, ADDR, REG" format | Palmer Dabbelt | 1 | -0/+3 | |
ADDR in this format is only meant to be a symbolic address, not a numeric address. Things are this way because of linker relaxation. Passing a numeric address would result in an internal assertion triggering, this patch just makes gas reject these instructions cleanly. This compiles glibc on a5 for me. This should fix bug #106. | |||||
2015-11-20 | binutils: strip instruction dependence info | Andrew Waterman | 2 | -377/+361 | |
It was largely incorrect, and completely unused. | |||||
2015-11-18 | binutils: don't check AUIPC/LUI overflow for RV32 | Andrew Waterman | 1 | -2/+2 | |
Any 32-bit address is in range of both instructions in RV32. | |||||
2015-11-12 | update CSRs | Andrew Waterman | 1 | -2/+4 | |
2015-11-08 | Bump binutils to 2.25.1 | Palmer Dabbelt | 1 | -2/+2 | |
This just requires a single extra argument to a function call, which I copied from aarch64. I've only tested that newlib builds, but I don't see how this could cause any problems... :) I was hoping this would help with my attempts to integrate the GDB and binutils ports into one repo for upstreaming, but it looks like 2.25.1 is still a bit too old for this. | |||||
2015-10-29 | Handle lower-case ISA strings | Palmer Dabbelt | 1 | -1/+1 | |
We'd changed the ISA string parser to be case-insensitive, but when doing that it made all "X*" extensions upper case. The result was that the instruction table matcher would skip "Xcustom" extensions, since they showed up as "XCUSTOM". This patch changes the ISA subset matching function to be case insensitive, to match the parser. | |||||
2015-10-20 | Update to hopefully-final RVC 1.9 encoding | Andrew Waterman | 2 | -20/+10 | |
Sorry, Sven... :-) | |||||
2015-10-20 | Don't relax to C.LUI when rd=sp | Andrew Waterman | 1 | -1/+4 | |
There is no such instruction. | |||||
2015-10-20 | Revert "binutils: relax LA macro to C.LUI when appropriate" | Andrew Waterman | 1 | -8/+2 | |
This reverts commit e05cc858aa5a6ed1ae0fec885a83090f81f355fe. Too much code assumes LA maps to AUIPC. Perhaps that is unreasonable, but the improvement of this patch is so minor that it seems hard to justify going back and fixing the code. | |||||
2015-10-13 | binutils: fix assembly of C.MV and C.ADD | Andrew Waterman | 1 | -1/+2 | |
We weren't correctly enforcing that rs2 must not be x0. | |||||
2015-10-10 | binutils: for non-PIC, put data at 0x10000 | Andrew Waterman | 1 | -9/+17 | |
This allows global variable references to be relaxed to C.LUI. | |||||
2015-10-10 | binutils: relax LA macro to C.LUI when appropriate | Andrew Waterman | 1 | -2/+8 | |
2015-10-10 | binutils: disassemble symbol refs that use C.LUI | Andrew Waterman | 1 | -0/+2 | |
2015-10-10 | binutils: fix LUI relaxation bug | Andrew Waterman | 3 | -13/+71 | |
Section merging could make a gp-relative reference go out of range after relaxation. Stop relaxing LUIs against mergeable symbols, and add error checking to catch things like this in the future. | |||||
2015-10-10 | binutils: fix c.lui disassembly | Andrew Waterman | 1 | -1/+1 | |
2015-10-10 | binutils: relax LUI to C.LUI | Andrew Waterman | 4 | -10/+62 | |
2015-10-06 | RVC encoding tweak | Andrew Waterman | 1 | -29/+29 | |
2015-10-05 | binutils: yet more work towards RVC 1.8 | Andrew Waterman | 5 | -205/+152 | |
2015-10-01 | binutils: more work towards RVC 1.8 | Andrew Waterman | 6 | -964/+1044 | |
2015-10-01 | binutils: support partial-RVC far branches | Andrew Waterman | 1 | -0/+12 | |
c.beqz a0, far --> c.bnez a0, +6; j far | |||||
2015-09-29 | gas: clean up RVC bit-usage table | Andrew Waterman | 1 | -14/+14 | |
2015-09-20 | binutils: adjust "size" of R_RISCV_NONE reloc | Andrew Waterman | 1 | -1/+1 | |
This change was made to most other BFD backends, and so I'm mimicking it. | |||||
2015-09-20 | binutils: clean up GAS arch string handling | Andrew Waterman | 1 | -17/+12 | |
2015-09-20 | binutils: redo ELF flag handling | Andrew Waterman | 4 | -129/+37 | |
- Merge RVC flag correctly - Add soft-float flag and enforce equality when merging objects - Don't use flags to indicate custom accelerators (ultimate solution TBD) | |||||
2015-09-19 | binutils: make gas behave less like MIPS gas | Andrew Waterman | 2 | -3/+2 | |
2015-09-19 | binutils: remove a hopefully-irrelevant overflow check | Andrew Waterman | 1 | -12/+0 | |
2015-09-19 | binutils: parse ISA strings closer to correctly | Andrew Waterman | 1 | -33/+46 | |
2015-09-19 | binutils: gas cleanup | Andrew Waterman | 3 | -93/+75 | |
2015-09-19 | binutils: add LUI reloc overflow check | Andrew Waterman | 1 | -0/+2 | |
2015-09-19 | binutils: bfd: numerous smaller relocation cleanups | Palmer Dabbelt | 1 | -17/+17 | |
2015-09-19 | binutils: bfd: realign R_RISCV_RVC_JUMP | Palmer Dabbelt | 1 | -14/+14 | |
2015-09-19 | binutils: bfd: realign R_RISCV_RVC_BRANCH | Palmer Dabbelt | 1 | -11/+11 | |