Bug-Debian: https://bugs.debian.org/
1096165
Bug-Debian: https://bugs.debian.org/
1096684
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.14-17) unstable; urgency=medium
* Version_2_6_15pre16
* Bug fix: "ftbfs with GCC-15", thanks to Matthias Klose (Closes:
#
1096684).
* Bug fix: "outdated debconf version constraint; inhibits support for
debconf-2.0/cdebconf", thanks to Gioele Barabucci (Closes: #
1096165).
Gbp-Pq: Name Version_2_6_15pre16
add_args_to_cflags -fsigned-char -pipe -fcommon \
-fno-builtin-malloc -fno-builtin-free \
-fno-PIE -fno-pie -fno-PIC -fno-pic \
+ -std=gnu17 \
-Wall \
-Wno-builtin-requires-header -Wno-empty-body -Wno-self-assign \
-Wno-unused-but-set-variable
add_args_to_cflags -fsigned-char -pipe -fcommon \
-fno-builtin-malloc -fno-builtin-free \
-fno-PIE -fno-pie -fno-PIC -fno-pic \
+ -std=gnu17 \
-Wall \
-Wno-builtin-requires-header -Wno-empty-body -Wno-self-assign \
-Wno-unused-but-set-variable
-"Version_2_6_15pre15"
+"Version_2_6_15pre16"
#endif
#define PATH_MAX 4096 /*fixme dynamic*/
#define MAXPATHLEN 4096 /*fixme dynamic*/
-#define MAX_BRK 0x70000000 /*GNU Hurd fragmentation bug*/
+/* #define MAX_BRK 0x70000000 */ /*GNU Hurd fragmentation bug*/
#define RELOC_H "elf32_i386_reloc.h"
#define NEED_STACK_CHK_GUARD
#undef HAVE_D_TYPE /*FIXME defined, but not implemented in readdir*/
-#define NO_FILE_LOCKING /*FIXME*/
+/* #define NO_FILE_LOCKING */ /*FIXME*/
+
+#define INITIALIZE_BRK \
+ massert(!brk(gcl_alloc_initialized ? core_end : \
+ ({extern ufixnum _end;(void *)ROUNDUP((ufixnum)&_end,PAGESIZE);})))
case X86_64_RELOC_UNSIGNED: // for absolute addresses
if (ri->r_extern || !ri->r_pcrel)
- add_val(q,~0L,ri->r_pcrel ? a-rel : a);
+ store_val(q,~0L,ri->r_pcrel ? a-rel : a);
break;
case X86_64_RELOC_GOT_LOAD: // a MOVQ load of a GOT entry
#endif
+#ifdef INITIALIZE_BRK
+ INITIALIZE_BRK;
+#endif
+
update_real_maxpage();
if (gcl_alloc_initialized) {
if (type_of(x)==t_fixnum && type_of(y)==t_fixnum) {
fixnum fx=fix(x),fy=fix(y);
- if (fx!=-fx) {/*MOST_NEGATIVE_FIX*/
+ if (fx!=MOST_NEGATIVE_FIX) {
if (qp) {
fixnum z=fixnum_div(fx,fy,d);
if (rp) *rp=make_fixnum(fx-fy*z);
}
-static int
-add_val(ul *w,ul m,ul v) {
-
- return store_val(w,m,v+(*w&m));
-
-}
-
-
#ifndef _LP64
/*redirect trampolines gcc-4.0 gives no reloc for stub sections on x86 only*/
static int