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
257 && compr="lzop -9 -f"257 && compr="lzop -9 -f"
258 echo "$output_file" | grep -q "\.lz4$" \258 echo "$output_file" | grep -q "\.lz4$" \
259 && [ -x "`which lz4 2> /dev/null`" ] \259 && [ -x "`which lz4 2> /dev/null`" ] \
260 && compr="lz4 -9 -f"260 && compr="lz4 -l -9 -f"
261 echo "$output_file" | grep -q "\.cpio$" && compr="cat"261 echo "$output_file" | grep -q "\.cpio$" && compr="cat"
262 shift262 shift
263 ;;263 ;;
scripts/kallsyms.c+1−2
@@ -330,8 +330,7 @@ static void write_src(void) · 329 unmodified lines
330 printf("\tPTR\t_text + %#llx\n",330 printf("\tPTR\t_text + %#llx\n",
331 table[i].addr - _text);331 table[i].addr - _text);
332 else332 else
333 printf("\tPTR\t_text - %#llx\n",333 printf("\tPTR\t%#llx\n", table[i].addr);
334 _text - table[i].addr);
335 } else {334 } else {
336 printf("\tPTR\t%#llx\n", table[i].addr);335 printf("\tPTR\t%#llx\n", table[i].addr);
337 }336 }
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
1502#define R_ARM_JUMP24 291502#define R_ARM_JUMP24 29
1503#endif1503#endif
1504 1504
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
1505static int addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r)1515static int addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r)
1506{1516{
1507 unsigned int r_typ = ELF_R_TYPE(r->r_info);1517 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
1515 case R_ARM_PC24:1525 case R_ARM_PC24:
1516 case R_ARM_CALL:1526 case R_ARM_CALL:
1517 case R_ARM_JUMP24:1527 case R_ARM_JUMP24:
1528 case R_ARM_THM_CALL:
1529 case R_ARM_THM_JUMP24:
1530 case R_ARM_THM_JUMP19:
1518 /* From ARM ABI: ((S + A) | T) - P */1531 /* From ARM ABI: ((S + A) | T) - P */
1519 r->r_addend = (int)(long)(elf->hdr +1532 r->r_addend = (int)(long)(elf->hdr +
1520 sechdr->sh_offset +1533 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