mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 05:42:42 +08:00
2006-05-02 H.J. Lu <hongjiu.lu@intel.com>
* ld-cdtest/cdtest-foo.cc (Foo::Foo): Add const to char *. * ld-cdtest/cdtest-foo.h (Foo::Foo): Likewise. * ld-srec/sr3.cc (Foo::Foo): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2006-05-02 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* ld-cdtest/cdtest-foo.cc (Foo::Foo): Add const to char *.
|
||||||
|
* ld-cdtest/cdtest-foo.h (Foo::Foo): Likewise.
|
||||||
|
* ld-srec/sr3.cc (Foo::Foo): Likewise.
|
||||||
|
|
||||||
2006-05-02 Paul Brook <paul@codesourcery.com>
|
2006-05-02 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
* ld-arm/arm-elf.exp: Add thumb-rel32.
|
* ld-arm/arm-elf.exp: Add thumb-rel32.
|
||||||
|
@ -38,7 +38,7 @@ Foo::Foo ()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
Foo::Foo (char* msg)
|
Foo::Foo (const char* msg)
|
||||||
{
|
{
|
||||||
i = ++foos;
|
i = ++foos;
|
||||||
strncpy( message, msg, len);
|
strncpy( message, msg, len);
|
||||||
|
@ -17,7 +17,7 @@ public:
|
|||||||
static void init_foo ();
|
static void init_foo ();
|
||||||
static int nb_foos() { return foos; }
|
static int nb_foos() { return foos; }
|
||||||
Foo();
|
Foo();
|
||||||
Foo( char* message);
|
Foo(const char* message);
|
||||||
Foo(const Foo&);
|
Foo(const Foo&);
|
||||||
Foo & operator= (const Foo&);
|
Foo & operator= (const Foo&);
|
||||||
~Foo ();
|
~Foo ();
|
||||||
|
@ -11,7 +11,7 @@ public:
|
|||||||
static void init_foo ();
|
static void init_foo ();
|
||||||
static int nb_foos() { return foos; }
|
static int nb_foos() { return foos; }
|
||||||
Foo();
|
Foo();
|
||||||
Foo( char* message);
|
Foo(const char* message);
|
||||||
Foo(const Foo&);
|
Foo(const Foo&);
|
||||||
Foo & operator= (const Foo&);
|
Foo & operator= (const Foo&);
|
||||||
~Foo ();
|
~Foo ();
|
||||||
@ -93,7 +93,7 @@ Foo::Foo ()
|
|||||||
i = ++foos;
|
i = ++foos;
|
||||||
}
|
}
|
||||||
|
|
||||||
Foo::Foo (char*)
|
Foo::Foo (const char*)
|
||||||
{
|
{
|
||||||
i = ++foos;
|
i = ++foos;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user