diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-15 12:36:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-15 12:36:11 +0000 |
commit | 47d2f29b985c8073479281476b6786fc9ef8aa18 (patch) | |
tree | 3dc8d8644da00c1b65bc409bfbf770d23e733912 | |
parent | make sure the maps we scan are aligned when needed (which often does not happ... (diff) | |
download | pax-utils-47d2f29b985c8073479281476b6786fc9ef8aa18.tar.gz pax-utils-47d2f29b985c8073479281476b6786fc9ef8aa18.tar.bz2 pax-utils-47d2f29b985c8073479281476b6786fc9ef8aa18.zip |
alignment issues are fixed nowv0.2
-rw-r--r-- | TODO | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -1,15 +1,3 @@ -Fix these warnings when building on arm/hppa/ia64/sparc: -scanelf.c: In function `scanelf_file_textrel': -scanelf.c:241: warning: cast increases required alignment of target type -scanelf.c:242: warning: cast increases required alignment of target type -due to: - dyn = DYN ## B (elf->data + offset); \ - rel = REL ## B (elf->data + EGET(shdr[s].sh_offset)); \ - rela = RELA ## B (elf->data + EGET(shdr[s].sh_offset)); \ - sym = SYM ## B (elf->data + EGET(symtab->sh_offset)); \ -perhaps we need to just force the alignment of the data member in the struct to -the size of something large ? or just ignore the warning ... - pspax -u 0 errno = 0; uid = strtol(optarg, NULL, 10); if (uid == 0 && errno != 0) error("invalid value"); |