Changeset d71ab7fd in rtems


Ignore:
Timestamp:
Sep 21, 2004, 2:30:53 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
956e450
Parents:
6f77f16f
Message:

2004-09-21 Ralf Corsepius <ralf_corsepius@…>

  • aclocal/gcc-weak.m4: New (Extracted from cpukit/configure.ac).
  • configure.ac: Add RTEMS_CHECK_GCC_WEAK.
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r6f77f16f rd71ab7fd  
     12004-09-21      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * aclocal/gcc-weak.m4: New (Extracted from cpukit/configure.ac).
     4        * configure.ac: Add RTEMS_CHECK_GCC_WEAK.
     5
    162004-08-17      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/configure.ac

    r6f77f16f rd71ab7fd  
    113113RTEMS_CANONICALIZE_TOOLS
    114114
     115RTEMS_CHECK_GCC_WEAK
     116
    115117AC_SUBST(CUSTOM_CFG_FILES)
    116118AC_SUBST(cfg_dir)
  • cpukit/ChangeLog

    r6f77f16f rd71ab7fd  
     12004-09-21      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * aclocal/gcc-weak.m4: New (Extracted from cpukit/configure.ac).
     4        * configure.ac: Add RTEMS_CHECK_GCC_WEAK.
     5
    162004-09-17      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/configure.ac

    r6f77f16f rd71ab7fd  
    228228
    229229# libmisc/serdbg exploits weak symbols
    230 AC_CACHE_CHECK([whether $CC supports function __attribute__((weak))],
    231 [rtems_cv_cc_attribute_weak],[
    232   AS_IF([test x"$GCC" = xyes],[
    233     save_CFLAGS=$CFLAGS
    234     CFLAGS=-Werror])
    235 
    236   AC_COMPILE_IFELSE([
    237     AC_LANG_PROGRAM(
    238     [void myfunc(char c) __attribute__ ((weak));
    239      void myfunc(char c) {}],
    240     [])],
    241     [rtems_cv_cc_attribute_weak=yes],
    242     [rtems_cv_cc_attribute_weak=no])
    243 
    244   AS_IF([test x"$GCC" = xyes],[
    245     CFLAGS=$save_CFLAGS])
    246 ])
     230RTEMS_CHECK_GCC_WEAK
    247231
    248232AC_CHECK_HEADERS([sys/cdefs.h],[NEED_SYS_CDEFS_H=no],[NEED_SYS_CDEFS_H=yes])
Note: See TracChangeset for help on using the changeset viewer.