Merge commit 'v2.6.35' into kbuild/kbuild
authorMichal Marek <mmarek@suse.cz>
Wed, 4 Aug 2010 11:59:13 +0000 (13:59 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 4 Aug 2010 11:59:13 +0000 (13:59 +0200)
Conflicts:
arch/powerpc/Makefile

1  2 
Makefile
arch/blackfin/Makefile
arch/ia64/Makefile
arch/mips/Makefile
arch/powerpc/Makefile
arch/s390/Makefile
lib/Kconfig.debug
scripts/mod/file2alias.c
scripts/mod/modpost.c

diff --cc Makefile
Simple merge
index f7ef923297fc1814956adbf6a58aa371ae2efd09,5a97a31d4bbd55f7d16b1f3e78def86a19a66906..9d5ffaf5492a2f749bd9d9a880956db46a0022f2
@@@ -14,9 -14,12 +14,12 @@@ OBJCOPYFLAGS     := -O binary -R .note 
  GZFLAGS          := -9
  
  KBUILD_CFLAGS           += $(call cc-option,-mno-fdpic)
+ ifeq ($(CONFIG_ROMKERNEL),y)
+ KBUILD_CFLAGS           += -mlong-calls
+ endif
  KBUILD_AFLAGS           += $(call cc-option,-mno-fdpic)
 -CFLAGS_MODULE    += -mlong-calls
 -LDFLAGS_MODULE   += -m elf32bfin
 +KBUILD_CFLAGS_MODULE    += -mlong-calls
 +KBUILD_LDFLAGS_MODULE   += -m elf32bfin
  KALLSYMS         += --symbol-prefix=_
  
  KBUILD_DEFCONFIG := BF537-STAMP_defconfig
Simple merge
Simple merge
index b68a83853e1cb36b4af59a3e190afc7a04cdd483,77cfe7a29e2574a3601c0db1c9a58b96bedfd101..5d42f5eae70f43792d9c3e84ac0a0bb0e5833bcf
@@@ -92,10 -92,10 +92,10 @@@ endi
  else
        KBUILD_CFLAGS += $(call cc-option,-mtune=power4)
  endif
- else
- KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o
  endif
  
 -LDFLAGS_MODULE        += arch/powerpc/lib/crtsavres.o
++KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o
  ifeq ($(CONFIG_TUNE_CELL),y)
        KBUILD_CFLAGS += $(call cc-option,-mtune=cell)
  endif
index 83ef8724c83367f28f7f1884d73a079e32962cef,30c5f01f93b0017741bb9c18f5035925d7d3869d..0c9e6c6d2a645f7df5f2f4f7f9f07824a327c0d1
@@@ -21,9 -22,9 +22,10 @@@ UTS_MACHINE  := s39
  STACK_SIZE    := 8192
  CHECKFLAGS    += -D__s390__ -msize-long
  else
+ LD_BFD                := elf64-s390
  LDFLAGS               := -m elf64_s390
 -MODFLAGS      += -fpic -D__PIC__
 +KBUILD_AFLAGS_MODULE += -fpic -D__PIC__
 +KBUILD_CFLAGS_MODULE += -fpic -D__PIC__
  KBUILD_CFLAGS += -m64
  KBUILD_AFLAGS += -m64
  UTS_MACHINE   := s390x
Simple merge
Simple merge
index 7249ab44f44ccf7c5854aea03cb6b4691a14f8f7,f6127b9f5acac16c10842fee3c53445fddfacd2a..c827309c29cf727bae89d42a4b6e38164b9d72a7
@@@ -1389,10 -1344,10 +1394,10 @@@ static unsigned int *reloc_location(str
                                    Elf_Shdr *sechdr, Elf_Rela *r)
  {
        Elf_Shdr *sechdrs = elf->sechdrs;
 -      int section = sechdr->sh_info;
 +      int section = shndx2secindex(sechdr->sh_info);
  
        return (void *)elf->hdr + sechdrs[section].sh_offset +
-               (r->r_offset - sechdrs[section].sh_addr);
+               r->r_offset - sechdrs[section].sh_addr;
  }
  
  static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r)