3dbf33eeb4
* elf.c (assign_file_positions_for_segments): Don't adjust p_paddr
...
if p_paddr_valid is set.
(copy_private_bfd_data): New static function.
(_bfd_elf_copy_private_section_data): Call copy_private_bfd_data.
1995-11-29 20:04:17 +00:00
44ef8897da
* elf.c (assign_file_positions_for_segments): Fix case where extra
...
program headers were allocated.
1995-11-29 19:14:33 +00:00
27fb8f2933
* elf.c (_bfd_elf_print_private_bfd_data): New function.
...
* elf-bfd.h (_bfd_elf_print_private_bfd_data): Declare.
* elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define to
_bfd_elf_print_private_bfd_data.
1995-11-29 18:46:07 +00:00
77fa4d98a8
Fix -mrelocatable
1995-11-29 18:17:24 +00:00
5d85ec2d4e
* ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
1995-11-29 17:59:04 +00:00
64ecde4619
* coff-alpha.c (alpha_ecoff_swap_reloc_in): Don't abort if
...
r_symndx is RELOC_SECTION_NONE for an ALPHA_R_IGNORE reloc.
Change a RELOC_SECTION_LITA symndx to RELOC_SECTION_ABS.
(alpha_ecoff_swap_reloc_out): Change RELOC_SECTION_ABS to
RELOC_SECTION_LITA for ALPHA_R_IGNORE.
(alpha_adjust_reloc_out): For ALPHA_R_IGNORE, don't change
RELOC_SECTION_ABS to RELOC_SECTION_NONE.
1995-11-29 17:40:58 +00:00
2a3486d2f9
* configure.in: Don't configure gas for alpha-dec-osf*.
1995-11-29 17:09:41 +00:00
bbc6c9c129
Fix typo.
1995-11-29 03:36:46 +00:00
7c40dd08ee
* Makefile.in (target_subdir): Define.
...
(CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
* configure.in (X_CFLAGS): Fix typo.
(target_subdir): Set to "${target_alias}/" if cross.
* configure: Regenerated.
1995-11-29 03:35:35 +00:00
9c0bc1daf9
* Makefile.in (target_subdir): Define.
...
(CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
* configure.in (X_CFLAGS): Fix typo.
(target_subdir): Set to "${target_alias}/" if cross.
* configure.in: Regenerated.
1995-11-29 03:34:57 +00:00
799de4c4a0
* dlltool.c (fill_ordinals): Don't reference d_export_vec if
...
there are no exported functions.
1995-11-29 01:25:25 +00:00
4588619966
* dbxread.c (dbx_symfile_read): Set block_address_function_relative
...
for `pe' format files.
1995-11-28 23:45:17 +00:00
4f0ad91b9b
* configure.in: Default to --with-stabs for some targets for which
...
it makes sense: mips*-*-*, alpha*-*-osf*, i[345]86*-*-sysv4* and
i[345]86*-*-unixware*.
1995-11-28 22:15:27 +00:00
fd0198f023
* elf-bfd.h (struct elf_obj_tdata): Add segment_map field.
...
* elf.c (make_mapping): New static function.
(map_sections_to_segments): New static function.
(elf_sort_sections): New static function.
(assign_file_positions_for_segments): New static function.
(map_program_segments): Remove.
(get_program_header_size): Remove sorted_hdrs, count, and
maxpagesize parameters. Simplify.
(assign_file_positions_except_relocs): When generating an
executable, use assign_file_positions_for_segments.
(elf_sort_hdrs): Remove.
(_bfd_elf_sizeof_headers): Remove eliminated parameters from call
to get_program_header_size.
1995-11-28 22:02:13 +00:00
6d2d98d313
* internal.h (struct elf_segment_map): Define.
1995-11-28 21:55:33 +00:00
bfe8f51619
* magic.h: Renamed to gmagic.h to avoid <magic.h> conflict.
...
* magic.c: Renamed to gmagic.c in sympathy.
* eval.c, gmagic.c, config/tm-magic.h:
Include "gmagic.h" rather than "magic.h".
1995-11-28 19:33:22 +00:00
c6e4e83496
Various Thanksgiving weekend hacks: clean up hash table, reduce various
...
structure sizes, stabs string memory use cleanup, statistics dump.
1995-11-28 19:23:15 +00:00
6594d6b9c2
Clean up hash code, parameterize some actions, tweak some parameters. Hash
...
table entries, table allocation and control structure are larger now, but
collisions are reduced and string compares even further reduced.
Dump lots more statistics, especially hash code data, for --statistics. Dump
statistics even in error cases.
Details in ChangeLog.
1995-11-28 19:21:09 +00:00
da954cd7b6
Remove unused sy_name_offset from ELF_TARGET_SYMBOL_FIELDS.
1995-11-28 19:09:58 +00:00
cf644706d6
fix typo
1995-11-28 18:57:30 +00:00
290ad14a9d
Add determining when we do not have enough writeback slots; Do not do model specific handling if not printing out the information
1995-11-28 18:47:07 +00:00
5aca405826
* lexsup.c (parse_args): Set config.dynamic_link to false for -N
...
and -n.
1995-11-28 17:15:37 +00:00
70fc4ad384
Build again on SunOS; Make MODEL_INLINE default to 1 if inlining, not 2; Use __attribute__((const))
1995-11-27 22:54:40 +00:00
79e6c66069
* pr-5016.exp: xfail "whatis i" for alpha-osf-dec-osf2*, same as linux.
1995-11-27 22:44:38 +00:00
edc1ccab96
* gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
...
"bt in signals.exp".
* gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
"step over execarg initialization" and
"step over corearg initialization".
* gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1995-11-27 22:43:08 +00:00
585d15cde1
* binutils-all/objcopy.exp: Correct fail calls to always use the
...
same string as the pass call.
1995-11-27 20:16:37 +00:00
1ff0461b4e
* hp300hpux.c (MY(callback)): Set lma as well as vma.
1995-11-27 20:11:40 +00:00
4f351b156d
fix last change
1995-11-27 20:02:12 +00:00
12bfa0bcf5
* ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
...
* ld-srec/sr1.c (V_SPILL, V_FILL): Define.
* ld-srec/sr3.cc: Likewise.
1995-11-27 19:39:09 +00:00
f70c5b5618
* config-ml.in: Get list of multidirs using gcc --print-multi-lib
...
rather than basing it on the target. Simplify handling of options
controlling which directories to configure. Remove extraneous
slash in multi-clean target.
1995-11-27 18:50:31 +00:00
6a4667f4dc
* configure: Rebuild with autoconf 2.7.
1995-11-27 18:19:15 +00:00
bd22cd1e3f
* configure: Rebuild with autoconf 2.7.
1995-11-27 18:11:02 +00:00
390ddfdb61
* configure: Regenerate with autoconf 2.7.
1995-11-27 18:06:54 +00:00
80c8485c44
* configure, config.in: Regenerate with autoconf 2.7.
1995-11-27 18:02:58 +00:00
3b3f762596
* elf32-i386.c (elf_backend_plt_readonly): Set correctly, to 1.
...
* elf32-sparc.c (elf_backend_plt_readonly): Set correctly, to 0.
PR 8513.
1995-11-27 17:42:27 +00:00
d38644cd59
Left out of last cvs commit...
1995-11-25 20:27:38 +00:00
782445c7aa
From Rob Savoye (rob@poseidon.cygnus.com)
...
* Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in, configure.in},
gdb.disasm/{Makefile.in, configure.in}, gdb.stabs/{Makefile.in, configure.in},
gdb.threads/{Makefile.in, configure.in}: Major reworking for autoconfig.
* aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt : New files.
* config/unix-gdb.exp: Make GDB global.
* gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp, callfuncs.exp,
commands.exp, corefile.exp, crossload.exp, exprs.exp, funcargs.exp, interrupt.exp,
langs.exp, list.exp, mips_pro.exp, nodebug.exp, opaque.exp, printcmds.exp,
ptype.exp, recurse.exp, regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp,
signals.exp, term.exp, twice.exp, watchpoint.exp, whatis.exp},
gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp, templates.exp,
virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp, misc.exp, pr-4975.exp,
pr-5016.exp, pr-5020.exp, pr-5022.exp, pr-5646.exp, pr-5984.exp, pr-6292.exp,
pr-6632.exp, pr-8134.exp, pr-8136.exp, result.exp, string.exp, tuples.exp},
gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
to returns as necessary, arrange for test to compile own testcase executable.
* lib/gdb.exp: Changes for testsuite to compile own test cases.
From Fred Fish (fnf@cygnus.com )
* gdb.c++/classes.exp (test_pointers_to_class_members): Add
clear_xfail at end of test which might not call either pass or fail.
* gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
"backtrace through signal handler".
1995-11-25 19:55:29 +00:00
9b041f69fc
* mdebugread.c (handle_psymbol_enumerators, parse_symbol):
...
Recognize enums from alpha cc -migrate.
(upgrade_type): Pass correct fd to parse_symbol when parsing
the index type of an array.
(parse_procedure, parse_lines, psymtab_to_symtab_1): Handle
unsorted procedure descriptors from Irix 5.x and Alpha OSF/1-3.x
shared libraries. Use CORE_ADDR instead of `unsigned long' in
procedure descriptor address computations.
* symtab.c (decode_line_1): Prevent accidental strchr match
of a null character with the terminating null character of
gdb_completer_quote_characters.
(cplusplus_hint): Make sure that only a single quote is printed
in the hint message.
1995-11-25 11:32:18 +00:00
eade8e035c
Check lf_printf for type correctness
1995-11-25 06:08:56 +00:00
3d2f9d7c88
Make WITH_MODEL_ISSUE==0 not core dump
1995-11-25 05:56:28 +00:00
d87e370ba8
* scripttempl/pe.sc: Two .junk's is too much junk.
1995-11-25 02:37:58 +00:00
2a59259c98
* config-ml.in: Prefix more variables with ml_ so they don't collide
...
with configure's.
1995-11-25 01:40:05 +00:00
f2181eff5f
Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved
1995-11-25 01:35:14 +00:00
63caaafa5b
Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved
1995-11-25 01:34:26 +00:00
05ee0201d1
* top.c (recurse_read_control_structure): Don't make cleanups
...
here. Callers handle that correctly.
Fixes 6794.
1995-11-24 23:21:38 +00:00
45525d8d6d
Fix warnings to everything can be compiled with -Wall; Redo model specific changes once again to speed things up
1995-11-24 16:44:37 +00:00
46c065ab31
Count each type of conditional branch
1995-11-22 21:02:49 +00:00
20dec772cd
* dlltool.c (fill_ordinals): Start assigning ordinals at 1.
...
PR 8500.
1995-11-22 20:47:19 +00:00
a877f5917f
* ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section.
...
(ecoff_sec_to_styp_flags): Likewise.
(_bfd_ecoff_styp_to_sec_flags): Handle STYP_RCONST.
(ecoff_set_symbol_info): Handle scRConst.
(ecoff_slurp_reloc_table): Handle RELOC_SECTION_RCONST.
(ecoff_compute_section_file_positions): Handle .rconst section.
(_bfd_ecoff_write_object_contents): Likewise.
(ecoff_link_check_archive_element): Handle scRConst.
(ecoff_link_add_externals): Likewise.
(ecoff_link_write_external): Handle .rconst section.
(ecoff_reloc_link_order): Likewise.
* ecofflink.c (bfd_ecoff_debug_accumulate): Handle scRConst.
* coff-alpha.c (alpha_convert_external_reloc): Handle .rconst
section.
(alpha_relocate_section): Handle RELOC_SECTION_RCONST.
1995-11-22 19:01:43 +00:00
49c43d0201
* lib/utils-lib.exp (prune_system_crud): Discard -g -O warnings
...
from native compilers on OSF/1 and SunOS.
1995-11-22 18:19:43 +00:00