platform_bionic/tools/relocation_packer/src
Dan Willemsen 7ebc81f4a2 Fix error found building relocation packer for host bionic
bionic/tools/relocation_packer/src/main.cc:109:7: error: comparison of constant
-1 with expression of type 'typeof (read(fd.get(), e_ident, (16)) != (16))'
(aka 'bool') is always false [-Werror,-Wtautological-constant-out-of-range-compare]

  if (TEMP_FAILURE_RETRY(read(fd.get(), e_ident, EI_NIDENT) != EI_NIDENT)) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bionic/libc/include/unistd.h:243:18: note: expanded from macro 'TEMP_FAILURE_RETRY'
    } while (_rc == -1 && errno == EINTR); \
             ~~~ ^  ~~
1 error generated.

Bug: 31559095
Test: mmma bionic
Change-Id: I473a19e3d51ff355233ae7f87b1013be069edb1f
2017-09-22 19:37:35 +00:00
..
debug.cc Import relocation packer from chromium repo 2015-03-06 13:01:08 -08:00
debug.h Re-land "Fix invalid using decl in bionic relocation_packer" 2016-05-06 14:09:58 -07:00
debug_unittest.cc Generalize compression tool 2015-03-06 13:01:08 -08:00
delta_encoder.cc Generalize compression tool 2015-03-06 13:01:08 -08:00
delta_encoder.h Generalize compression tool 2015-03-06 13:01:08 -08:00
delta_encoder_unittest.cc Generalize compression tool 2015-03-06 13:01:08 -08:00
elf_file.cc Properly handle elf-files without relocation sections 2017-07-11 17:00:09 +02:00
elf_file.h Always use signed leb128 encoding 2015-04-22 12:58:38 -07:00
elf_file_unittest.cc Fix unit tests, and extend for other architectures 2015-05-27 13:20:00 +01:00
elf_traits.h Rename DT_MIPS_RLD_MAP2 flag to DT_MIPS_RLD_MAP_REL 2016-04-06 17:52:16 +00:00
main.cc Fix error found building relocation packer for host bionic 2017-09-22 19:37:35 +00:00
packer.cc Always use signed leb128 encoding 2015-04-22 12:58:38 -07:00
packer.h Fix comment drift in assorted relocation packer modules. 2015-03-26 17:13:19 +00:00
packer_unittest.cc Always use signed leb128 encoding 2015-04-22 12:58:38 -07:00
sleb128.cc Generalize compression tool 2015-03-06 13:01:08 -08:00
sleb128.h Fix comment drift in assorted relocation packer modules. 2015-03-26 17:13:19 +00:00
sleb128_unittest.cc Generalize compression tool 2015-03-06 13:01:08 -08:00