summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo: intial -> initial.Nick Clifton2003-02-205-369/+298
|
* Index: include/gdb/ChangeLogAndrew Cagney2003-02-202-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-20 Andrew Cagney <ac131313@redhat.com> * remote-sim.c (gdbsim_insert_breakpoint) (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS code. Index: include/gdb/ChangeLog 2003-02-20 Andrew Cagney <ac131313@redhat.com> * remote-sim.h (SIM_RC): Delete unused SIM_RC_UNKNOWN_BREAKPOINT, SIM_RC_INSUFFICIENT_RESOURCES and SIM_RC_DUPLICATE_BREAKPOINT. (sim_set_breakpoint, sim_clear_breakpoint): Delete declarations. (sim_clear_all_breakpoints, sim_enable_breakpoint): Ditto. (sim_enable_all_breakpoints, sim_disable_breakpoint): Ditto. (sim_disable_all_breakpoints): Ditto. Index: sim/common/ChangeLog 2003-02-20 Andrew Cagney <ac131313@redhat.com> * Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o (sim-break_h): Delete macro. (sim-break.o): Delete rule. * sim-break.c: Delete file. * sim-break.h: Delete file. * sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h". (STATE_BREAKPOINTS): Delete macro. (sim_state_base): Delete field breakpoints. * sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add sim_break_install to array.
* * elf32-ppc.c: Formatting.Alan Modra2003-02-202-311/+406
| | | | | | | (allocate_dynrelocs): LD and GD relocs against the same sym need separate GOT entries. (ppc_elf_relocate_section): Correct GOT handling for multiple GOT entries per symbol.
* * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS toAlexandre Oliva2003-02-203-0/+8
| | | | | config.status. * configure: Rebuilt.
* * rclex.l (handle_quotes): Fix minor formatting problems introduced in previousChristopher Faylor2003-02-203-11/+38
| | | | change.
* * rclex.l: Handle strings spanning more than one line.Christopher Faylor2003-02-202-1/+8
|
* * libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.Alexandre Oliva2003-02-204-8/+32
| | | | | | * ltconfig: Handle it. * ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of auto-detecting it.
* * libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.Alexandre Oliva2003-02-201-3/+11
| | | | | | * ltconfig: Handle it. * ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of auto-detecting it.
* * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.Alan Modra2003-02-202-1/+25
| | | | | * ldgram.y (vers_defns): Allow optional trailing semicolon in EXTERN NAME block;
* * ltcf-cxx.sh: Replace $linker_flags with $compiler_flags whereverAlexandre Oliva2003-02-193-9/+15
| | | | | it is used as argument to $CC. * ltcf-gcj.sh: Likewise.
* * configure.in: Introduce --enable-maintainer-mode.Alexandre Oliva2003-02-195-48/+122
| | | | | | | * configure: Rebuilt. * Makefile.tpl (Makefile.in, configure): Enable dependencies only for maintainer mode. * Makefile.in: Rebuilt.
* 2003-02-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-192-51/+44
| | | | * configure: Regenerate using autoconf 2.13.
* daily updateAlan Modra2003-02-191-1/+1
|
* * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic relocAlan Modra2003-02-198-817/+718
| | | | | | | | | | | | | | | | | | removal. Localize vars. Remove unnecessary dynobj test. * elf32-i386 (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, and optimize. (elf_i386_relocate_section): Likewise. (elf_i386_gc_sweep_hook): Simplify dyn reloc removal. Localize vars. * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. * elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise. Remove local_dynrel for section too. Don't touch HIPLT22, LOPLT10, PCPLT32 or PCPLT10 relocs. Don't subtract twice on PLT32 relocs. Formatting.
* * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define.Alan Modra2003-02-192-25/+49
| | | | | | | | | | (ppc64_elf_check_relocs): Use it. Correct comment. Move SEC_ALLOC test. (ppc64_elf_adjust_dynamic_symbol): Use ELIMINATE_COPY_RELOCS. (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, and optimize. Use ELIMINATE_COPY_RELOCS. (ppc64_elf_relocate_section): Likewise.
* * elf32-ppc.c (struct ppc_elf_dyn_relocs): Add pc_count field.Alan Modra2003-02-192-27/+188
| | | | | | | | | | | | | | | | (ppc_elf_copy_indirect_symbol): Copy pc_count field. (ELIMINATE_COPY_RELOCS): Define. (ppc_elf_adjust_dynamic_symbol): Convert copy relocs to dynamic. (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. (MUST_BE_DYN_RELOC): Define. (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, and optimize. Trim dyn_relocs. (ppc_elf_check_relocs): Don't generate dyn_relocs when we know they'll not be used. Do generate dyn_relocs for copy reloc avoidance. Keep track of pc_rel dyn relocs. (ppc_elf_relocate_section): Remove "will_become_local". Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL use. Trim dyn relocs as per allocate_dynrelocs. Don't recalculate "sec".
* * app.c (do_scrub_chars): Handle '||' in two states.Alan Modra2003-02-192-30/+49
|
* import latest versionsAlan Modra2003-02-193-63/+70
|
* daily updateAlan Modra2003-02-181-1/+1
|
* * Makefile.tpl (check-c++): Allow parallelism.Jason Merrill2003-02-183-2/+8
|
* * ld-powerpc/tlsexe.d: Update for changed handling of invalid LDAlan Modra2003-02-185-114/+121
| | | | | | | relocs. * ld-powerpc/tlsexe.g: Likewise. * ld-powerpc/tlsexe.r: Likewise. * ld-powerpc/tlsexe.t: Likewise.
* * elf32-ppc.c (ppc_elf_relocate_section): Remove unnecessary test.Alan Modra2003-02-183-74/+74
| | | | | | | | * elf64-ppc.c (ppc64_elf_tls_optimize): Decrement tlsld_got.refcount on invalid LD relocs. (allocate_dynrelocs): Invalid LD relocs don't use tlsld_got entry. (ppc64_elf_relocate_section): Unify new handling of LD relocs and tlsld_got entry. Use IS_PPC64_TLS_RELOC.
* * ppc64.h (IS_PPC64_TLS_RELOC): Rename from IS_TLS_RELOC.Alan Modra2003-02-182-1/+3
|
* New tests.Alan Modra2003-02-1815-1/+625
|
* * elf32-ppc.h: New file.Alan Modra2003-02-183-914/+2178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-ppc.c: Include elf32-ppc.h. (NOP, CROR_151515, CROR_313131, TP_OFFSET, DTP_OFFSET): Define. (struct ppc_elf_link_hash_entry): Rename "root" to "elf". Adjust uses. Add "tls_mask" field. (TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL, TLS_TLS, TLS_TPRELGD): Define. (struct ppc_elf_link_hash_table): Rename "root" to "elf". Adjust uses. Add got, relgot, plt, relplt, dynbss, relbss, dynsbss, relsbss, sdata, sdata2, tls_sec, tls_get_addr, tlsld_got fields. Make use of htab shortcuts throughout file. (ppc_elf_link_hash_newfunc): Init tls_mask field. (ppc_elf_link_hash_table_create): Init new fields. (ppc_elf_copy_indirect_symbol): Copy tls_mask. (ppc_elf_howto_raw): Add tls relocs. (ppc_elf_reloc_type_lookup): Handle them. (ppc_elf_unhandled_reloc): New function. (ppc_elf_create_got): Stash got section pointer in hash table, return status. Make .rela.got too. (ppc_elf_create_dynamic_sections): Stash section pointers in htab. (ppc_elf_adjust_dynamic_symbol): Only set up copy relocs when NON_GOT_REF set. Don't allocate space in .plt here.. (allocate_dynrelocs): ..do so here instead, properly ref-counting and not allocating plt entries unnecessarily. Allocate got entries here. (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. (ppc_elf_size_dynamic_sections): Allocate local got entries. Pass "info" during allocate_dynrelocs hash traversal. Use htab section shortcuts rather than searching for named sections. Get rid of "plt" and "strip" booleans. (update_local_sym_info, bad_shared_reloc): New functions. (ppc_elf_check_relocs): Handle TLS relocs. Move .rela.got creation to ppc_elf_create_got. Don't mark got or plt reloc syms dynamic, do so in allocate_dynreloc. Use update_local_sym_info and bad_shared_reloc. Disallow R_PPC_EMB_RELSDA, R_PPC_EMB_NADDR32, R_PPC_EMB_NADDR16, R_PPC_EMB_NADDR16_LO, R_PPC_EMB_NADDR16_HI and R_PPC_EMB_NADDR16_HA in shared libs. R_PPC_PLTREL32 is a plt reloc too. Refcount all relocs that might use a plt entry. Set NON_GOT_REF too. Enumerate all do-nothing relocs. (ppc_elf_gc_sweep_hook): Simplify removal of dynrelocs. Handle tls relocs and all plt relocs. (ppc_elf_tls_setup, ppc_elf_tls_optimize): New functions. (ppc_elf_finish_dynamic_symbol): Don't build got entries here. (ppc_elf_finish_dynamic_sections): Rewrite tag code using htab shortcuts. (ppc_elf_relocate_section): Tidy. Handle TLS relocs. Use bfd_elf_local_sym_name. Simplify unresolved reloc code. Build got entries and got relocs here. Warn on non-zero got reloc addend. Split out branch taken/not taken reloc code into a separate switch and correct offset calculation. Allow BRTAKEN/BRNTAKEN dynamic relocs. Split out HA reloc adjustments to separate switch statement. Don't warn on reloc overflow if we've already warned about undefined. Don't rebuild sym name when reporting errors. Report all possible errors from _bfd_final_link_relocate. (bfd_elf32_bfd_final_link): Don't define.
* * emultempl/ppc32elf.em: New file.Alan Modra2003-02-185-19/+120
| | | | | | | | | | | | * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. (eelf32lppcnto.c): Likewise. (eelf32lppcsim.c): Likewise. (eelf32ppcnto.c): Likewise. (eelf32ppc.c): Likewise. (eelf32ppc_fbsd.c): Likewise. (eelf32ppcsim.c): Likewise. (eelf32ppclinux.c): Likewise.
* * ppc.h: Replace DTPMOD64, TPREL64, DTPREL64 with DTPMOD32 etc.Alan Modra2003-02-182-3/+10
| | | | (IS_PPC_TLS_RELOC): Define.
* * ld.texinfo: Remove spaces between @samp and opening brace.Alan Modra2003-02-182-3/+7
|
* daily updateAlan Modra2003-02-171-1/+1
|
* * elf64-ppc.c (ppc64_elf_relocate_section): Don't init "r". Don'tAlan Modra2003-02-172-20/+14
| | | | rebuild sym name when reporting errors.
* * ld-powerpc/tlsexe.g: Update for 2003-02-14 elf64-ppc.c change.Alan Modra2003-02-172-1/+5
|
* * emultempl/ppc64elf.em (ppc_create_output_section_statements): CheckAlan Modra2003-02-172-18/+35
| | | | | | hash creator. (ppc_before_allocation): Don't do optimizations if wrong hash table. (gld${EMULATION_NAME}_finish): Ditto.
* Fix the behaviour of --allow-shlib-undefined, so that it does what it claimsNick Clifton2003-02-1723-316/+322
| | | | to do. Add an inverse switch. Update the documentation.
* SEGMENT_OVERLAPS: Check that LMAs overlap as well.Nick Clifton2003-02-172-16/+28
|
* Re-generate using autoconf 000227.Andrew Cagney2003-02-172-24/+1237
|
* * configure.in (*-*-darwin*): Rename from powerpc*-*-darwin*,Geoffrey Keating2003-02-163-1239/+38
| | | | | don't configure target-libobjc. * configure: Regenerate.
* daily updateAlan Modra2003-02-151-1/+1
|
* daily updateAlan Modra2003-02-141-1/+1
|
* * Makefile.tpl (RANLIB): Define.DJ Delorie2003-02-143-0/+7
| | | | * Makefile.in: Regenerate.
* Change embedded documentation to use consistent indentation and to split upNick Clifton2003-02-147-237/+241
| | | | | long lines. Change informal style of description for functions lacking real documentation.
* (_bfd_stab_section_find_nearest_line): For line number stabs outside ofNick Clifton2003-02-142-47/+47
| | | | functions, treat values as absolute addresses.
* (elf_core_file_p): Compare alternate machine codes for ELF backends whenNick Clifton2003-02-142-33/+37
| | | | checking if the generic ELF target should be used.
* * elf64-ppc.c (ppc64_elf_link_hash_table_create): Init tls_get_addr.Alan Modra2003-02-132-111/+88
| | | | | | | | | | | | | (ppc64_elf_copy_indirect_symbol): Merge tls_mask too. (ppc64_elf_gc_sweep_hook): Simplify removal of dyn_relocs. (allocate_dynrelocs): Don't treat undefined and undefweak specially. (ppc_size_one_stub): Fix warning, and tighten plt entry check. (group_sections): Don't share a stub section if stubs are for a large section. Adjust comment. (ppc64_elf_size_stubs): Roughly double the size left for stubs if !stubs_always_before_branch. (ppc64_elf_relocate_section): Initialize tlsld GOT entry once. Don't treat undefined and undefweak specially when processing dyn relocs.
* daily updateAlan Modra2003-02-131-1/+1
|
* bfd/Jakub Jelinek2003-02-1314-15/+194
| | | | | | | | | | | | | | | | | | | | * elflink.h (elf_link_add_object_symbols): Handle .symver x, x@FOO. ld/testsuite/ * ld-shared/shared.exp: Run on s390*-*-linux* and x86_64-*-linux* too. xfail tests linking non-pic code into shared libs on x86_64-*-linux*. * ld-elfvsb/elfvsb.exp: Likewise. * ld-elfvers/vers.exp: Likewise. Add vers24a, vers24b and vers24c tests. * ld-elfvers/vers3.ver: Allow VERS_2.0 to come before GLIBC_* version. * ld-elfvers/vers19.ver: Likewise. * ld-elfvers/vers24a.c: New test. * ld-elfvers/vers24b.c: New test. * ld-elfvers/vers24c.c: New test. * ld-elfvers/vers24.map: New test. * ld-elfvers/vers24.rd: New test. * lib/ld-lib.exp (run_ld_link_tests): Add optional 7th argument cflags. If source files have .c extension, compile them first.
* (elf32_thumb_to_arm_stub): Include section VMAs in computation of offset toNick Clifton2003-02-132-7/+15
| | | | insert into BL instruction.
* merge from gccDJ Delorie2003-02-132-15/+32
|
* Documenation formatting improvements.Nick Clifton2003-02-133-442/+454
| | | | Move Gnu Free Documenation License to a seperate file.
* For N_SLINE only include function_start_offset if the symbol is within aNick Clifton2003-02-132-5/+11
| | | | function; otherwise, the value is absolute.
* Handle global register vairables.Nick Clifton2003-02-132-18/+19
|