aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-02-10 * config/tc-ia64.h (md_elf_section_type): New macro.Richard Henderson3-62/+246
(ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info (they're now handled via ia64_elf_section_type. * config/tc-ia64.c (unwind): New members saved_text_seg, saved_text_subseg, and force_unwind_entry. (optimize_unw_records): New function to optimize away unnecessary unwind directives. (ia64_elf_section_type): New function. (output_unw_records): Generate unwind info only if the size is non-zero or if it's forced for some other reason (e.g., handlerdata or a personality routine). (generate_unwind_image): Don't switch back to previous section---stay inside the unwind info section instead so that handlerdata that may follow goes into the right place. (dot_handlerdata): Force generation of unwind entry and save the current active text segment before generating unwind image. (dot_unwentry): Force generation of unwind entry. (dot_personality): Ditto. (dot_endp): Generate unwind table entry only if there is some unwind info or the unwind entry was forced. * config/tc-ia64.c (make_unw_section_name): New macro to form unwind section name. (generate_unwind_image): Add "text_name" argument. Use it to form unwind section name. (dot_handlerdata): Determine current segment (section) name and pass it to generate_unwind_image(). (dot_endp): Determine current segment (section) name and use it to determine the appropriate unwind section name. (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to n, fill, and max arguments.
2001-02-10 * elfxx-ia64.c (is_unwind_section_name): New function. ReturnsRichard Henderson2-28/+133
true if section name is an unwind table section name. (elfNN_ia64_additional_program_headers): Count each unwind section separately. (elfNN_ia64_modify_segment_map): Install one unwind program header for each unwind separate section. Note: normally the linker script merges the unwind sections that go into a single segment, so this still generates at most one unwind program header per segment. * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section name for SHT_IA_64_UNWIND, not just .IA_64.unwind. (elfNN_ia64_fake_sections): Mark sections with names that start with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64 unwind section. * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function. Use it to make sh_info in unwind section point to the text section it applies to.
2001-02-10Add s390 supportNick Clifton64-1283/+10286
2001-02-09Suppress extra addition of ImageBase.Nick Clifton2-1/+8
2001-02-09* config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons forAlexandre Oliva2-3/+13
2byte, 4byte and 8byte.
2001-02-09 * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.Jakub Jelinek2-1/+26
2001-02-09 * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.Jakub Jelinek2-2/+9
(sparc64_elf_relocate_section): Likewise.
2001-02-09Don't #ifdef inside printf in case printf is a macro.Alan Modra2-5/+8
2001-02-09* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32Mark Kettenis3-4/+10
similar to R_SPARC_32. * elf64-sparc.c (sparc64_elf_howto_table): Likewise.
2001-02-09 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc intoJakub Jelinek2-0/+8
targ_extra_libpath. (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2001-02-092001-02-08 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+14
* elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32 relocation entries for weak definitions when building DSO with -Bsymbolic.
2001-02-09 Updates to "make TAGS":Jim Kingdon2-6/+13
* Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c tahoe-tdep.c. (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
2001-02-09 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weaknessRichard Henderson2-5/+18
before visibility. Locally defined protected symbols are not dynamic.
2001-02-09 * config.bfd: Enable coff64 for rs6000-*. Patch fromGeoffrey Keating2-5/+6
<hzoli@austin.ibm.com>.
2001-02-08 * ld-srec/srec.exp (run_srec_test): m6811 code has referencesStephane Carrez3-1/+20
to soft registers, define them with --defsym. * ld-selective/selective.exp: Likewise.
2001-02-08 * gas/mri/mri.exp: Don't execute the M68K specific testsStephane Carrez2-3/+15
on m6811-elf and m6812-elf targets, still run the generic MRI tests.
2001-02-08 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".Eli Zaretskii2-1/+5
2001-02-08From Dean Luick <luick@cray.com>:Andrew Cagney2-1/+5
* defs.h (continuation): Remove unused global variable.
2001-02-08Remove configurations marked as obsolete in 5.0.Andrew Cagney34-6168/+50
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney66-430/+839
internal_verror().
2001-02-08 * acinclude.m4 (AM_PROG_LEX): Override installed definition.Hans-Peter Nilsson4-10/+32
* aclocal.m4: Regenerate. * configure: Regenerate.
2001-02-082001-02-08 Ben Elliston <bje@redhat.com>Chris Demetriou2-34/+23
* sim-main.c (load_memory): Pass cia to sim_core_read* functions. (store_memory): Likewise, pass cia to sim_core_write*.
2001-02-08From Mark Kettenis, include <signal.h>.Andrew Cagney2-1/+7
2001-02-08(pa_build_unwind_subspace): Don't callAlan Modra2-2/+7
md_number_to_chars with size > sizeof (valueT).
2001-02-07If stabs info is successfully found, do not attempt to find dwarf2 infoNick Clifton2-3/+8
before returning.
2001-02-07ignore common definitions of function symbols in unlinked archivesNick Clifton2-4/+15
2001-02-07Change bfd_target_vector from an array to a pointerNick Clifton9-15/+31
2001-02-07Add -u option toi readelf to display unwind info.Nick Clifton7-477/+2118
Add support to display unwind info for IA64 binaries.
2001-02-07Fix printf fmt of long in remote-sim.c.Andrew Cagney3-2/+9
mn10300-elf now buildable.
2001-02-07* event-top.c: Remove duplicate #include <signal.h>.Mark Kettenis2-2/+4
2001-02-072001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu3-4/+18
* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and internal symbols are not dynamic. * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
2001-02-07* sol-thread.c (restore_inferior_pid): Save the PID in a freshlyAndrew Cagney3-6/+21
allocated buffer. (save_inferior_pid): Restore the PID from that tempoary buffer. Delete the buffer. * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
2001-02-07* MAINTAINERS: Add ``The Obvious Fix Rule''.Andrew Cagney2-0/+18
2001-02-07Add Michael Synder to Solaris/SPARC list.Andrew Cagney2-2/+7
2001-02-07Addd set_gdbarch_data() method. Update register_gdbarch_data() interface.Andrew Cagney4-50/+203
2001-02-07Remove elf64-ia64.c from list of backend C files - it is auto-generated.Nick Clifton4-171/+615
2001-02-07* i960-desc.c: Update all the A macro definitions to the newDJ Delorie2-6/+31
stdc-sensitive versions that cgen would have used.
2001-02-07* configure: Output host type to stdout, not stderr.DJ Delorie2-1/+5
2001-02-072001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+7
* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if there is no relocation.
2001-02-06 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: CallMichael Sokolov2-1/+6
fprintf_filtered with correct arguments.
2001-02-062001-02-06 Michael Snyder <msnyder@makita.cygnus.com>Michael Snyder8-14/+30
Submitted by Paul Hilfinger (hilfingr@gnat.com) and Andrei Petrov (and@genesyslab.com). * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES must be allocated dynamically, since these are no longer constants. * infcmd.c: Ditto. * regcache.c: Ditto. * remote.c: Ditto. * sol-thread.c: Ditto. * valops.c: Ditto. * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a work-around for a missing Sun header file in solaris for sparc64.
2001-02-062001-02-04 Philip Blundell <philb@gnu.org>Phil Blundell4-6/+34
* config/arm/linux.mh (NATDEPFILES): Add proc-service.o, thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o. * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP, GET_THREAD_SIGNALS): Define. * arm-linux-nat.c (fill_gregset): Correct type of argument. (supply_gregset): Likewise. (fill_fpregset): Likewise. (supply_fpregset): Likewise.
2001-02-062001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu2-44/+37
* bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic checking. (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and external_PEI_IMAGE_hdr.
2001-02-062001-01-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+44
* include/coff/pe.h (struct external_PEI_DOS_hdr): New. (struct external_PEI_IMAGE_hdr): New.
2001-02-062001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+7
* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined. * config/tc-ia64.c (md_parse_option): Only accept the valid ia64 options on "-axxx".
2001-02-062001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+14
* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined. * config/tc-ia64.c (md_parse_option): Only accept the valid ia64 options on "-axxx".
2001-02-062001-02-06 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-96/+96
* elf-m10200.c: Fix formatting.
2001-02-06 * valops.c (value_cast): If casting a scalar to a pointer, do notDavid Taylor2-4/+26
issue a message about truncation unless it exceeds the length of an address, not the length of a pointer. This is because what the user gives us is an address, not a pointer, and we will ultimately convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it to a pointer. This allows things like "print *(int *)0x01000234" to work without generating a misleading message on a target having two byte pointers and four byte addresses.
2001-02-062001-02-06 Philip Blundell <philb@gnu.org>Phil Blundell3-10/+5
* Makefile.am: Remove mention of earmelf_linux26. * Makefile.in: Regenerate.
2001-02-06Fix spacing.Christopher Faylor2-2/+2