summaryrefslogtreecommitdiff
path: root/bfd/cofflink.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r--bfd/cofflink.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c
index a1f6684bb61..c17701c16e8 100644
--- a/bfd/cofflink.c
+++ b/bfd/cofflink.c
@@ -1239,9 +1239,7 @@ process_embedded_commands (bfd *output_bfd,
asection *asec;
int loop = 1;
int had_write = 0;
- int had_read = 0;
int had_exec= 0;
- int had_shared= 0;
s += 5;
s = get_name (s, &name);
@@ -1255,10 +1253,8 @@ process_embedded_commands (bfd *output_bfd,
had_write = 1;
break;
case 'R':
- had_read = 1;
break;
case 'S':
- had_shared = 1;
break;
case 'X':
had_exec = 1;