projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rx: make field type enum
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-visium.c
diff --git
a/gas/config/tc-visium.c
b/gas/config/tc-visium.c
index 3758a35061a3e9e8867c7044ec9a839404301f46..7f00cbf5a7d6a9c5507c82f44e716c18fa935367 100644
(file)
--- a/
gas/config/tc-visium.c
+++ b/
gas/config/tc-visium.c
@@
-112,9
+112,9
@@
tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp)
arelent *reloc;
bfd_reloc_code_real_type code;
arelent *reloc;
bfd_reloc_code_real_type code;
- reloc =
(arelent *) xmalloc (sizeof (arelent)
);
+ reloc =
XNEW (arelent
);
- reloc->sym_ptr_ptr =
(asymbol **) xmalloc (sizeof (asymbol *)
);
+ reloc->sym_ptr_ptr =
XNEW (asymbol *
);
*reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
*reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
@@
-282,12
+282,12
@@
struct visium_long_option_table
{
const char *option; /* Substring to match. */
const char *help; /* Help information. */
{
const char *option; /* Substring to match. */
const char *help; /* Help information. */
- int (*func) (c
har *subopt);
/* Function to decode sub-option. */
+ int (*func) (c
onst char *subopt);
/* Function to decode sub-option. */
const char *deprecated; /* If non-null, print this message. */
};
static int
const char *deprecated; /* If non-null, print this message. */
};
static int
-visium_parse_arch (char *str)
+visium_parse_arch (c
onst c
har *str)
{
struct visium_arch_option_table *opt;
{
struct visium_arch_option_table *opt;
@@
-317,7
+317,7
@@
static struct visium_long_option_table visium_long_opts[] =
};
int
};
int
-md_parse_option (int c, char *arg)
+md_parse_option (int c, c
onst c
har *arg)
{
struct visium_option_table *opt;
struct visium_long_option_table *lopt;
{
struct visium_option_table *opt;
struct visium_long_option_table *lopt;
@@
-826,7
+826,7
@@
md_begin (void)
/* Equal to MAX_PRECISION in atof-ieee.c. */
#define MAX_LITTLENUMS 6
/* Equal to MAX_PRECISION in atof-ieee.c. */
#define MAX_LITTLENUMS 6
-char *
+c
onst c
har *
md_atof (int type, char *litP, int *sizeP)
{
int i, prec;
md_atof (int type, char *litP, int *sizeP)
{
int i, prec;
@@
-861,7
+861,7
@@
md_atof (int type, char *litP, int *sizeP)
default:
*sizeP = 0;
default:
*sizeP = 0;
- return
"Bad call to MD_ATOF()"
;
+ return
_("Bad call to MD_ATOF()")
;
}
t = atof_ieee (input_line_pointer, type, words);
}
t = atof_ieee (input_line_pointer, type, words);
This page took
0.040207 seconds
and
4
git commands to generate.