Fred Fish
d98dd64ec0
* gdbint.texinfo (Releases): Change gdb.tar.Z to gdb.tar.gz.
...
Fix typo.
1995-12-09 05:10:21 +00:00
Ian Lance Taylor
010d9f2d13
* elflink.h (elf_link_add_object_symbols): Set section_count to 0
...
when setting sections to NULL.
PR 8600.
1995-12-08 22:47:28 +00:00
Wilfried Moser
7609ecebac
* builtins.ch, builtins.exp, Makefile.in: New test case.
1995-12-07 13:18:08 +00:00
Ian Lance Taylor
2f3bbb1b70
* config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
1995-12-07 02:04:14 +00:00
Stan Shebs
e7db3d77d0
Always keep the newly-added configure scripts.
1995-12-07 01:37:31 +00:00
Stan Shebs
3e19d545fb
Keep ch-exp.c, not ch-exp.y now.
1995-12-07 01:28:34 +00:00
Ian Lance Taylor
9430b93365
* emultempl/aix.em (unix_ld): New static variable.
...
(gld${EMULATION_NAME}_parse_args): Handle -unix.
(gld${EMULATION_NAME}_before_allocation): If unix_ld, pass
gc as false and export_defineds as true to size_dynamic_sections.
PR 8606.
1995-12-07 01:12:30 +00:00
Ian Lance Taylor
4a4a66bdc9
* xcofflink.c (struct xcoff_loader_info): Add export_defineds
...
field.
(bfd_xcoff_size_dynamic_sections): Add export_defineds parameter.
(xcoff_build_ldsyms): If export_defineds is set, set XCOFF_EXPORT
for all symbols.
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration.
* bfd-in2.h: Rebuild.
1995-12-07 01:08:54 +00:00
Stu Grossman
4c5bc9f44c
* remote-mips.c (mips_receive_header): Allow mips_syn_garbage to be
...
user-settable (via set syn-garbage-limit). Setting it to -1 makes
it unlimited.
1995-12-07 00:21:51 +00:00
David Edelsohn
95b3cb6b45
* emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix
...
call to sort_sections.
1995-12-06 22:41:10 +00:00
David Edelsohn
e8bb9a12d7
* ldlang.c (print_statement{,s}): Delete duplicate prototype.
...
(print_statement_list): Renamed from print_statement. All callers
updated.
(print_statement): New function to print just one statement.
(print_{data,reloc,padding}_statement): Don't crash if
output_section == NULL.
(dprint_statement): New function.
1995-12-06 22:38:14 +00:00
Ian Lance Taylor
0421503301
* ldexp.c (exp_fold_tree): Permit assignments to dot in the final
...
phase if the current section is abs_output_section.
PR 8605.
1995-12-06 19:58:05 +00:00
Brendan Kehoe
e045712fa8
* gdbtypes.c (check_stub_method): Make sure we get back a function
...
string in the demangled name before we try to use it.
fixes gdb/8306 (Mentor, ser/med)
1995-12-06 02:34:53 +00:00
Stu Grossman
67e218392f
* monitor.c (monitor_expect_regexp): Make static, add prototype.
...
* (monitor_read_memory_single): Call monitor_expect_regexp with
pointer to getmem_resp_delim_pattern, not entire struct.
1995-12-06 02:13:00 +00:00
Stan Shebs
faa077a592
* c-lang.h (c_op_print_tab): Don't declare, some compilers
...
consider illegal if structure not defined, and only used
in c-lang.c anyway.
1995-12-06 01:33:49 +00:00
Ken Raeburn
624c91d1e7
* read.c (s_fill): If md_flush_pending_output is defined, call it.
1995-12-05 22:28:25 +00:00
Stan Shebs
211eda6694
From David Mosberger-Tang <davidm@azstarnet.com>:
...
* alpha-dis.c (print_insn_alpha): fixed decoding of cpys
instruction.
1995-12-05 21:55:18 +00:00
Wilfried Moser
29ba0f2876
* tests2.exp: Add compiling of the test case.
1995-12-05 09:52:45 +00:00
David Edelsohn
eedc864a72
Fix .idata doc bug.
1995-12-05 03:57:07 +00:00
David Edelsohn
e503032eb1
Document the .idata section.
1995-12-05 03:36:11 +00:00
Ken Raeburn
9e4b3a2329
* config/obj-coff.c (size_section, fill_section, fixup_mdeps): Treat
...
rs_align_code like rs_align.
1995-12-04 23:11:02 +00:00
Ian Lance Taylor
55cac92082
* ihex.c (ihex_scan): Handle record types 4 and 5.
...
(ihex_object_p): Permit types 4 and 5.
(ihex_set_section_contents): Remove check for out of range
addresses.
(ihex_write_object_contents): Generate types 4 and 5.
1995-12-04 22:08:45 +00:00
Kim Knuttila
545bf026d5
Removed some debugging prints. duh
1995-12-04 21:47:37 +00:00
Stan Shebs
4ac27a602f
* mpw-configure: Add support for exec-prefix.
1995-12-04 20:48:19 +00:00
J.T. Conklin
60da007931
* sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
...
(sh_table): Added many SH3 opcodes.
* sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
1995-12-04 20:32:44 +00:00
J.T. Conklin
2434e38489
* gencode.c (tab): Added several sh3 opcodes.
...
(think): Added printonmatch for A_SSR and A_SPC.
* interp.c (SSR, SPC): Added definitions.
(saved_state_type): Added ssr and spc registers.
1995-12-04 20:27:38 +00:00
Jeff Law
ebf7305276
* config.guess: Recognize HP model 816 machines as having
...
a PA1.1 processor.
Already at the FSF.
1995-12-04 18:19:32 +00:00
Ian Lance Taylor
c222f1246f
* configure: Ignore new autoconf configure options.
1995-12-04 17:34:36 +00:00
Ian Lance Taylor
1f4ae0d6b1
* elflink.h (elf_link_output_extsym): Just ignore warning and
...
indirect references to symbols which don't really exist.
1995-12-04 16:23:36 +00:00
Kim Knuttila
53d45489e3
Dumper for PowerPC .edata section
1995-12-04 01:58:54 +00:00
David Edelsohn
361e8876a0
* aout-arm.c (MY_swap_std_reloc_out): Use KEEPIT to get the symbol
...
index, don't call stoi.
1995-12-03 23:29:09 +00:00
David Edelsohn
3554987a2f
* config/tc-arm.c (cp_address_required_here): Set pre_inc when
...
converting an absolute address into a PC-relative one.
1995-12-03 23:26:32 +00:00
Stan Shebs
204c73d82e
Edit out GM-specific bits from files.
1995-12-03 22:11:25 +00:00
Per Bothner
a56c9325ec
* eval.c (evaluate_subexp_standard case): Fix typo.
1995-12-03 20:32:55 +00:00
Jeff Law
f9384420ae
* ch-exp.c (parse_named_record_element): Avoid aggregrate
...
initializations for automatic variables.
* hppa-tdep.c (hppa_alignof): Fix typo in last change.
Fixes minor build problems.
1995-12-03 19:59:21 +00:00
Fred Fish
dee7a11cd2
* symfile.c (global_psymbols, static_psymbols): Remove, unused.
1995-12-03 03:34:55 +00:00
Peter Schauer
82a38509d8
* alpha-tdep.c (heuristic_proc_desc): Add heuristic to
...
determine the return address register, needed for OSF/1-3.2C.
* config/alpha/tm-alpha.h (T7_REGNUM, T9_REGNUM): Define.
1995-12-02 11:08:20 +00:00
Ian Lance Taylor
6ceb561287
* ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
1995-12-02 06:17:46 +00:00
Ian Lance Taylor
ffd1548911
* ihex.c: New file; support for Intel Hex format.
...
* targets.c (enum bfd_flavour): Add bfd_target_ihex_flavour.
(ihex_vec): Declare.
(bfd_target_vector): Always include ihex_vec.
* bfd.c (struct _bfd): Add ihex_data field to tdata union.
* Makefile.in: Rebuild dependencies.
(BFD_LIBS): Add ihex.o
(BFD_LIBS_CFILES): Add ihex.c.
* bfd-in2.h: Rebuild.
1995-12-02 02:00:08 +00:00
Ian Lance Taylor
55ae43ab3a
* srec.c (srec_scan): Set lma as well as vma.
1995-12-02 01:59:20 +00:00
Michael Meissner
98a2c9d2ea
Fix typo; some progress in ppcbug support
1995-12-02 01:14:06 +00:00
Per Bothner
5be700fd21
Ooops. Fix to work with new scheme (where runtest invokes the compiler).
1995-12-01 22:50:47 +00:00
Stan Shebs
67e69d7e9e
* mpw-make.sed (install, install-only): Edit in Mac-specific
...
install procedure.
1995-12-01 22:44:24 +00:00
Stan Shebs
90f543f684
* mpw-config.in: Don't always use te-generic.h for emulation.
...
(powerpc-apple-macos): Use emulation te-macos.h.
start-sanitize-gm
(mips-gm-magic): New configuration.
end-sanitize-gm
* mpw-make.sed (install, install-only): Edit in Mac-specific
install procedure.
1995-12-01 22:40:56 +00:00
Per Bothner
e300da1c7d
* pr-8405.ch, pr-8405.exp, Makefile.in: New test case.
1995-12-01 22:17:42 +00:00
Ian Lance Taylor
061e65f855
* ldgram.y (PHDRS): New token.
...
(ifile_p1): Accept phdrs.
(section): Accept phdr_opt at the end of the section definition.
(phdr_op): New nonterminal.
(phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise.
* ldlex.l: Accept PHDRS.
* ldlang.h (struct lang_output_section_phdr_list): Define.
(lang_output_section_statement_type): Add phdrs field.
(struct lang_phdr): Define.
(LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define.
(lang_new_phdr): Declare.
* ldlang.c (lang_phdr_list): New static variable.
(lang_output_section_statement_lookup): Initialize phdrs field.
(lang_process): Call lang_record_phdrs.
(lang_new_phdr): New function.
(lang_section_in_phdr): New function.
(lang_record_phdrs): New static function.
* ld.texinfo: Document PHDRS.
1995-12-01 21:49:51 +00:00
Ian Lance Taylor
ae0a6bea51
* bfd.c (bfd_record_phdr): New function.
...
* bfd-in.h (bfd_record_phdr): Declare.
* bfd_in2.h: Rebuild.
1995-12-01 21:45:33 +00:00
Ian Lance Taylor
3b95078004
* elf.c (assign_file_positions_for_segments): Sort the sections in
...
each segment.
(get_program_header_size): Return the right size if segment_map is
not NULL.
(copy_private_bfd_data): Don't bother to sort the sections.
1995-12-01 21:44:38 +00:00
Ian Lance Taylor
ce0ee4bf49
* elf32-sparc.c (elf32_sparc_relocate_section): Remove bogus
...
BFD_ASSERT.
PR 8562.
1995-12-01 20:59:10 +00:00
Ian Lance Taylor
58142f101d
* libbfd.c (bfd_malloc, bfd_realloc): New functions.
...
(bfd_zmalloc): Return PTR, not char *. Take size_t, not
bfd_size_type.
* libbfd-in.h (bfd_malloc, bfd_realloc): Declare.
(bfd_zmalloc): Change declaration.
* libbfd.h: Rebuild.
* Many files: Use bfd_malloc and bfd_realloc rather than malloc
and realloc. Don't set bfd_error_no_memory if they fail.
1995-12-01 19:48:10 +00:00