<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_elfutils/libcpu, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/'/>
<entry>
<title>Add build description for libdw</title>
<updated>2020-09-18T21:00:53+00:00</updated>
<author>
<name>Matthias Maennich</name>
<email>maennich@google.com</email>
</author>
<published>2020-06-23T09:05:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=a55c49f0c016a1439f698f48d0cd8d328e4ae398'/>
<id>a55c49f0c016a1439f698f48d0cd8d328e4ae398</id>
<content type='text'>
This adds build description for more elfutils libraries in order support
users that require libdw, such as pahole and libabigail.

While the remaining libraries could be considered standalone, they are
not really suitable to be built standalone in soong as they have
circular dependencies and are usually anyway built as one unit. Hence
only build libdw and include all libraries into it. This then works as
an extension for libelf.

The generated files in libcpu are now all generated from sources. No
really significant generated file is now checked in. Left are config.h
and version.h, which are generated at update time via post_update.sh.

The build rules for the generated files have been reverse engineered
from the autotools build. This mostly making m4, bison and flex work
what we want them to, but builtin rules in soong made that possible
without being overly verbose. An additional library - libeu - needed to
be added as a generator dependency. In order to not overload the main
Android.bp with all the little generator details, subpackages have been
reintroduced and visibility adjusted accordingly.

Bug: 159682555
Signed-off-by: Matthias Maennich &lt;maennich@google.com&gt;
Change-Id: I32e6523b3d604de0ead354b9b325fa492b680cec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds build description for more elfutils libraries in order support
users that require libdw, such as pahole and libabigail.

While the remaining libraries could be considered standalone, they are
not really suitable to be built standalone in soong as they have
circular dependencies and are usually anyway built as one unit. Hence
only build libdw and include all libraries into it. This then works as
an extension for libelf.

The generated files in libcpu are now all generated from sources. No
really significant generated file is now checked in. Left are config.h
and version.h, which are generated at update time via post_update.sh.

The build rules for the generated files have been reverse engineered
from the autotools build. This mostly making m4, bison and flex work
what we want them to, but builtin rules in soong made that possible
without being overly verbose. An additional library - libeu - needed to
be added as a generator dependency. In order to not overload the main
Android.bp with all the little generator details, subpackages have been
reintroduced and visibility adjusted accordingly.

Bug: 159682555
Signed-off-by: Matthias Maennich &lt;maennich@google.com&gt;
Change-Id: I32e6523b3d604de0ead354b9b325fa492b680cec
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add build description for libdw"</title>
<updated>2020-08-28T21:04:31+00:00</updated>
<author>
<name>Matthias Maennich</name>
<email>maennich@google.com</email>
</author>
<published>2020-08-28T21:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=d0f74b94ad6034f90a4d2572d8604a00fa5c2959'/>
<id>d0f74b94ad6034f90a4d2572d8604a00fa5c2959</id>
<content type='text'>
This reverts commit f95012c7844c6d5864e66c560acdb98ceef5060b.

Bug: 166815863
Reason for revert: Broken Build: aosp-master on full-eng

Change-Id: I01da25db2d823956166cdfb886e1099d77ae8b5e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit f95012c7844c6d5864e66c560acdb98ceef5060b.

Bug: 166815863
Reason for revert: Broken Build: aosp-master on full-eng

Change-Id: I01da25db2d823956166cdfb886e1099d77ae8b5e
</pre>
</div>
</content>
</entry>
<entry>
<title>Add build description for libdw</title>
<updated>2020-08-26T20:40:56+00:00</updated>
<author>
<name>Matthias Maennich</name>
<email>maennich@google.com</email>
</author>
<published>2020-06-23T09:05:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=f95012c7844c6d5864e66c560acdb98ceef5060b'/>
<id>f95012c7844c6d5864e66c560acdb98ceef5060b</id>
<content type='text'>
This adds build description for more elfutils libraries in order support
users that require libdw, such as pahole and libabigail.

While the remaining libraries could be considered standalone, they are
not really suitable to be built standalone in soong as they have
circular dependencies and are usually anyway built as one unit. Hence
only build libdw and include all libraries into it. This then works as
an extension for libelf.

The generated files in libcpu are now all generated from sources. No
really significant generated file is now checked in. Left are config.h
and version.h, which are generated at update time via post_update.sh.

The build rules for the generated files have been reverse engineered
from the autotools build. This mostly making m4, bison and flex work
what we want them to, but builtin rules in soong made that possible
without being overly verbose. An additional library - libeu - needed to
be added as a generator dependency. In order to not overload the main
Android.bp with all the little generator details, subpackages have been
reintroduced and visibility adjusted accordingly.

Bug: 159682555
Change-Id: Ie6f0713812f10b5b12f4e0bdfca27d0369bb71a4
Signed-off-by: Matthias Maennich &lt;maennich@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds build description for more elfutils libraries in order support
users that require libdw, such as pahole and libabigail.

While the remaining libraries could be considered standalone, they are
not really suitable to be built standalone in soong as they have
circular dependencies and are usually anyway built as one unit. Hence
only build libdw and include all libraries into it. This then works as
an extension for libelf.

The generated files in libcpu are now all generated from sources. No
really significant generated file is now checked in. Left are config.h
and version.h, which are generated at update time via post_update.sh.

The build rules for the generated files have been reverse engineered
from the autotools build. This mostly making m4, bison and flex work
what we want them to, but builtin rules in soong made that possible
without being overly verbose. An additional library - libeu - needed to
be added as a generator dependency. In order to not overload the main
Android.bp with all the little generator details, subpackages have been
reintroduced and visibility adjusted accordingly.

Bug: 159682555
Change-Id: Ie6f0713812f10b5b12f4e0bdfca27d0369bb71a4
Signed-off-by: Matthias Maennich &lt;maennich@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libcpu: Free unused new bitfield on error in i386_parse.y new_bitfield.</title>
<updated>2020-05-14T12:30:57+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2020-05-09T21:31:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=5d3b808238b01d27c0ee97e5415e4b6aac410781'/>
<id>5d3b808238b01d27c0ee97e5415e4b6aac410781</id>
<content type='text'>
GCC10 -fanalyzer detected we didn't free the newly created bitfield
on error. Make sure to free it before returning.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GCC10 -fanalyzer detected we didn't free the newly created bitfield
on error. Make sure to free it before returning.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libcpu: Replace assert with goto invalid_op for bad prefix.</title>
<updated>2020-04-21T20:23:18+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2020-04-16T13:41:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=25d40a626d36c140c8bb309f410f25af2836ec9b'/>
<id>25d40a626d36c140c8bb309f410f25af2836ec9b</id>
<content type='text'>
https://sourceware.org/bugzilla/show_bug.cgi?id=25831

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://sourceware.org/bugzilla/show_bug.cgi?id=25831

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libcpu: Compile i386_lex.c with -Wno-implicit-fallthrough</title>
<updated>2019-12-12T11:12:11+00:00</updated>
<author>
<name>Omar Sandoval</name>
<email>osandov@fb.com</email>
</author>
<published>2019-12-12T00:23:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=277c2c54f5579523649a29d26966bfed35a159bf'/>
<id>277c2c54f5579523649a29d26966bfed35a159bf</id>
<content type='text'>
elfutils is compiled with -Wimplicit-fallthrough=5, so the fallthrough
comment in i386_lex.c (generated by flex) doesn't prevent the implicit
fallthrough warning. Add -Wno-implicit-fallthrough to i386_lex_CFLAGS.

Signed-off-by: Omar Sandoval &lt;osandov@fb.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
elfutils is compiled with -Wimplicit-fallthrough=5, so the fallthrough
comment in i386_lex.c (generated by flex) doesn't prevent the implicit
fallthrough warning. Add -Wno-implicit-fallthrough to i386_lex_CFLAGS.

Signed-off-by: Omar Sandoval &lt;osandov@fb.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libcpu: Fix bounds checks and replace asserts with errors.</title>
<updated>2019-10-26T00:28:48+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-10-19T12:01:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=99dc63b10b3878616b85df2dfd2e4e7103e414b8'/>
<id>99dc63b10b3878616b85df2dfd2e4e7103e414b8</id>
<content type='text'>
Add a missing bounds check, fix an off-by-one bounds check and replace
asserts with error messages.

https://sourceware.org/bugzilla/show_bug.cgi?id=25068

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a missing bounds check, fix an off-by-one bounds check and replace
asserts with error messages.

https://sourceware.org/bugzilla/show_bug.cgi?id=25068

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libcpu: Make sure left shifts are done in unsigned context.</title>
<updated>2019-09-07T19:45:31+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-09-07T19:45:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=65a29626e327b0173174cb25f390426e7808d272'/>
<id>65a29626e327b0173174cb25f390426e7808d272</id>
<content type='text'>
Use UINT64_C (0) instead of INT64_C (0) to make sure the calculation
is done on unsigned values. Otherwise the gcc undefined sanitizer will
warn:

libcpu/riscv_disasm.c:457:57: runtime error: left shift of negative value -1

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use UINT64_C (0) instead of INT64_C (0) to make sure the calculation
is done on unsigned values. Otherwise the gcc undefined sanitizer will
warn:

libcpu/riscv_disasm.c:457:57: runtime error: left shift of negative value -1

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix whitespaces in RISC-V disasm code</title>
<updated>2019-09-07T09:06:13+00:00</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@gmail.com</email>
</author>
<published>2019-09-07T09:06:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=2dc2ed67b10fb6cfcb0be7a623b34d319be98654'/>
<id>2dc2ed67b10fb6cfcb0be7a623b34d319be98654</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement RISC-V disassembler</title>
<updated>2019-09-06T21:49:54+00:00</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@gmail.com</email>
</author>
<published>2019-09-06T21:49:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=fcab4f6587528db731da3676decb3bedcf44c08d'/>
<id>fcab4f6587528db731da3676decb3bedcf44c08d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
