| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
Depth: Total number of inline functions [refer inline-frame.c]
state->skipped_frames : Number of inline functions skipped.
the current unwind_pc is causing an issue when we try to step into inline functions[Depth is becoming 0].
It’s incrementing pc by 8 even with si instruction.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
Replace existing integration with new work that enables target gdb and
gdbserver.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
On-target gdb does not work on microblaze, disable the dependency. This
may affect certain ltp test cases.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Failure:
../../gdb-10.2/bfd/cpu-microblaze.c:75:1: warning: missing initializer for field 'max_reloc_offset_into_insn' of 'bfd_arch_info_type' {aka 'const struct bfd_arch_info'} [-Wmissing-field-initializers]
| 75 | },
| | ^
| In file included from ../../gdb-10.2/bfd/cpu-microblaze.c:23:
| ./bfd.h:1998:14: note: 'max_reloc_offset_into_insn' declared here
| 1998 | signed int max_reloc_offset_into_insn;
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
Move to a backport of the official fix for glibc BZ #28883.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
| |
Version 3.15 is required to enable pselect instead of (new)select syscall
when using the select function.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) Select syscall is not implemented on microblaze, newselect should be
used instead, but commit 4c3df0eba5e8fe98f0de917ade9b2ebba6951c5f
from glibc removed this behavior. Presumably by accident.
*) When the code path that doesn't use select, but instead uses
pselect32 is used, microblaze provides it's own implementation
but this implementation is only available when ASSUME_PSELECT
is disabled. We need to fallback to the default Linux implementation.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
We do not maintain support for hardknott so it is being removed
Signed-off-by: John Toomey <jtoomey@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
We do not build, test or support gatesgarth in any of our layers so it
makes sense to remove this for the various layer.conf files
Signed-off-by: John Toomey <jtoomey@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
| |
Signed-off-by: John Toomey <jtoomey@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
Create a new meta-xilinx-core, move core functionality to the core, keeping
board specific files in the bsp layer.
zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp
is not available it will not fail.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename a mispelled patch name
Add a patch that defines the microblaze syscalls.
Disable stack-protection, as it is not supported on Microblaze at this
time.
Add a patch to resolve an undefined gcc internal, that is not enabled
on microblaze.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
These tools require knowledge of the stack direction, since we are cross
compiling they are unable to detect the stack growth direction so it must
be defined in the m4 macro.
It turns out the direction was already set, but defined as
'microblaze' instead of 'microblaze*' which caused problems on little
endian.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using symver related functions results in:
| ../git/lib/crypt-static.c:32:1: error: symver is only supported on ELF platforms
| 32 | SYMVER_crypt;
| | ^~~~~~~~~~~~
Microblaze does not support these functions at this time, so fall back
to the older approach to resolve this issue.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
Move from pinned gdb version 9.2 to the honister version.
Note: gdb/gdbserver for the target is known to not work yet.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
This reverts commit 294443d89dd53435fc0ccc6113c7ec5aff326612.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
This reverts commit 7f12056ccc3a978e9b69c380bffc3c04ee20520e.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
This reverts commit 2c819946b5258291d1725dabb3f5180d36971bd6.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
This reverts commit b56b1562c129fd12b486fd6666315afd4644ce6a.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the newlib-3.3 release reent-check is enabled by default. The reent-check
is needed to ensure memory is not NULL.
See:
https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=8b39f7406c7b819bc45a83e9c94531221a6b3b34
We need to disable this check on microblaze, as iostream library test cases
fail with an assert error.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
Intergrade the microblaze items with the backported toolchain.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Due to latest changes in GCC-10.2 MB64 perforamance has reduced
We have added zero_extended instructions to get rid of left shift
and right shift loops
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
This reverts commit 1bb08d385a4dbd1a3bf07a3917ea32f4be91ffac.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue: TSR-974519
Added zero_extendqidi2 and zero_extendhidi2 patterns
in GCC 10.2,commit 0a237a9: Do not propagate results from inner
REGS to paradoxical SUBREGs and this commit is causing the MB 64
compiler to generate extra instructions.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
| |
Upgrade newlib, libgloss recipes from 3.3 -> 4.1
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
| |
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
| |
Issue: CR-1081780
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
The disabled chunk triggers a compilation failure when trying to build
newlib for microblaze64.
ld: MicroBlaze architecture of input file `/tmp/ccHA6bsQ.o' is incompatible with MicroBlaze output
ld: warning: cannot find entry symbol _start; defaulting to 0000000000000050
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
| |
Issue: CR-1089197
Issue: CR-1093443
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Issue: CR-1062133
For some reason libgloss installs the crt*.o files with executable bit set,
this causes the build system to strip these as executables. However, it
makes it impossible to use the .o files to properly link applications later
on.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
The typecast is causing linking to not work properly, however it does cause
a compilation warning to return that a typecast is likely needed.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
| |
Issue reported by Daniel Mack via the meta-xilinx mailing list.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
| |
This reverts commit 96f122efe48f239f7b5df4025acd5c98a61828b3.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|