mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
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.
This commit is contained in:
parent
f8e3e9f31b
commit
4cb81307b3
@ -1,3 +1,9 @@
|
|||||||
|
2013-10-04 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2013-10-04 Alan Modra <amodra@gmail.com>
|
2013-10-04 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
|
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
|
||||||
|
@ -418,8 +418,8 @@ __process_machine_rela (struct link_map *map,
|
|||||||
{
|
{
|
||||||
union unaligned
|
union unaligned
|
||||||
{
|
{
|
||||||
unsigned u2 __attribute__ ((mode (HI)));
|
uint16_t u2;
|
||||||
unsigned u4 __attribute__ ((mode (SI)));
|
uint32_t u4;
|
||||||
} __attribute__((__packed__));
|
} __attribute__((__packed__));
|
||||||
|
|
||||||
switch (rinfo)
|
switch (rinfo)
|
||||||
|
@ -563,10 +563,10 @@ elf_machine_rela (struct link_map *map,
|
|||||||
const Elf64_Sym *const refsym = sym;
|
const Elf64_Sym *const refsym = sym;
|
||||||
union unaligned
|
union unaligned
|
||||||
{
|
{
|
||||||
unsigned u2 __attribute__ ((mode (HI)));
|
uint16_t u2;
|
||||||
unsigned u4 __attribute__ ((mode (SI)));
|
uint32_t u4;
|
||||||
unsigned u8 __attribute__ ((mode (DI)));
|
uint64_t u8;
|
||||||
} __attribute__((__packed__));
|
} __attribute__ ((__packed__));
|
||||||
|
|
||||||
if (r_type == R_PPC64_RELATIVE)
|
if (r_type == R_PPC64_RELATIVE)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user