mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
merge from gcc
This commit is contained in:
parent
dca779339f
commit
58364ce8a1
@ -1,3 +1,8 @@
|
||||
2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* demangle.h (demangler_engine): Const-ify.
|
||||
* libiberty.h (buildargv): Likewise.
|
||||
|
||||
2001-10-03 Vassili Karpov <malc@pulsesoft.com>
|
||||
|
||||
* bfdlink.h (struct bfd_link_info): Add nocopyreloc field.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Defs for interface to demanglers.
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
@ -94,11 +94,11 @@ extern enum demangling_styles
|
||||
/* Provide information about the available demangle styles. This code is
|
||||
pulled from gdb into libiberty because it is useful to binutils also. */
|
||||
|
||||
extern struct demangler_engine
|
||||
extern const struct demangler_engine
|
||||
{
|
||||
const char *demangling_style_name;
|
||||
enum demangling_styles demangling_style;
|
||||
const char *demangling_style_doc;
|
||||
const char *const demangling_style_name;
|
||||
const enum demangling_styles demangling_style;
|
||||
const char *const demangling_style_doc;
|
||||
} libiberty_demanglers[];
|
||||
|
||||
extern char *
|
||||
|
@ -51,7 +51,7 @@ extern "C" {
|
||||
/* Build an argument vector from a string. Allocates memory using
|
||||
malloc. Use freeargv to free the vector. */
|
||||
|
||||
extern char **buildargv PARAMS ((char *)) ATTRIBUTE_MALLOC;
|
||||
extern char **buildargv PARAMS ((const char *)) ATTRIBUTE_MALLOC;
|
||||
|
||||
/* Free a vector returned by buildargv. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user