Commit graph

24946 commits

Author SHA1 Message Date
Nick Clifton
3c82f80fc0 Define ELF_MAXPAGESIZE 1999-06-07 10:27:21 +00:00
Richard Henderson
bf29b23178 * expr.h (struct expressionS): Revert last change; widen X_op.
* config/tc-alpha.c (md_begin): Check the field is wide enough.
1999-06-07 10:23:47 +00:00
Andreas Schwab
32a5c94a56 * windres.c (usage): Fix typo. 1999-06-07 03:16:55 +00:00
Andreas Schwab
71f221746a * Makefile.am (CFILES): Add arc-{dis,opc}.c and v850-{dis,opc}.c.
* Makefile.in: Regenerated.
1999-06-07 03:06:39 +00:00
Andreas Schwab
a4835b426a * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
(TARGET_CPU_HFILES): Add config/tc-fr30.h.
	(TARG_ENV_HFILES): Add config/te-epoc-pe.h.
	* Makefile.in: Regenerated.
1999-06-07 02:58:53 +00:00
Andreas Schwab
eb519dff86 * Makefile.am (SOURCE_HFILES): Add missing headers.
* Makefile.in: Regenerated.
1999-06-07 02:51:40 +00:00
Andreas Schwab
9be1cda6a5 * config/obj-elf.c (obj_elf_common): In MRI mode if called as
`common' pass on to s_mri_common.
	(elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
1999-06-07 02:28:54 +00:00
Mark Mitchell
7f7e7b689c * elf32-mips.c (_bfd_mips_elf_print_private_data): Recognize
the N32 ABI.
1999-06-06 22:31:46 +00:00
Richard Henderson
623356292c * config/obj-elf.c (obj_elf_section): Don't free the return
value of demand_copy_C_string.
1999-06-06 00:09:50 +00:00
Richard Henderson
9de8d8f184 * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
creation logic from obj_elf_create_section.
        * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
        (section_stack): New.
        (special_sections): Make const.
        (obj_elf_section): Gut and rewrite parsing.
        (obj_elf_change_section): New function broken out of obj_elf_section.
        (obj_elf_parse_section_letters): Likewise.
        (obj_elf_section_word): Likewise.
        (obj_elf_section_type): Likewise.
        (obj_elf_previous): Treat as a toggle.
        (obj_elf_popsection): New.
        * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
        (ppc_section_type): Likewise.
        * config/tc-ppc.h: Likewise.
        * expr.h (struct expressionS): Don't make X_op a bitfield.
        * config/tc-alpha.c: Update for symbol handling changes.
        (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
        (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
1999-06-05 23:15:34 +00:00
Richard Henderson
9894490542 * gas/elf/elf.exp: New directory.
* gas/elf/section0.[sd]: New test.
        * gas/elf/section1.[sd]: New test.
1999-06-05 23:14:42 +00:00
Richard Henderson
58b5739a4e * dwarf2dbg.c (*): Convert to K&R + prototypes.
(dwarf2_gen_line_info): Kill unused variables.
        (dwarf2_finish): Likewise.
        (dwarf2_where): Likewise.
        (dwarf2_directive_file): If we've only got a string,
        hand off to s_app_file.
        * ecoff.c: Move the include of ecoff.h.
        * symbols.h (S_IS_FUNCTION): Prototype.
        * read.c (LEX_HASH): Supply a default.
        (lex_type): Use it.
        (s_globl): Update `c' after skipping whitespace.
        * read.h (LEX_END_NAME, is_name_ender): New.
        * expr.c (get_symbol_end): Respect it.
1999-06-05 18:19:09 +00:00
Ian Lance Taylor
993142d5a4 1999-06-04 Mark Klein <mklein@dis.com>
* config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
	to real if OBJ_SOM
	(tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
1999-06-04 21:08:54 +00:00
Ian Lance Taylor
77e0b0efdb 1999-06-04 H.J. Lu <hjl@gnu.org>
* lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
	necessary.
1999-06-04 20:49:14 +00:00
Richard Henderson
dc1bc0c9a5 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* elf32-ppc.c (ppc_elf_relocate_section): Don't barf on out of
        range undefweak symbols.
        * hash.c: Add missing comma after @xref{}
        * linker.c: Likewise.
1999-06-04 13:25:23 +00:00
Nick Clifton
79e5982fed Define ELF_MAXPAGESIZE for all ELF based ports.
Produce an error message of ELF_MAXPAGESIZE is not defined.
1999-06-04 12:45:07 +00:00
Ian Lance Taylor
4a54b4654d * Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Add dwarf1.lo.
	(BFD32_BACKENDS_CFILES): Add dwarf1.c.
	* Makefile.in: Rebuild.
1999-06-04 12:00:31 +00:00
Nick Clifton
1993627733 Use 64bit wide values in internal fields.
Check symbol index against number of symbols when displaying relocations
1999-06-04 11:33:32 +00:00
Ian Lance Taylor
398e8c258a 1999-06-04 Mark Klein <mklein@dis.com>
* config/tc-hppa.c: Update for symbol handling changes.
1999-06-04 10:46:25 +00:00
Nick Clifton
9ea033b2df Add support for 64 bit ELF files. 1999-06-04 08:13:04 +00:00
Nick Clifton
7714a18c89 oops - omitted from previous delta 1999-06-04 07:42:55 +00:00
Nick Clifton
434d1125a3 Rename epoc-pe interworking function names to avoid a name space clash 1999-06-04 07:40:35 +00:00
Nick Clifton
10ab5357b1 Rename epoc-pe interworking function names to avoid a name space clash.
Add epoc-pe to built targets.
1999-06-04 07:39:48 +00:00
Nick Clifton
306b7445e1 Add mcore target 1999-06-04 07:20:18 +00:00
Nick Clifton
886796f9fa Make LDRH/LDRB consistent with LDR when target is PC-relative 1999-06-04 07:14:10 +00:00
Nick Clifton
5164c3826e Update to match current gas,bfd and opcodes. 1999-06-04 07:12:40 +00:00
Nick Clifton
dece465892 (ELF_MAXPAGESIZE): Default to 0x1000 not 1 1999-06-04 06:35:04 +00:00
Andreas Schwab
a9d024b8b0 * elf.c (elf_fake_sections): Undo change of 1999-05-10. 1999-06-04 01:07:38 +00:00
Joern Rennecke
06e1ba78a0 * elf32-sh.c (sh_elf_relax_delete_bytes): Fix setting of
start / stop for recalculating of r_addend of R_SH_SWITCH*.
1999-06-03 19:12:54 +00:00
Joern Rennecke
084aa3aa9f * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH32
in other text sections.
1999-06-03 18:54:32 +00:00
Joern Rennecke
875f7f6940 * libbfd.c (_bfd_generic_verify_endian_match): New function.
* libbfd-in.h (_bfd_generic_verify_endian_match): Declare.
	* libbfd.h: Regenerate.
	* coff-sh.c (sh_merge_private_data): Delete.
	(coff_bfd_merge_private_bfd_data): Change to
	_bfd_generic_verify_endian_match.
	(elf32-sh.c): bfd_elf32_bfd_merge_private_bfd_data: Define.
1999-06-03 18:48:24 +00:00
Nick Clifton
762100ed56 Use macros to hold names of temporary files. 1999-06-03 13:22:45 +00:00
Ian Lance Taylor
080e41e66b * cgen.c: Update for symbol handling changes. 1999-06-03 12:51:21 +00:00
Ulrich Drepper
6a9d5c9a12 Update. 1999-06-03 12:46:39 +00:00
Ian Lance Taylor
f412ead8f6 * config/tc-m32r.c: Update for symbol handling changes. 1999-06-03 12:46:26 +00:00
Ulrich Drepper
f21f3fe0b8 Fix typo: change ELF_MAXPAGE_SIZE to ELF_MAXPAGESIZE. 1999-06-03 12:46:15 +00:00
Ian Lance Taylor
a0f75b47e9 * config/tc-hppa.h: Update for symbol handling changes.
* config/tc-hppa.c: Likewise.
1999-06-03 12:42:36 +00:00
Ian Lance Taylor
174419c123 * config/tc-arm.h: Update for symbol handling changes.
* config/tc-arm.c: Likewise.
	(symbol_make_empty): Remove.  Just use symbol_create.
1999-06-03 09:50:01 +00:00
Ian Lance Taylor
bf27257ea6 * symbols.c (symbol_set_tc): Correct name. 1999-06-03 09:49:04 +00:00
Ian Lance Taylor
a3e38ad3ed * bfd-in.h (bfd_elf32_arm_allocate_interworking_sections): Correct
prototype.
	(bfd_elf32_arm_process_before_allocation): Likewise.
	* bfd-in2.h: Rebuild.
1999-06-03 09:21:53 +00:00
Ian Lance Taylor
6104f0a06c * Makefile.am: Rebuild dependencies.
($(OBJS)): Don't depend upon struc-symbol.h.
	(.dep1, .tcdep, .objdep): Create itbl-parse.h.
	* dep-in.sed: Don't remove struc-symbol.h.
	* Makefile.in: Rebuild.
1999-06-03 09:06:24 +00:00
Ian Lance Taylor
b401371382 * doc/internals.texi (Symbols): Describe changes in symbol
handling.
1999-06-03 08:44:04 +00:00
Ian Lance Taylor
348a348349 * common.h (EM_PPC64): Define. 1999-06-03 08:20:07 +00:00
Richard Henderson
e0a2c38a7b Update. 1999-06-03 03:26:53 +00:00
Richard Henderson
c6e94b2767 * internal.h (BEOS_EXE_IMAGE_BASE, BEOS_DLL_IMAGE_BASE): New. 1999-06-03 03:26:17 +00:00
Richard Henderson
ac50fedaa4 Update. 1999-06-03 03:20:40 +00:00
Richard Henderson
6576f0b52a * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
instead of doing the work by hand.
1999-06-03 03:20:21 +00:00
Richard Henderson
fac0d250c7 * as.c (parse_args): Add option -gdwarf2 to allow requesting
DWARF2 debug info (line information only, at this point).
        * as.h: Update comment about supported debug formats.
        * dwarf2dbg.c, dwarf2dbg.h: New files.
        * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
1999-06-03 02:51:53 +00:00
Richard Henderson
b585bc2c0a * expr.c (operand): Don't use [ for parens if we want an index op.
(op_encoding): Switch [ into O_index, if desired.
        (op_rank): Renumber with O_index on bottom.
        (expr): If O_index, match closing bracket.
        * expr.h (O_index): New.
1999-06-03 02:51:27 +00:00
Richard Henderson
1c32af2255 * read.c (read_a_source_file): Conditionally allow matched "
in lines passed to md_assemble.
1999-06-03 02:51:09 +00:00