summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc
Commit message (Collapse)AuthorAgeFilesLines
* meta-microblaze: binutils: Add local patches, including 64-bit supportMark Hatle2024-07-241-0/+59
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-microblaze: Update to current binutilsMark Hatle2024-02-121-37/+0
| | | | | | Latest binutils contains everything we need to Linux support. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* binutils: Disable broken alternativesMark Hatle2023-04-101-0/+2
| | | | | | | | ld.gold and dwp are not supported on Microblaze, disable gprof is not generated on Microblaze, disable this alternative Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* binutils-microblaze: Update to new version of the portMark Hatle2022-11-101-32/+29
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* binutils: update to current oe-core 2.39 versionMark Hatle2022-09-011-20/+20
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* binutils: Update patches for Langdale binutilsMark Hatle2022-08-311-3/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* microblaze binutils: Integrate community binutils contributionsMark Hatle2022-02-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three bug fixes suggested by community member dednev@rambler.ru: *elf*-microblaze-relaxation.patch short description: The roots of invalid data offsets (pointer) after relaxation are in internal symbol table cache handling. If symbol table was cached while section processing for garbage collection, the elf_tdata (abfd)->symtab_hdr pointer is not NULL, but (Elf_Internal_Sym *) symtab_hdr->contents array contains data for local symbols only. But in the repeated relocation processing there is no check whenever the symbol index is local (ELF32_R_SYM (irelscan->r_info) < symtab_hdr->sh_info) or global. This leads to the buffer overflow (global symbol index is out of bounds) and following invalid relocation processing, especially in extra relocation data modifications (f.e. irelscan->r_addend could be decreased by arbitrary values). *elf*-microblaze-no-keep-memory.patch short description: There is incorrect newly allocated buffers handling if internal memory caching is disabled (without --no-keep-memory ld switch). This leads to possible double free(...) calls for such data and results in unexpected ld termination with abort(). I've fixed this issue by implementing similar to the elf32-avr.c data buffer handling. *elf*-imm-check-for-relaxation.patch short description: I've reverted Xilinx path to the original GNU binutils bfd code for microblaze, because this patch incorrectly leaves some "imm -1" instructions in resulting binary file after relaxation and increases executable size. If you look at the IMM instruction argument processing in binutils/gas/config/tc-microblaze.c you will see, that gas checks are similar to the original bfd microblaze_elf_relax_section(...) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* binutils: Upgraade to honister versionMark Hatle2022-01-141-40/+22
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "binutils: convert away from bbappend"Mark Hatle2022-01-141-1/+3
| | | | | | This reverts commit 7f12056ccc3a978e9b69c380bffc3c04ee20520e. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* binutils: convert away from bbappendMark Hatle2021-10-251-3/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Convert to new override syntaxSai Hari Chandana Kalluri2021-09-281-2/+2
| | | | | | | | | | This is the result of automated script (0.9.0) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* binutis-gdb: Fix size of long, should be 64-bitMark Hatle2021-07-141-0/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* binutils/gdb: Fix various microblaze 64 issuesMark Hatle2021-07-141-7/+2
| | | | | | | Issue: CR-1089197 Issue: CR-1093443 Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gdb: Fix on-target GDB compilationMark Hatle2020-12-071-0/+1
| | | | | | | | Target gdb/gdbserver failed to compile due to out of date microblaze-linux-nat.c, correct this and ancillary files. Note, this only corrects compilation the code may not function properly. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* binutils: update to early gatesgarth versionMark Hatle2020-12-041-36/+55
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-microblaze: toolchainsMark Hatle2020-08-141-51/+41
| | | | | | | | | | Resync the microblaze toolchain items to match the latest YP master version. binutils and gdb are based on the same patch set, but the release version are based on slightly different sources, thus the patches are a bit different. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: Rename recipes-microblaze to match oe-coreMark Hatle2020-08-141-0/+54
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>