Nick Clifton
1e9cc1c27b
* po/bfd.pot: Updated by the Translation project.
...
* po/binutils.pot: Updated by the Translation project.
* po/gold.pot: Updated by the Translation project.
* po/gold.pot: Updated by the Translation project.
* po/gprof.pot: Updated by the Translation project.
* po/sv.po: Updated Swedish translation.
* po/ld.pot: Updated by the Translation project.
* po/fi.po: Updated Finnish translation.
* po/ld.pot: Updated by the Translation project.
* po/fi.po: Updated Finnish translation.
Updated sources to compile cleanly with -Wc++-compat:
* basic_blocks.c: Add casts.
* cg_dfn.c: Add cast.
* corefile.c: Add casts.
* gmon_io.c: Add casts.
* hist.c: Add cast.
* source.c: Add cast.
* sym_ids.c (struct match): Moved to top level.
Updated soruces in ld/* to compile cleanly with -Wc++-compat:
* ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
* ldcref.c: Add casts.
* ldctor.c: Add casts.
* ldexp.c
* ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
* ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
* ldlang.h (enum statement_enum): Move to top level.
* ldmain.c: Add casts.
* ldwrite.c: Add casts.
* lexsup.c: Add casts. (enum control_enum): Move to top level.
* mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
Updated sources to compile cleanly with -Wc++-compat:
* basic_blocks.c: Add casts.
* cg_dfn.c: Add cast.
* corefile.c: Add casts.
* gmon_io.c: Add casts.
* hist.c: Add cast.
* source.c: Add cast.
* sym_ids.c (struct match): Moved to top level.
* as.c (main): Call dwarf2_init.
* config/obj-elf.c (struct group_list): New field.
(build_group_lists): Use hash lookup.
(free_section_idx): New function.
(elf_frob_file): Adjust.
* dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
(get_line_subseg): Adjust.
(dwarf2_init): New function.
* dwarf2dbg.h (dwarf2_init): New declaration.
2009-09-11 15:27:38 +00:00
Alan Modra
aa820537ea
update copyright dates
2009-09-02 07:25:43 +00:00
Nick Clifton
9c2799c243
* gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
...
gas/config/atof-ieee.c, gas/config/obj-aout.c,
gas/config/obj-coff.c, gas/config/obj-ecoff.c,
gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
gas/config/tc-s390.c, gas/config/tc-score.c,
gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
gas macro `assert' to `gas_assert'.
2009-06-22 17:56:02 +00:00
Nick Clifton
c0a139c7d1
PR 6878
...
* app.c (do_scrub_chars): Only issue warnings about tick
characters detected in symbol strings if hex ticks are supported.
2008-09-29 14:20:39 +00:00
DJ Delorie
c54b5932c5
* config/tc-m32c.h (H_TICK_HEX): Define.
...
* config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
(md_longopts): Add support for it.
(md_parse_option): Likewise.
* doc/as.texinfo (Overview): Add new m32c options.
* doc/c-m32c.texi (M32C-Modifiers): Likewise
* as.h: (enable_h_tick_hex): New.
* app.c (enable_h_tick_hex): New.
(LEX_IS_H): New.
(do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
(do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
style hex constants and convert the input stream to 0x00 style.
(do_scrub_chars): If a 'X style character constant is found after
a symbol character (like you're or X'00), warn the user.
2008-07-18 22:25:07 +00:00
Nick Clifton
0146fc9d1e
* app.c (do_scrub_chars): Do not UNGET an EOF value.
...
* ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
macro which does not trigger an array bounds warning in gcc.
(PUT_SCNHDR_NLNNO): Likewise.
(GET_SCNHDR_FLAGS): Likewise.
(PUT_SCNHDR_FLAGS): Likewise.
(GET_SCNHDR_PAGE): Likewise.
(PUT_SCNHDR_PAGE): Likewise.
2008-06-17 16:01:28 +00:00
Nick Clifton
83bd74026c
* app.c (do_scrub_chars): Do not UNGET an EOF value.
2008-06-04 16:10:21 +00:00
Nick Clifton
fc5910c0bb
* app.c (do_scrub_chars): Provide a one character buffer to hold a
...
pushed back newline at the end of an unterminated quoted string.
2007-07-20 08:20:27 +00:00
Nick Clifton
ec2655a6a7
Switch to GPLv3
2007-07-03 11:01:12 +00:00
Alan Modra
df81608724
PR 4722
...
* app.c (do_scrub_chars <state 5>): Check for output buffer full
after memcpy.
2007-07-03 02:42:16 +00:00
Nathan Sidwell
1740b7b1d5
* app.c (do_scrub_chars): Cope with \ at end of buffer.x
2007-05-28 19:32:58 +00:00
Mark Shinwell
2a67688880
gas/
...
* app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
gas/testsuite/
* gas/arm/backslash-at.d: New.
* gas/arm/backslash-at.s: New.
2007-05-15 10:06:03 +00:00
H.J. Lu
4061927e10
2007-03-15 Alexandre Oliva <aoliva@redhat.com>
...
PR gas/4184
* app.c (do_scrub_chars): PUT after setting states.
2007-03-15 14:58:05 +00:00
Alexandre Oliva
e9fc6c2100
* app.c (do_scrub_chars): Recognize comments after # line "file".
...
* read.c (get_linefile_number): New.
(s_app_line): Accept ill-formed .linefile lines as comments.
2007-03-09 23:25:59 +00:00
Alexandre Oliva
93e914b2d9
* app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
...
* as.h (new_logical_line_flags): New.
* input-scrub.c (new_logical_line): Turned into wrapper for...
(new_logical_line_flags): this. Handle flags.
* read.c (potable): Add linefile. Adjust appline argument.
(s_app_file): Fake .appfiles no more.
(s_app_line): For .linefile, accept file name and flags.
2007-03-09 07:14:23 +00:00
Alan Modra
ebd1c8757c
remove some duplicate #include's.
2006-06-07 11:27:58 +00:00
Ben Elliston
8c9f705ebb
* expr.c (operand): Remove `if (0 && ..)' statement and
...
subsequently unused target_op label. Collapse `if (1 || ..)'
statement.
* app.c (do_scrub_chars): Remove unused case 0, as it is handled
separately above the switch.
2006-05-09 04:54:32 +00:00
Ben Elliston
518051dc53
* app.c (do_scrub_chars): Simplify string handling.
2006-03-10 10:57:18 +00:00
Nick Clifton
3c9b82baee
Add support for the Z80 processor family
2005-10-25 17:40:19 +00:00
Alan Modra
c9c5dcdafc
* app.c (do_scrub_chars): Match open and close quote of strings.
...
Remove redundant EOF test in case 7.
2005-09-29 02:20:50 +00:00
Alan Modra
37b75c0cc0
* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
...
buffer after copying string.
2005-09-28 12:31:44 +00:00
Nick Clifton
4b4da1607a
Update the address and phone number of the FSF
2005-05-05 09:13:19 +00:00
Alan Modra
2da5c03714
update copyright dates
2005-03-03 01:29:54 +00:00
Jakub Jelinek
70b911ad67
* app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
...
when transitioning from states 14 or 15 to 0 or 1.
2003-11-24 09:24:39 +00:00
Alan Modra
9a12477437
* app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.
2003-11-22 04:46:36 +00:00
Kazu Hirata
73ee5e4c0f
* app.c: Convert to ISO-C.
...
* as.h: Likewise.
* atof-generic.c: Likewise.
* bignum-copy.c: Likewise.
* bignum.h: Likewise.
* cgen.c: Likewise.
* cgen.h: Likewise.
* cond.c: Likewise.
2003-11-21 01:52:16 +00:00
H.J. Lu
5262831592
2003-06-07 H.J. Lu <hongjiu.lu@intel.com>
...
* app.c (do_scrub_chars): Add states 14 and 15 to handle
predicate for ia64.
2003-06-07 14:53:59 +00:00
Nick Clifton
8d9cd6b19b
Add support for h8300hn and h8300sn
2003-04-24 12:36:08 +00:00
Nick Clifton
204cd129d1
More checks for valid labels
2003-04-23 17:51:42 +00:00
H.J. Lu
2cdb18a769
2003-04-22 H.J. Lu <hjl@gnu.org>
...
* app.c (do_scrub_chars): Check for valid label.
2003-04-22 17:46:51 +00:00
Alan Modra
b1ac4c66ea
* app.c (do_scrub_chars): Handle '||' in two states.
2003-02-19 10:46:52 +00:00
Alan Modra
4252e537fa
* app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
2002-08-27 23:34:18 +00:00
Kazu Hirata
411863a44d
* app.c: Fix formatting.
...
* as.c: Likewise.
* ehopt.c: Likewise.
* expr.c: Likewise.
* input-file.c: Likewise.
* listing.c: Likewise.
* macro.h: Likewise.
* stabs.c: Likewise.
* symbols.c: Likewise.
2002-05-18 12:53:30 +00:00
Alan Modra
72297628d9
* app.c (mri_pseudo): Only declare for TC_M68K.
2002-05-02 13:01:50 +00:00
Kazu Hirata
3b37fd6673
* app.c: Fix comment typos.
...
* bit_fix.h: Likewise.
* expr.c: Likewise.
* itbl-ops.c: Likewise.
2001-10-11 12:20:25 +00:00
Alan Modra
0e389e770d
* read.c: Standardize error/warning messages - don't capitalise, no
...
final period or newline, don't say "ignored" or "zero assumed" for
as_bad messages. In some cases, change the wording to that used
elsewhere for similar messages.
* app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c,
ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c,
output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise.
* ecoff.c (ecoff_directive_end): Test for missing name by
comparing input line pointers rather than reading string.
(ecoff_directive_ent): Likewise.
* read.c (s_set): Likewise.
(s_align): Report a warning rather than an error for
alignment too large.
(s_comm): Check for missing symbol name.
(s_lcomm_internal): Likewise.
(s_lsym): Likewise.
(s_globl): Use is_end_of_line instead of looking for '\n'.
(s_lcomm_internal): Likewise.
(ignore_rest_of_line): Report a warning rather than an error.
2001-08-01 01:44:25 +00:00
Dave Brolley
62f65a7b06
2001-07-25 Dave Brolley <brolley@redhat.com>
...
* app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
(IS_PARALLEL_SEPARATOR): New macro.
(do_scrub_begin): Set up characters in tc_parallel_separator_chars
as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
(do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
been seen).
2001-07-25 15:23:19 +00:00
Nick Clifton
f7e42eb4af
Fix copyright notices
2001-03-08 23:24:26 +00:00
Kazu Hirata
30a2b4ef8f
2000-10-12 Kazu Hirata <kazu@hxi.com>
...
* app.c: Fix formatting.
* as.c: Likewise.
* as.h: Likewise.
* bit_fix.h: Likewise.
* cgen.c: Likewise.
* cgen.h: Likewise.
* cond.c: Likewise.
2000-10-11 20:24:32 +00:00
Kazu Hirata
3ee4defc44
2000-08-29 Kazu Hirata <kazu@hxi.com>
...
* app.c: Fix a comment typo. Fix formatting.
2000-08-30 03:51:46 +00:00
Alan Modra
4c400d5ea7
comment-finding hack for hppa-linux.
2000-07-28 05:05:20 +00:00
Alan Modra
63a0b638d4
Don't treat `;' as a line separator by default.
...
Explicitly mention `;' in line_separator_chars in each backend.
2000-06-09 00:00:04 +00:00
Jim Wilson
800eeca487
IA-64 ELF support.
2000-04-21 20:22:24 +00:00
Ian Lance Taylor
921615346f
* app.c: Add ATTRIBUTE_UNUSED as needed.
...
* config/tc-ppc.c: Likewise.
(ppc_size): Make unsigned long.
(ppc_insert_operand): Add casts to avoid warnings.
2000-04-02 06:27:51 +00:00
Alan Modra
abd63a324b
Remove dead code when not TC_M68K.
2000-02-24 01:56:31 +00:00
Alan Modra
5b93d8bb51
Add IBM 370 support.
2000-02-23 13:52:23 +00:00
Timothy Wall
f28e8eb3fd
New preprocessor options.
2000-02-10 21:00:10 +00:00
Andrew Haley
c5c834aac9
1999-11-08 Andrew Haley <aph@cygnus.com>
...
* app.c (do_scrub_chars): When in State 10, treat backslash
characters in the same way as as symbol characters.
1999-11-09 17:14:45 +00:00
Ian Lance Taylor
ab9da55419
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
...
as appropriate. Fill in structure initializations. Add variable
initializations. Add casts.
* dwarf2dbg.c (print_stats): Change i to size_t.
* listing.c (listing_listing): Change list_line to unsigned int.
1999-07-11 20:20:04 +00:00
Ian Lance Taylor
2b47531bf9
* app.c (input_buffer): New static variable.
...
(app_push): Save saved_input in allocated buffer.
(app_pop): Restored saved_input.
(do_scrub_chars): Change get parameter to take char * and int as
arguments. Change GET macro to pass input_buffer to get
function. Don't save input into allocated buffer.
* as.h (do_scrub_chars): Update declaration.
* input-file.c (input_file_get): Change to take char * and int.
Read data into passed in buffer. Remove static buffer.
* read.c (scrub_from_string): Change to take char * and int. Copy
data into passed in buffer.
1999-06-03 00:24:14 +00:00