diff options
author | Alan Modra <amodra@gmail.com> | 2013-10-04 12:48:51 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-10-04 12:51:11 +0930 |
commit | 4cb81307b3771672864fa3a7498bd39c13267a00 (patch) | |
tree | 800315fa619bcf77cb3148cccf6845fb83a9bbda /sysdeps/powerpc/powerpc32/dl-machine.c | |
parent | f8e3e9f31bfd71641418897228fa1732170b69cc (diff) | |
download | glibc-4cb81307b3771672864fa3a7498bd39c13267a00.tar.gz |
Use stdint.h types in union unaligned.
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
Use stdint types in rather than __attribute__((mode())).
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/dl-machine.c')
-rw-r--r-- | sysdeps/powerpc/powerpc32/dl-machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc32/dl-machine.c b/sysdeps/powerpc/powerpc32/dl-machine.c index f81899a0ac..aba3618561 100644 --- a/sysdeps/powerpc/powerpc32/dl-machine.c +++ b/sysdeps/powerpc/powerpc32/dl-machine.c @@ -418,8 +418,8 @@ __process_machine_rela (struct link_map *map, { union unaligned { - unsigned u2 __attribute__ ((mode (HI))); - unsigned u4 __attribute__ ((mode (SI))); + uint16_t u2; + uint32_t u4; } __attribute__((__packed__)); switch (rinfo) |