Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140052
b: refs/heads/master
c: bf589a3
h: refs/heads/master
v: v3
  • Loading branch information
Kyle McMartin committed Apr 2, 2009
1 parent 88d07f2 commit 8e30469
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb7350194130ae6bd3fdec16fe1b7597c1c0bb8d
refs/heads/master: bf589a349b9a41ea202ddb8115b18f543b944bfd
10 changes: 10 additions & 0 deletions trunk/arch/parisc/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,16 @@ typedef struct elf64_fdesc {
__u64 gp;
} Elf64_Fdesc;

#ifdef __KERNEL__

#ifdef CONFIG_64BIT
#define Elf_Fdesc Elf64_Fdesc
#else
#define Elf_Fdesc Elf32_Fdesc
#endif /*CONFIG_64BIT*/

#endif /*__KERNEL__*/

/* Legal values for p_type field of Elf32_Phdr/Elf64_Phdr. */

#define PT_HP_TLS (PT_LOOS + 0x0)
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/parisc/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ struct got_entry {
Elf32_Addr addr;
};

#define Elf_Fdesc Elf32_Fdesc

struct stub_entry {
Elf32_Word insns[2]; /* each stub entry has two insns */
};
Expand All @@ -125,8 +123,6 @@ struct got_entry {
Elf64_Addr addr;
};

#define Elf_Fdesc Elf64_Fdesc

struct stub_entry {
Elf64_Word insns[4]; /* each stub entry has four insns */
};
Expand Down

0 comments on commit 8e30469

Please sign in to comment.