Tom Tromey
48401fcf8c
* Many files: Added gettext invocations around user-visible
...
strings.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* dep-in.sed: Added asintl.h.
* po/Make-in: New file.
* gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
Include "asintl.h".
* read.c (Z_): Renamed from `_'.
* Makefile.am (SUBDIRS): Added po.
(POTFILES): new macro.
(po/POTFILES.in): New target.
($(OBJS)): Added asintl.h.
(HFILES): Likewise.
(INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
(as_new_LDADD): Added $(INTLLIBS).
(as_new_DEPENDENCIES): Added $(INTLDEPS).
(gasp_new_LDADD): Added $(INTLLIBS).
(gasp_new_DEPENDENCIES): New macro.
* configure, aclocal.m4: Rebuilt.
* configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
po/Makefile.
(ALL_LINGUAS): Define.
* macro.c: Include "asintl.h".
* as.c (main): Call setlocale, bindtextdomain, and textdomain.
* as.h: Include "asintl.h".
* config/tc-i386.c (ordinal_names): Removed.
(md_assemble): Changed error text to avoid ordinal_names.
(i386_operand): Likewise.
(reloc): Added as_bad to avoid i18n problems.
(tc_gen_reloc): Likewise.
* config/tc-arm.c (bad_args): Now a #define.
(bad_pc): Likewise.
* config/obj-vms.c (VMS_stab_parse): Changed type of
`long_const_msg'.
(global_symbol_directory): Unified strings to avoid i18n
problems.
* config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
avoid i18n problems.
* config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
* config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
i18n problems.
* config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
problems.
start-sanitize-v850
* config/tc-v850.c (md_assemble): Changed C++ comment into C
comment.
end-sanitize-v850
* config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
problems.
* as.c (print_version_id): Added an fprintf to avoid i18n
problems.
* cond.c (cond_finish_check): Added as_bad call to avoid i18n
problems.
* expr.c (expr): Added as_warn call to avoid i18n problems.
* messages.c (as_assert): Changed code to avoid i18n problems.
(as_abort): Likewise.
* read.c (pseudo_set): Added as_bad call to avoid i18n problems.
(s_space): Likewise.
* po/Make-in, po/POTFILES.in, po/gas.pot: New files.
1998-04-22 06:10:03 +00:00
Richard Henderson
9db4b37c3f
* tc-ppc.c (ppc_biei): Cache the last symbol we inserted
...
so we don't have to scan the entire list.
1998-02-20 06:27:12 +00:00
Ian Lance Taylor
e59390a7eb
* config/tc-ppc.c (md_assemble): When handling @l, always sign
...
extend if the operand expects a signed value.
PR 13667.
1997-10-24 21:29:10 +00:00
Ian Lance Taylor
3a0358617e
* config/tc-ppc.c (ppc_insert_operand): In 32 bit mode, with a
...
signed operand, sign extend a 32 bit value to the host size.
Permits dubious usage like
addi %r6,%r6,0xfffffeff
to assemble on a 64 bit host as it does on a 32 bit host.
1997-06-16 20:09:35 +00:00
Ian Lance Taylor
fbd929fd05
* config/tc-ppc.c (md_pseudo_table): If OBJ_XCOFF, add "long",
...
"word", and "short".
(ppc_xcoff_cons): New static function.
1997-01-31 19:57:31 +00:00
Michael Meissner
8b1e9f129b
Allow foo@suffix+constant relocations
1996-12-04 15:42:14 +00:00
Michael Meissner
b61802e7cb
Add -m{,no-}solaris support to enable/disable solaris comments & setting ppc flags
1996-12-04 04:26:04 +00:00
Michael Meissner
f8a011cfa5
Turn most warnings into errors
1996-10-10 21:26:59 +00:00
Michael Meissner
10c9620d4e
Recognize and handle -K PIC
1996-07-13 00:54:55 +00:00
Ian Lance Taylor
996e146fd6
* config/tc-ppc.c (md_apply_fix3): Give a useful error message
...
when an unsupported PC relative reloc is seen, rather than calling
abort.
PR 10073.
1996-07-10 04:26:38 +00:00
Michael Meissner
d0e1c80348
Make ! a comment character
1996-05-30 19:22:16 +00:00
Michael Meissner
e30c00760c
Add better defaults for AIX3, AIX4
1996-05-24 22:10:52 +00:00
Michael Meissner
47d12b2ce0
Add -le/-be/-s from Solaris.
1996-04-18 15:56:03 +00:00
Michael Meissner
159e6ef88f
Add -m{,no-}regnames support; Add Solaris/linux support
1996-04-16 14:41:45 +00:00
Ian Lance Taylor
bf4b090cec
update copyright
1996-01-22 17:23:09 +00:00
Ian Lance Taylor
07ce72c9bb
* config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
...
XMC_PR.
1996-01-22 16:53:42 +00:00
Michael Meissner
d971d39e46
Add support for eabi relocations and sections
1996-01-22 16:02:29 +00:00
Kim Knuttila
0291f0f543
Changed alignment on .pdata and .reldata
1996-01-18 23:03:48 +00:00
Michael Meissner
c682be533c
Add more relocation suffixes
1996-01-15 22:46:10 +00:00
Michael Meissner
ee4fdbb93d
Allow .gcc_except_table to have unfixed pointers with -mrelocatable
1996-01-15 02:34:07 +00:00
Michael Meissner
747b98fe5d
Make elf section functions ELF specific
1996-01-13 16:10:33 +00:00
Michael Meissner
f99d287b2a
Add support for exclude section flag and ordered section type
1996-01-12 20:35:38 +00:00
Kim Knuttila
531a1af274
idata alignment in .s files
1995-11-30 18:47:11 +00:00
Michael Meissner
77fa4d98a8
Fix -mrelocatable
1995-11-29 18:17:24 +00:00
Ian Lance Taylor
520dd8d5d9
* config/tc-ppc.c (ppc_debug_name_section_size): Remove.
...
(ppc_stabx): Don't increment ppc_debug_name_section_size.
(ppc_bc): Likewise.
(ppc_frob_file): Remove.
* config/tc-ppc.h (tc_frob_file): Don't define.
(ppc_frob_file): Don't declare.
1995-11-20 22:27:49 +00:00
Ian Lance Taylor
a3d1c56107
* config/tc-ppc.c (ppc_biei): Force symbol into text_section.
1995-11-05 04:54:52 +00:00
Ian Lance Taylor
df7504dc52
* config/tc-ppc.c (md_show_usage): Put backslash at end of line.
1995-11-04 05:52:15 +00:00
Ian Lance Taylor
b629f62767
* config/tc-ppc.c (ppc_lglobl): Do the right thing.
1995-11-01 00:00:47 +00:00
Ian Lance Taylor
7ab1edc8f0
* config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
...
(ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
(ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
* config/obj-coff.c (coff_frob_symbol): Don't call
SA_SET_SYM_ENDNDX with the current symbol; call it with the next
one. If OBJ_XCOFF, try to figure out whether the symbol is going
to be dropped.
1995-10-31 22:55:22 +00:00
Ian Lance Taylor
0e3dd9a071
* config/tc-ppc.c (ppc_frob_symbol): Set BSF_NOT_AT_END for
...
symbols with csect aux entries.
1995-10-31 20:22:04 +00:00
Ian Lance Taylor
31751d9d3e
* config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
...
(ppc_stab_symbol): New static variable.
(ppc_change_csect): Check that ppc_toc_csect is not NULL.
(ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
sy_tc.real_name to the stab string.
(ppc_bc, ppc_ec): New static functions.
(ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
do anything.
(ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
suffix.
1995-10-31 19:16:02 +00:00
Ian Lance Taylor
df72d2a576
* config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
...
(ppc_csect): Move most of the code to ppc_change_csect, and call
it.
(ppc_change_csect): New static function, taken from ppc_csect.
(ppc_section): New static function.
(ppc_saw_abs): New static varable.
(ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
a symbol has no csect.
(ppc_adjust_symtab): New function.
* config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
(ppc_adjust_symtab): Declare if OBJ_XCOFF.
1995-10-28 05:50:14 +00:00
Michael Meissner
96fe71e1d5
Fix PR 8255
1995-10-24 18:59:05 +00:00
Michael Meissner
42b5ed2dfc
Fix last fixes #3
1995-10-16 11:44:45 +00:00
Michael Meissner
653b59c8a6
Fix last fixes #2
1995-10-16 11:35:05 +00:00
Michael Meissner
17e2f77408
Fix last fixes
1995-10-16 11:23:34 +00:00
Michael Meissner
9f2c8daa27
Change error message
1995-10-16 11:18:23 +00:00
Michael Meissner
b6b8f91187
Allow duplicate cmp instructions for -mcom
1995-10-16 11:10:22 +00:00
Michael Meissner
27ec941d72
spelling typo
1995-10-16 10:34:21 +00:00
Michael Meissner
958e09079d
For -mcom, do not allow only POWER|PPC instructions.
1995-10-16 10:27:49 +00:00
Michael Meissner
4c2935f4c0
Add -mcom support.
1995-10-16 02:09:01 +00:00
Kim Knuttila
ca0bd54f8d
Better parsing, tocd, tocv started
1995-10-04 21:02:22 +00:00
Ian Lance Taylor
cd557d83d6
* config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
...
an absolute symbol.
1995-10-04 18:05:59 +00:00
Ian Lance Taylor
11b072f46c
* config/tc-ppc.h (tc_fix_adjustable): Define.
...
(ppc_pe_fix_adjustable): Declare.
* config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
1995-09-28 16:17:53 +00:00
Ian Lance Taylor
18c9057f2b
* config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE.
...
Change OBJ_COFF checks to check OBJ_XCOFF instead.
(TARGET_FORMAT): Fully parenthesize.
(LEX_QM): Define if TE_PE.
* config/tc-ppc.c: Replace OBJ_COFF by OBJ_XCOFF throughout.
Remove checks of TE_PE within #ifdef OBJ_XCOFF sections.
(init_regtable): Make i unsigned.
(ppc_set_current_section): Rename from setCurrentSection. Change
all callers.
(ppc_arch): Return after as_fatal to avoid gcc warning.
(md_assemble): Only declare reloc if OBJ_ELF. Add default to
switch on fixups[i].reloc to avoid gcc warning.
(IMAGE_SGN_LNK_OTHER): Fix nested comment.
(ppc_pe_function): Don't call ppc_canonicalize_symbol_name.
(ppc_frob_symbol): Remove TE_PE section checks.
(md_estimate_size_before_relax): Return after abort to avoid gcc
warning.
(md_apply_fix3): Add BFD_RELOC_16_GOT_PCREL to switch.
* read.c (LEX_QM): Define as 0 if not defined.
(lex_type): Use LEX_QM for '?'.
1995-09-27 19:02:16 +00:00
Kim Knuttila
943dbfb8e8
Added back some missing code @ diff tc-ppc.c
1995-09-27 16:03:36 +00:00
Michael Meissner
0e31d0ce8a
Undo md_apply_fix3 changes
1995-09-27 15:37:54 +00:00
Kim Knuttila
1f7cc434dc
Added assembler support for ppc/PE environments
1995-09-27 14:48:45 +00:00
Michael Meissner
65c91be516
Support all of the V.4 relocations
1995-09-26 19:17:10 +00:00
Michael Meissner
4ecbc1efea
Better reloc support
1995-09-25 20:15:13 +00:00