History

Merge remote-tracking branch 'robh/for-next' into devicetree/next

Grant Likely committed 12 years ago

Commit d88cf7d2 parents 676e1b2 6f97626305 files · +2864 −1669Browse files

Showing the changes to scripts (3 of 305 files). Show all

Unified · Split

3 files
  1. scripts/gen_initramfs_list.sh +1 −1
  2. scripts/kallsyms.c +1 −2
  3. scripts/mod/modpost.c +13 −0
scripts/gen_initramfs_list.sh+1−1
@@ -257,7 +257,7 @@ case "$arg" in · 256 unmodified lines
257257 && compr="lzop -9 -f"
258258 echo "$output_file" | grep -q "\.lz4$" \
259259 && [ -x "`which lz4 2> /dev/null`" ] \
260− && compr="lz4 -9 -f"
260+ && compr="lz4 -l -9 -f"
261261 echo "$output_file" | grep -q "\.cpio$" && compr="cat"
262262 shift
263263 ;;
scripts/kallsyms.c+1−2
@@ -330,8 +330,7 @@ static void write_src(void) · 329 unmodified lines
330330 printf("\tPTR\t_text + %#llx\n",
331331 table[i].addr - _text);
332332 else
333− printf("\tPTR\t_text - %#llx\n",
334− _text - table[i].addr);
333+ printf("\tPTR\t%#llx\n", table[i].addr);
335334 } else {
336335 printf("\tPTR\t%#llx\n", table[i].addr);
337336 }
scripts/mod/modpost.c+13−0
@@ -1502,6 +1502,16 @@ static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) · 1501 unmodified lines
15021502 #define R_ARM_JUMP24 29
15031503 #endif
15041504
1505+#ifndef R_ARM_THM_CALL
1506+#define R_ARM_THM_CALL 10
1507+#endif
1508+#ifndef R_ARM_THM_JUMP24
1509+#define R_ARM_THM_JUMP24 30
1510+#endif
1511+#ifndef R_ARM_THM_JUMP19
1512+#define R_ARM_THM_JUMP19 51
1513+#endif
1514+
15051515 static int addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r)
15061516 {
15071517 unsigned int r_typ = ELF_R_TYPE(r->r_info);
@@ -1515,6 +1525,9 @@ static int addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) · 7 unmodified lines
15151525 case R_ARM_PC24:
15161526 case R_ARM_CALL:
15171527 case R_ARM_JUMP24:
1528+ case R_ARM_THM_CALL:
1529+ case R_ARM_THM_JUMP24:
1530+ case R_ARM_THM_JUMP19:
15181531 /* From ARM ABI: ((S + A) | T) - P */
15191532 r->r_addend = (int)(long)(elf->hdr +
15201533 sechdr->sh_offset +

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t