Changeset 37e8c4a in mainline


Ignore:
Timestamp:
2017-10-26T23:45:41Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d4da860
Parents:
90c340fb
Message:

Disallow common symbols. They are never needed.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    r90c340fb r37e8c4a  
    3737
    3838AFLAGS =
    39 LFLAGS = --fatal-warnings
     39LFLAGS = --fatal-warnings --warn-common
    4040
    4141# FIXME: This condition is a workaround for issue #693.
     
    4646COMMON_CFLAGS = $(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    4747        -ffreestanding -fno-builtin -nostdlib -nostdinc \
    48         -fexec-charset=UTF-8 -finput-charset=UTF-8
     48        -fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common
    4949
    5050GCC_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
  • kernel/Makefile

    r90c340fb r37e8c4a  
    8484COMMON_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    8585        -ffreestanding -fno-builtin -nostdlib -nostdinc \
    86         -fexec-charset=UTF-8 -finput-charset=UTF-8
     86        -fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common
    8787
    8888GCC_CFLAGS = -std=gnu99 -Wall -Wextra -Wno-unused-parameter \
     
    112112#
    113113AFLAGS =
    114 LFLAGS = -n -T $(LINK) -M --fatal-warnings
     114LFLAGS = -n -T $(LINK) -M --fatal-warnings --warn-common
    115115
    116116# FIXME: This condition is a workaround for issues #693 and #694.
  • kernel/generic/src/ipc/sysipc_ops.c

    r90c340fb r37e8c4a  
    3838
    3939/* Forward declarations. */
    40 sysipc_ops_t ipc_m_connect_to_me_ops;
    41 sysipc_ops_t ipc_m_connect_me_to_ops;
    42 sysipc_ops_t ipc_m_page_in_ops;
    43 sysipc_ops_t ipc_m_share_out_ops;
    44 sysipc_ops_t ipc_m_share_in_ops;
    45 sysipc_ops_t ipc_m_data_write_ops;
    46 sysipc_ops_t ipc_m_data_read_ops;
    47 sysipc_ops_t ipc_m_state_change_authorize_ops;
    48 sysipc_ops_t ipc_m_debug_ops;
     40extern sysipc_ops_t ipc_m_connect_to_me_ops;
     41extern sysipc_ops_t ipc_m_connect_me_to_ops;
     42extern sysipc_ops_t ipc_m_page_in_ops;
     43extern sysipc_ops_t ipc_m_share_out_ops;
     44extern sysipc_ops_t ipc_m_share_in_ops;
     45extern sysipc_ops_t ipc_m_data_write_ops;
     46extern sysipc_ops_t ipc_m_data_read_ops;
     47extern sysipc_ops_t ipc_m_state_change_authorize_ops;
     48extern sysipc_ops_t ipc_m_debug_ops;
    4949
    5050static sysipc_ops_t *sysipc_ops[] = {
  • uspace/Makefile.common

    r90c340fb r37e8c4a  
    158158
    159159AFLAGS =
    160 LFLAGS = --fatal-warnings
     160LFLAGS = --fatal-warnings --warn-common
    161161
    162162# FIXME: This condition is a workaround for issues #692 and #693.
     
    234234COMMON_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    235235        -ffreestanding -fno-builtin -nostdlib -nostdinc -fexec-charset=UTF-8 \
    236         -finput-charset=UTF-8 -D__$(ENDIANESS)__
     236        -finput-charset=UTF-8 -D__$(ENDIANESS)__ -fno-common
    237237
    238238GCC_CFLAGS = -ffunction-sections -Wall -Wextra -Wno-clobbered \
Note: See TracChangeset for help on using the changeset viewer.