diff options
| author | Ulrich Drepper <[email protected]> | 2006-06-12 23:25:17 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2006-06-12 23:25:17 +0000 |
| commit | 595d0e7e9f368f04f0d9e04b902c8dc1073103e6 (patch) | |
| tree | df3eece241bf558d13521bbc6513e105d539530b /backends/ppc64_retval.c | |
| parent | d8dcc9c17a866f18b342b3b0594c15d007b8b73b (diff) | |
(create_verneed_data): Pretty printing.
Diffstat (limited to 'backends/ppc64_retval.c')
| -rw-r--r-- | backends/ppc64_retval.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/backends/ppc64_retval.c b/backends/ppc64_retval.c index 7f5e6f83..70a0de76 100644 --- a/backends/ppc64_retval.c +++ b/backends/ppc64_retval.c @@ -34,6 +34,10 @@ #include "libebl_CPU.h" +/* This is the SVR4 ELF ABI convention, but AIX and Linux do not use it. */ +#define SVR4_STRUCT_RETURN 0 + + /* r3. */ static const Dwarf_Op loc_intreg[] = { @@ -133,7 +137,7 @@ ppc64_return_value_location (Dwarf_Die *functypedie, const Dwarf_Op **locp) return nloc_fp4regs; } } - if (size <= 8) + if (size <= 8 && SVR4_STRUCT_RETURN) { intreg: *locp = loc_intreg; |
