Skip to content

Commit 773b22c

Browse files
committed
Make "shr" an alias for the hiseg file format.
1 parent b39710d commit 773b22c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

dis.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ extern struct file_format pdump_file_format;
8282
extern struct file_format raw_file_format;
8383
extern struct file_format rim10_file_format;
8484
extern struct file_format sblk_file_format;
85+
extern struct file_format shr_file_format;
8586
extern struct file_format tenex_file_format;
8687

8788
extern struct word_format *input_word_format;

file.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ static struct file_format *file_formats[] = {
2828
&csave_file_format,
2929
&dmp_file_format,
3030
&exb_file_format,
31+
&exe_file_format,
3132
&fasl_file_format,
3233
&hex_file_format,
3334
&hiseg_file_format,
@@ -41,7 +42,7 @@ static struct file_format *file_formats[] = {
4142
&raw_file_format,
4243
&rim10_file_format,
4344
&sblk_file_format,
44-
&exe_file_format,
45+
&shr_file_format,
4546
&tenex_file_format,
4647
NULL
4748
};

hiseg-file.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,10 @@ struct file_format hiseg_file_format = {
4848
read_hiseg,
4949
write_hiseg
5050
};
51+
52+
/* Alias for hiseg. */
53+
struct file_format shr_file_format = {
54+
"shr",
55+
read_hiseg,
56+
write_hiseg
57+
};

0 commit comments

Comments
 (0)