blob: 66b3a262ced5eb7a696c34ed266bf2a1c26db1f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
diff --git a/ld/ldlang.c b/ld/ldlang.c
index b04ba113aaa..b7b988f5139 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -70,7 +70,6 @@ static struct obstack pt_obstack;
static const char *entry_symbol_default = "start";
static bool map_head_is_link_order = false;
static lang_output_section_statement_type *default_common_section;
-static bool map_option_f;
static bfd_vma print_dot;
static lang_input_statement_type *first_file;
static const char *current_target;
@@ -9089,16 +9088,7 @@ lang_add_target (const char *name)
void
lang_add_map (const char *name)
{
- while (*name)
- {
- switch (*name)
- {
- case 'F':
- map_option_f = true;
- break;
- }
- name++;
- }
+ (void)name;
}
void
diff --git a/ld/mri.c b/ld/mri.c
index 0d137377ce5..e72b34bc31e 100644
--- a/ld/mri.c
+++ b/ld/mri.c
@@ -45,7 +45,6 @@ struct section_name_struct {
int ok_to_load;
};
-static unsigned int symbol_truncate = 10000;
static etree_type *base; /* Relocation base - or null */
static struct section_name_struct *order;
@@ -312,5 +311,5 @@ mri_alignmod (const char *name, etree_type *exp)
void
mri_truncate (unsigned int exp)
{
- symbol_truncate = exp;
+ (void)exp;
}
|