Changeset c5d0ca9 in rtems


Ignore:
Timestamp:
Jul 13, 2015, 8:19:04 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
e2fcb7d
Parents:
083e6d6
git-author:
Sebastian Huber <sebastian.huber@…> (07/13/15 08:19:04)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/15/15 06:46:36)
Message:

libcsupport: Workaround for GCC 5.1 and later

Disable an optimization which would lead to a recursive calloc() call in
calloc().

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/Makefile.am

    r083e6d6 rc5d0ca9  
    22include $(top_srcdir)/automake/compile.am
    33
    4 noinst_LIBRARIES = libcsupport.a
     4noinst_LIBRARIES = libcsupport.a libcalloc.a
    55libcsupport_a_CPPFLAGS = $(AM_CPPFLAGS)
     6libcalloc_a_CPPFLAGS = $(AM_CPPFLAGS)
    67
    78include_rtemsdir = $(includedir)/rtems
     
    8081    src/setsid.c
    8182
    82 MALLOC_C_FILES = src/malloc_initialize.c src/calloc.c src/malloc.c \
     83MALLOC_C_FILES = src/malloc_initialize.c src/malloc.c \
    8384    src/realloc.c src/_calloc_r.c src/_malloc_r.c \
    8485    src/free.c src/_free_r.c \
     
    139140libcsupport_a_SOURCES += src/flockfile.c src/funlockfile.c src/ftrylockfile.c
    140141
     142libcalloc_a_SOURCES = src/calloc.c
     143libcalloc_a_CFLAGS = -fno-builtin
     144
    141145EXTRA_DIST = src/TODO src/CASES src/README
    142146
  • cpukit/wrapup/Makefile.am

    r083e6d6 rc5d0ca9  
    2222TMP_LIBS += ../libcrypt/libcrypt.a
    2323TMP_LIBS += ../libcsupport/libcsupport.a
     24TMP_LIBS += ../libcsupport/libcalloc.a
    2425TMP_LIBS += ../libblock/libblock.a
    2526if LIBDOSFS
Note: See TracChangeset for help on using the changeset viewer.