From dddb0e800c0c972ed4350b1e3461b1a60fe96229 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 11 Jun 2010 21:12:11 +0000 Subject: [PATCH] bfd/ * vms-alpha.c (_bfd_vms_write_egsd): Make sname const. --- bfd/ChangeLog | 4 ++++ bfd/vms-alpha.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 85aa8eb1e74..76ff0cd93dd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2010-06-11 Jan Kratochvil + + * vms-alpha.c (_bfd_vms_write_egsd): Make sname const. + 2010-06-11 Tristan Gingold * 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 ff3062a184b..7b543d20272 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); -- 2.30.2