-
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: 366239 b: refs/heads/master c: c889ba8 h: refs/heads/master i: 366237: 62bec98 366235: 76cfe62 366231: 82bdb91 366223: a8b2e17 366207: 6979896 v: v3
- Loading branch information
H. Peter Anvin
committed
Apr 16, 2013
1 parent
e82c8f2
commit f5a3c79
Showing
10 changed files
with
184 additions
and
154 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: 17c961f7702ff6037b66bb2e5f3ddd58de4ce7e5 | ||
refs/heads/master: c889ba801dc3b3a0155fa77d567f2c3a6097de1c |
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,2 +1 @@ | ||
relocs_32* | ||
relocs_64* | ||
relocs |
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,36 @@ | ||
#ifndef RELOCS_H | ||
#define RELOCS_H | ||
|
||
#include <stdio.h> | ||
#include <stdarg.h> | ||
#include <stdlib.h> | ||
#include <stdint.h> | ||
#include <inttypes.h> | ||
#include <string.h> | ||
#include <errno.h> | ||
#include <unistd.h> | ||
#include <elf.h> | ||
#include <byteswap.h> | ||
#define USE_BSD | ||
#include <endian.h> | ||
#include <regex.h> | ||
#include <tools/le_byteshift.h> | ||
|
||
void die(char *fmt, ...); | ||
|
||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) | ||
|
||
enum symtype { | ||
S_ABS, | ||
S_REL, | ||
S_SEG, | ||
S_LIN, | ||
S_NSYMTYPES | ||
}; | ||
|
||
void process_32(FILE *fp, int use_real_mode, int as_text, | ||
int show_absolute_syms, int show_absolute_relocs); | ||
void process_64(FILE *fp, int use_real_mode, int as_text, | ||
int show_absolute_syms, int show_absolute_relocs); | ||
|
||
#endif /* RELOCS_H */ |
Oops, something went wrong.