TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
gcl (2.6.12-25) unstable; urgency=medium
* Version_2_6_13pre31, kfreebsd and mips64 FTBFS fix
Gbp-Pq: Name Version_2_6_13pre32
case R_MIPS_JALR:
break;
case R_MIPS_64:
+ if (ELF_R_FTYPE(r->r_info)==R_MIPS_GPREL32) s-=(ul)got;
add_val(where,~0L,s+a);
break;
case R_MIPS_GPREL32:
#undef ELF_R_SYM
#define ELF_R_SYM(a_) (a_&0xffffffff)
#undef ELF_R_TYPE
-#define ELF_R_TYPE(a_) (((a_>>40)&0xff) ? ((a_>>40)&0xff) : ((a_>>56)&0xff))
+#define ELF_R_TYPE(a_) (((a_>>40)&0xff) ? ((a_>>40)&0xff) : (((a_>>48)&0xff) ? ((a_>>48)&0xff) : ((a_>>56)&0xff)))
#define ELF_R_FTYPE(a_) ((a_>>56)&0xff)
typedef struct {
}
-#elif defined(__sun__)
+#elif defined(__sun__) || defined(__GNU__)
static ufixnum
get_phys_pages_no_malloc(char n) {