Andreas Schwab
2bdba6c9ec
* ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
...
* ld-shared/sh1.c: Fix typo.
1999-06-09 03:04:03 +00:00
Andreas Schwab
3026443322
* binutils-all/objdump.exp: Tighten regexp to match `objdump -i'
...
output to avoid massive exponential behaviour.
1999-06-09 03:01:26 +00:00
Andreas Schwab
148d3c43be
* readelf.c (dump_section): Cast bfd_vma values to [unsigned] long
...
for printing, in case it is wider than long.
(display_block): Likewise.
(read_and_display_attr): Likewise.
(decode_location_expression): Likewise. Don't depend on
evaluation order.
1999-06-09 02:44:17 +00:00
Jason Molenda
6027a0b892
import gdb-1999-06-07 snapshot
1999-06-08 02:18:01 +00:00
Richard Henderson
9d7428a9e3
* section.c (_bfd_strip_section_from_output): Remove output
...
sections with no initial link_order.
1999-06-07 23:22:00 +00:00
Jason Molenda
cce74817d9
import gdb-1999-06-07 snapshot
1999-06-07 19:19:32 +00:00
Richard Henderson
eb858bb431
Typo.
1999-06-07 12:54:17 +00:00
Richard Henderson
63fab58c7d
Jakub Jelinek <jj@ultra.linux.cz>
...
* config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
Optimize set if sizeof(bfd_vma) == 64.
(sparc_ip): Fix sethi - without %hi() it should generate
R_SPARC_32 reloc, not R_SPARC_HI22.
(tc_gen_reloc): Handle BFD_RELOC_SPARC22.
1999-06-07 12:53:56 +00:00
Richard Henderson
440034c99f
Jakub Jelinek <jj@ultra.linux.cz>
...
* sparc-opc.c: Fix up set, setsw, setuw operand kinds.
Support signx %reg, clruw %reg.
1999-06-07 12:44:48 +00:00
Richard Henderson
cf9a13018b
Jakub Jelinek <jj@ultra.linux.cz>
...
* config/tc-sparc.c (md_begin): Handle native wordsize aliases.
(s_ncons): New function.
(native_op_table): New table.
(sparc_ip): Be more strict on %hi() etc.; prepare assembler for
R_SPARC_OLO10 handling.
1999-06-07 12:40:36 +00:00
Richard Henderson
bed2c8562a
Jakub Jelinek <jj@ultra.linux.cz>
...
* sparc-opc.c: Add aliases Solaris as supports.
1999-06-07 12:26:46 +00:00
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