aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-06-11 21:12:11 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-06-11 21:12:11 +0000
commitdddb0e800c0c972ed4350b1e3461b1a60fe96229 (patch)
tree0839b82ecd34b85f9e1cf3e373721b508e3bdced
parent6cc55c64eda17f5c5f1816b60f8960134939d450 (diff)
downloadgdb-dddb0e800c0c972ed4350b1e3461b1a60fe96229.zip
gdb-dddb0e800c0c972ed4350b1e3461b1a60fe96229.tar.gz
gdb-dddb0e800c0c972ed4350b1e3461b1a60fe96229.tar.bz2
bfd/
* vms-alpha.c (_bfd_vms_write_egsd): Make sname const.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/vms-alpha.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 85aa8eb..76ff0cd 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * vms-alpha.c (_bfd_vms_write_egsd): Make sname const.
+
2010-06-11 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (_bfd_vms_slurp_egsd): Always set vma of absolute
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index ff3062a..7b543d2 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -3273,7 +3273,7 @@ _bfd_vms_write_egsd (bfd *abfd)
unsigned int symnum;
int last_index = -1;
char dummy_name[10];
- char *sname;
+ const char *sname;
flagword new_flags, old_flags;
int abs_section_index = 0;
struct vms_rec_wr *recwr = &PRIV (recwr);