-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 57139 b: refs/heads/master c: fbe9c96 h: refs/heads/master i: 57137: 4e7b98d 57135: f58bd31 v: v3
- Loading branch information
Roman Zippel
authored and
Linus Torvalds
committed
May 31, 2007
1 parent
4db9dbb
commit cd97d7f
Showing
10 changed files
with
108 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 1fc799e1b4efdbc405d87d9f154d64d9bc299e5c | ||
refs/heads/master: fbe9c9612930e0604dc99ef2da7e063fa3278817 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SECTIONS { | ||
.m68k_fixup : { | ||
__start_fixup = .; | ||
*(.m68k_fixup) | ||
__stop_fixup = .; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,38 @@ | ||
#ifndef _ASM_M68K_MODULE_H | ||
#define _ASM_M68K_MODULE_H | ||
struct mod_arch_specific { }; | ||
|
||
struct mod_arch_specific { | ||
struct m68k_fixup_info *fixup_start, *fixup_end; | ||
}; | ||
|
||
#define MODULE_ARCH_INIT { \ | ||
.fixup_start = __start_fixup, \ | ||
.fixup_end = __stop_fixup, \ | ||
} | ||
|
||
#define Elf_Shdr Elf32_Shdr | ||
#define Elf_Sym Elf32_Sym | ||
#define Elf_Ehdr Elf32_Ehdr | ||
|
||
|
||
enum m68k_fixup_type { | ||
m68k_fixup_memoffset, | ||
}; | ||
|
||
struct m68k_fixup_info { | ||
enum m68k_fixup_type type; | ||
void *addr; | ||
}; | ||
|
||
#define m68k_fixup(type, addr) \ | ||
" .section \".m68k_fixup\",\"aw\"\n" \ | ||
" .long " #type "," #addr "\n" \ | ||
" .previous\n" | ||
|
||
extern struct m68k_fixup_info __start_fixup[], __stop_fixup[]; | ||
|
||
struct module; | ||
extern void module_fixup(struct module *mod, struct m68k_fixup_info *start, | ||
struct m68k_fixup_info *end); | ||
|
||
#endif /* _ASM_M68K_MODULE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters