<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-xilinx.git/meta-microblaze/recipes-devtools, branch honister</title>
<subtitle>Mirror of git.yoctoproject.org/meta-xilinx.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-xilinx.git/atom?h=honister</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-xilinx.git/atom?h=honister'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/'/>
<updated>2022-07-28T19:49:51+00:00</updated>
<entry>
<title>gdb: Fix error in inline_frame_sniffer</title>
<updated>2022-07-28T19:49:51+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@amd.com</email>
</author>
<published>2022-07-28T18:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=71d65c149ea2812e70a0bb65c26cdc2d8160d50b'/>
<id>urn:sha1:71d65c149ea2812e70a0bb65c26cdc2d8160d50b</id>
<content type='text'>
    Depth:  Total number of inline functions [refer inline-frame.c]
    state-&gt;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 &lt;mark.hatle@amd.com&gt;
</content>
</entry>
<entry>
<title>meta-microbalze: gdb: Enable gdb and gdbserver on microblaze</title>
<updated>2022-07-28T19:49:51+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@amd.com</email>
</author>
<published>2022-07-18T18:34:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=51fa5fbcff22a96e171f5208efc9c32719394c3d'/>
<id>urn:sha1:51fa5fbcff22a96e171f5208efc9c32719394c3d</id>
<content type='text'>
Replace existing integration with new work that enables target gdb and
gdbserver.

Signed-off-by: Mark Hatle &lt;mark.hatle@amd.com&gt;
</content>
</entry>
<entry>
<title>gdb: Disable on-target GDB for microblaze</title>
<updated>2022-03-28T20:55:38+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@xilinx.com</email>
</author>
<published>2022-03-09T17:58:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=881a853328f84ed074a3dc12dfb1e8d05f345bf5'/>
<id>urn:sha1:881a853328f84ed074a3dc12dfb1e8d05f345bf5</id>
<content type='text'>
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 &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze binutils: Integrate community binutils contributions</title>
<updated>2022-02-04T21:24:54+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@xilinx.com</email>
</author>
<published>2022-02-02T17:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=03f7b76106fc05999421d54cbf5d1d51bc83b25a'/>
<id>urn:sha1:03f7b76106fc05999421d54cbf5d1d51bc83b25a</id>
<content type='text'>
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)-&gt;symtab_hdr pointer is not NULL, but (Elf_Internal_Sym *)
symtab_hdr-&gt;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-&gt;r_info) &lt; symtab_hdr-&gt;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-&gt;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 &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze m4/diffutils/grep: Add stack direction info to m4 macros</title>
<updated>2022-01-14T19:21:55+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@xilinx.com</email>
</author>
<published>2021-12-02T12:39:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=c9afc4648479ca31bacfd1d814689794988ea5d9'/>
<id>urn:sha1:c9afc4648479ca31bacfd1d814689794988ea5d9</id>
<content type='text'>
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 &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
<entry>
<title>gdb: Upgrade to the honister version</title>
<updated>2022-01-14T19:21:53+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@xilinx.com</email>
</author>
<published>2021-12-02T12:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=b37226b7bc52e138adcbce1b0c36d8e500293ba3'/>
<id>urn:sha1:b37226b7bc52e138adcbce1b0c36d8e500293ba3</id>
<content type='text'>
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 &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
<entry>
<title>gcc: Upgrade to honister (11.2) version</title>
<updated>2022-01-14T19:21:32+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@xilinx.com</email>
</author>
<published>2021-12-02T12:25:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=1314f2e725a27c598f29a01f40834b47ff017a04'/>
<id>urn:sha1:1314f2e725a27c598f29a01f40834b47ff017a04</id>
<content type='text'>
Signed-off-by: Mark Hatle &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
<entry>
<title>binutils: Upgraade to honister version</title>
<updated>2022-01-14T19:21:32+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@xilinx.com</email>
</author>
<published>2021-12-02T12:23:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=d458a64c2f6828c41a69b4c223fe42c3c6cdfefd'/>
<id>urn:sha1:d458a64c2f6828c41a69b4c223fe42c3c6cdfefd</id>
<content type='text'>
Signed-off-by: Mark Hatle &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
<entry>
<title>gcc: Move everything to gcc-11 directory</title>
<updated>2022-01-14T19:21:32+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@xilinx.com</email>
</author>
<published>2021-12-01T20:51:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=29a9511c3004d3ad8a0e9a66e6cd312677b8cc68'/>
<id>urn:sha1:29a9511c3004d3ad8a0e9a66e6cd312677b8cc68</id>
<content type='text'>
Signed-off-by: Mark Hatle &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
<entry>
<title>Revert "binutils: Import gatesgarth version, converted to new variable syntax"</title>
<updated>2022-01-14T19:21:32+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@xilinx.com</email>
</author>
<published>2021-12-01T20:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=0afed0ce3d04c3da4f364c72d76faa591a4d1c60'/>
<id>urn:sha1:0afed0ce3d04c3da4f364c72d76faa591a4d1c60</id>
<content type='text'>
This reverts commit 294443d89dd53435fc0ccc6113c7ec5aff326612.

Signed-off-by: Mark Hatle &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
</feed>
