Changeset 90478727 in mainline for boot


Ignore:
Timestamp:
2012-08-12T11:46:44Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41b764b7
Parents:
e1e4192 (diff), 371cb6c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

Location:
boot
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    re1e4192 r90478727  
    4747        -Werror-implicit-function-declaration -wd170
    4848
    49 SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
    50         -xnolib -xc99=all -features=extensions \
    51         -erroff=E_ZERO_SIZED_STRUCT_UNION
    52 
    5349CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    5450        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
     
    6662        GCC_CFLAGS += -g
    6763        ICC_CFLAGS += -g
    68         SUNCC_CFLAGS += -g
    6964        CLANG_CFLAGS += -g
    7065endif
     
    8378        CFLAGS = $(ICC_CFLAGS) $(EXTRA_CFLAGS)
    8479        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    85 endif
    86 
    87 ifeq ($(COMPILER),suncc)
    88         CFLAGS = $(SUNCC_CFLAGS) $(EXTRA_CFLAGS)
    89         DEFS += $(CONFIG_DEFS)
    90         DEPEND_DEFS = $(DEFS)
    9180endif
    9281
  • boot/Makefile.common

    re1e4192 r90478727  
    9898        $(USPACE_PATH)/srv/bd/part/guid_part/g_part \
    9999        $(USPACE_PATH)/srv/bd/part/mbr_part/mbr_part \
     100        $(USPACE_PATH)/srv/bd/sata_bd/sata_bd \
    100101        $(USPACE_PATH)/srv/clipboard/clipboard \
    101102        $(USPACE_PATH)/srv/fs/tmpfs/tmpfs \
     
    122123        nic/ne2k \
    123124        nic/e1k \
    124         nic/rtl8139
     125        nic/rtl8139 \
     126        block/ahci
    125127
    126128RD_DRV_CFG =
  • boot/Makefile.grub

    re1e4192 r90478727  
    6060build_dist: clean
    6161        mkdir -p $(BOOT)
    62         cp -r $(GRUB) $(BOOT)/grub
     62        cp -r -L $(GRUB) $(BOOT)/grub
    6363ifeq ($(GRUB_ARCH),efi)
    6464        gunzip $(IMAGE)
  • boot/arch/ia64/Makefile.inc

    re1e4192 r90478727  
    3131BFD_ARCH = ia64
    3232
     33#
     34# FIXME:
     35#
     36# The -fno-selective-scheduling and -fno-selective-scheduling2 options
     37# should be removed as soon as a bug in GCC concerning unchecked
     38# speculative loads is fixed.
     39#
     40# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 for reference.
     41#
     42
    3343BITS = 64
    3444ENDIANESS = LE
    35 EXTRA_CFLAGS = -fno-unwind-tables -mfixed-range=f32-f127 -mno-pic -mno-sdata
     45EXTRA_CFLAGS = -fno-unwind-tables -mfixed-range=f32-f127 -mno-pic -mno-sdata -fno-selective-scheduling -fno-selective-scheduling2
    3646
    3747RD_SRVS_NON_ESSENTIAL +=
  • boot/arch/mips32/Makefile.inc

    re1e4192 r90478727  
    2929BFD_ARCH = mips
    3030BITS = 32
    31 EXTRA_CFLAGS = -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
     31EXTRA_CFLAGS = -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
    3232
    3333RD_SRVS_NON_ESSENTIAL += \
     
    4848        BFD_OUTPUT = binary
    4949        ENDIANESS = LE
    50         EXTRA_GCC_CFLAGS = -mhard-float
    5150endif
    5251
  • boot/arch/mips64/Makefile.inc

    re1e4192 r90478727  
    2929BFD_ARCH = mips:4000
    3030BITS = 64
    31 EXTRA_CFLAGS = -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=64
     31EXTRA_CFLAGS = -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=64
    3232
    3333ifeq ($(MACHINE),msim)
     
    3535        BFD_OUTPUT = binary
    3636        ENDIANESS = LE
    37         EXTRA_GCC_CFLAGS = -mhard-float
    3837endif
    3938
  • boot/arch/ppc32/Makefile.inc

    re1e4192 r90478727  
    4343
    4444RD_DRVS += \
    45         infrastructure/rootmac
     45        infrastructure/rootmac \
     46        bus/pci/pciintel \
     47        bus/usb/ohci \
     48        bus/usb/usbflbk \
     49        bus/usb/usbhub \
     50        bus/usb/usbhid \
     51        bus/usb/usbmast \
     52        bus/usb/usbmid \
     53        bus/usb/vhc
    4654
    4755SOURCES = \
  • boot/generic/src/str.c

    re1e4192 r90478727  
    354354 *
    355355 * Do a char-by-char comparison of two NULL-terminated strings.
    356  * The strings are considered equal iff they consist of the same
    357  * characters on the minimum of their lengths.
     356 * The strings are considered equal iff their length is equal
     357 * and both strings consist of the same sequence of characters.
     358 *
     359 * A string S1 is less than another string S2 if it has a character with
     360 * lower value at the first character position where the strings differ.
     361 * If the strings differ in length, the shorter one is treated as if
     362 * padded by characters with a value of zero.
    358363 *
    359364 * @param s1 First string to compare.
    360365 * @param s2 Second string to compare.
    361366 *
    362  * @return 0 if the strings are equal, -1 if first is smaller,
    363  *         1 if second smaller.
     367 * @return 0 if the strings are equal, -1 if the first is less than the second,
     368 *         1 if the second is less than the first.
    364369 *
    365370 */
Note: See TracChangeset for help on using the changeset viewer.