aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-05-12Update FSF addressesNick Clifton133-157/+157
2005-05-122005-05-11 Eli Zaretskii <eliz@gnu.org>Ian Lance Taylor2-38/+52
* pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and sys/stat.h. (pex_init): Fix last argument to pex_init_common. (pex_djgpp_exec_child): Remove leading underscore from _open, _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program', which is undeclared, with `executable', which was unused. Remove unused variable `e'. Fix casting of last arg to spawnv/spawnvp. (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
2005-05-12 * scripttempl/elfxtensa.sc: Sync up with elf.sc.Bob Wilson3-31/+73
* emulparams/elf32xtensa.sh (PLT, GOT): Define.
2005-05-12daily updateAlan Modra1-1/+1
2005-05-12*** empty log message ***gdbadmin1-1/+1
2005-05-11 * ld-undefined/undefined.exp: xfail xtensa-*-*.Bob Wilson2-0/+6
2005-05-11 * gdb.texinfo (Command Files): Move the description of the startupEli Zaretskii2-58/+99
from here... (Startup): ...to this new subsection of the Invocation chapter. Rearrange the description of init files more logically and add a cross-reference to "Command Files". Document the special gdbinit name for CISCO 68k. Expand the description of what GDB does during startup. (History): Add index entry for HISTSIZE.
2005-05-11 * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.Alan Modra2-4/+23
(get_dynamic_type): Call the above.
2005-05-11 * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,Alan Modra2-6/+35
BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
2005-05-11 * ldgram.y: Add SPECIAL token.Alan Modra7-13/+135
(sect_constraint): Handle SPECIAL. * ldlang.c (lang_output_section_find_1): Don't match SPECIAL. (map_input_to_output_sections): Likewise. * ldlex.l (SPECIAL): Define. * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT, GOT, PLT, GOTPLT): Define. * emultempl/ppc32elf.em (old_plt, old_got): New static vars. (ppc_after_open): New function. (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT. (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got". (PARSE_AND_LIST_OPTIONS): Document them. (PARSE_AND_LIST_ARGS_CASES): Handle them. (LDEMUL_AFTER_OPEN): Define. * scripttempl/elf.sc (PLT): Don't override existing define. (DATA_GOT, SDATA_GOT): Define and use to enable alternate got placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW.
2005-05-11 * reloc.c (BFD_RELOC_HI16_PCREL): Define.Alan Modra6-65/+424
(BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL): Define. * elf32-ppc.c (GLINK_PLTRESOLVE, GLINK_ENTRY_SIZE): Define. (CROR_151515, CROR_313131): Delete. (ADDIS_11_11, ADDI_11_11, SUB_11_11_30, ADD_0_11_11, ADD_11_0_11, LWZ_0_4_30, MTCTR_0, LWZ_12_8_30, BCTR, ADDIS_11_30, LWZU_0_X_11): Define. (ppc_elf_howto_raw): Add R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI and R_PPC_REL16_HA entries. (ppc_elf_reloc_type_lookup): Convert new bfd reloc types. (ppc_elf_addr16_ha_reloc): Also handle R_PPC_REL16_HA. (struct ppc_elf_link_hash_table): Add glink, glink_pltresolve, new_plt, and old_plt. (ppc_elf_create_dynamic_sections): Create .glink section. (ppc_elf_check_relocs): Set new_plt and old_plt. (ppc_elf_select_plt_layout): New function. (ppc_elf_tls_setup): Set plt output section elf type and flags. (allocate_got): Handle differences between old and new got layout. (allocate_dynrelocs): Likewise for plt. (ppc_elf_size_dynamic_sections): Likewise. Allocate memory for .glink. Don't allocate memory for old bss .plt. Emit DT_PPC_GLINK. (ppc_elf_relax_section): Rename ppc_info to htab. Handle .glink destination of R_PPC_PLTREL24 relocs. (ppc_elf_relocate_section): Handle new relocs and changed destination of R_PPC_PLTREL24. (ppc_elf_finish_dynamic_symbol): Init new style plt and handle differences in layout. (ppc_elf_finish_dynamic_sections): Set DT_PPC_GLINK value. Don't put a blrl in new got. Write glink contents. * elf32-ppc.h (ppc_elf_select_plt_layout): Declare. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate.
2005-05-11 * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,Alan Modra2-9/+24
R_PPC_RELAX32PC_PLT) Adjust. (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define. (DT_PPC_GLINK): Define.
2005-05-11 * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,Eli Zaretskii2-3/+16
ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c. Fix mappings for hilo-hazard-?.s.
2005-05-11 * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signednessAndreas Schwab2-1/+6
warning.
2005-05-11Fix a typo in bunzip2..Eli Zaretskii1-1/+1
2005-05-11Update GDB versions and my email address.Eli Zaretskii2-5/+9
2005-05-112005-05-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-18/+43
* elf.c (_bfd_elf_make_section_from_shdr): Only check debug section if SEC_ALLOC isn't set.
2005-05-11merge from gccDJ Delorie5-21/+36
2005-05-11daily updateAlan Modra1-1/+1
2005-05-11*** empty log message ***gdbadmin1-1/+1
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton69-117/+129
2005-05-10gas/Michael Matz5-4/+28
* frags.c (frag_grow): Don't be too greedy in allocating memory. * config/tc-hppa.c (pa_block): Check arguments to .block[z]. gas/testsuite/ * gas/hppa/parse/block1.s: Use official limit (0x3fffffff) for .block.
2005-05-10 * linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define.Ulrich Weigand2-1/+49
(s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions. (the_low_target): Add new members.
2005-05-10 PR binutils/886Hans-Peter Nilsson2-58/+66
* config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly. Handle label-without-colon before ordinary dot-pseudo as an ordinary label. Don't leak memory for label-without-colon alone on a line. Don't mmixal-munge operands for dot-pseudos.
2005-05-10 * gas/mmix/relax2.s: Drop ":" off label definitions.Hans-Peter Nilsson2-7/+17
2005-05-10Update the address and phone number of the FSF organizationNick Clifton200-236/+303
2005-05-10gas/Jan Beulich2-23/+24
2005-05-10 Jan Beulich <jbeulich@novell.com> * macro.c (get_any_string): Remove the two last parameters. Replace references to the former expand parameter by using macro_alternate. Simplify loop condition for checking for end-of-string. (get_string): Remove redunant call to sb_skip_white. (do_formals): Remove two last arguments to get_any_string. (macro_expand): Likewise. (expand_irp): Likewise.
2005-05-10gas/Jan Beulich2-4/+14
2005-05-10 Jan Beulich <jbeulich@novell.com> * read.c (s_macro): Move local variable 'local' to smaller scope. Call sb_kill on it when done.
2005-05-10 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.Alan Modra2-9/+10
(DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value. (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after DATA_SEGMENT_RELRO_END in script.
2005-05-102005-05-09 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook7-47/+1079
* configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF. * acinclude.m4: Don't sinclude accross.m4. * config.in, configure, Makefile.in, doc/Makefile.in: Regenerate.
2005-05-102005-05-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+7
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): Don't use a removed section.
2005-05-102005-05-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
* ldmain.c (reloc_overflow): Use output_bfd if the symbol is defined in the ABS section.
2005-05-10daily updateAlan Modra1-1/+1
2005-05-10*** empty log message ***gdbadmin1-1/+1
2005-05-092005-05-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney40-203/+218
Use gdb_byte in preference to bfd_byte. * gdbarch.sh: Update. * gdbarch.h, gdbarch.c: Re-generate. * ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update. * c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update. * f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update. * jv-valprint.c, language.c, language.h, m2-lang.c: Update. * m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update. * p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update. * scm-lang.h, scm-valprint.c, target.c, target.h: Update. * tramp-frame.c, valarith.c, valops.c, valprint.c: Update. * valprint.h, value.c, value.h: Update.
2005-05-09 * Makefile.am: Use a temporary file to build chew.Daniel Jacobowitz3-4/+15
* Makefile.in: Regenerated.
2005-05-09Fix typos in ChangeLogMark Mitchell1-9/+9
2005-05-09* vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):Mark Kettenis3-10/+19
Use `gdb_byte *' for regs. * vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs; (vax_store_arguments, vax_push_dummy_call, vax_return_value): Use gdb_byte for buf. (vax_breakpoint_from_pc): Change return type to `const gdb_byte *'. Use gdb_byte for break_insn. (vax_skip_prologue): Use gdb_byte for op.
2005-05-09* i387-tdep.c: Remove outdated comments.Mark Kettenis2-9/+2
2005-05-09 * readline/aclocal.m4: Use AC_TRY_LINK to check for mbstate_t.Mark Mitchell10-528/+1209
* readline/complete.c (pwd.h): Guard with HAVE_PWD_H. (getpwent): Guard with HAVE_GETPWENT. (rl_username_completion_function): Guard use of getpwent. (endpwent): Likewise. * readline/config.h.in (HAVE_FCNTL): New macro. (HAVE_GETPWENT): Likewise. (HAVE_GETPWNAM): Likewise. (HAVE_GETPWUID): Likewise. (HAVE_KILL): Likewise. (HAVE_PWD_H): Likewise. * readline/configure: Regenerated. * readline/configure.in: Handle MinGW when cross compiling. Check for getpwnam, getpwent, getpwuid, kill, and pwd.h. * readline/display.c (rl_clear_screen): Treat Windows like DOS. (insert_some_chars): Likewise. (delete_chars): Likewise. * readline/shell.c (pwd.h): Guard with HAVE_PWD_H. (getpwuid): Guard with HAVE_GETPWUID. (sh_unset_nodelay_mode): Guard use of fnctl with HAVE_FNCTL_H. * readline/signals.c (rl_signal_handler): Don't use SIGALRM or SIGQUIT if not defined. Use "raise" if "kill" is not available. (rl_set_signals): Don't set handlers for SIGQUIT or SIGALRM if they are not defined. (rl_clear_signals): Likewise. * readline/tilde.c (pwd.h): Guard with HAVE_PWD_H. (getpwuid): Guard declaration with HAVE_GETPWUID. (getpwnam): Guard declaration with HAVE_GETPWNAM. (tilde_expand_word): Guard use of getpwnam with HAVE_GETPWNAM.
2005-05-09* defs.h: Unconditionally include <sys/types.h>.Mark Kettenis2-2/+5
2005-05-09gas/Jan Beulich7-10/+27
2005-05-09 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (optimize_disp): Discard displacement entirely when zero and not required by encoding constraints. gas/testsuite/ 2005-05-09 Jan Beulich <jbeulich@novell.com> * gas/i386/tlsd.[sd]: Adjust to not assume zero displacement will actually be present in memory addressing. * gas/i386/tlspic.[sd]: Likewise.
2005-05-092005-05-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-2/+42
PR 936 * config/tc-sh64.c (sh64_fake_label): New. * config/tc-sh64.h (TC_FAKE_LABEL): New. * doc/internals.texi (TC_FAKE_LABEL): Document. * write.c (TC_FAKE_LABEL): New. (adjust_reloc_syms): Use it. (write_object_file): Likewise.
2005-05-09 * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_dotsym.Alan Modra2-14/+51
(ppc64_elf_add_symbol_hook): Set has_dotsym. (ppc64_elf_check_directives): Only process syms when has_dotsym. (func_desc_adjust): Hide fake function descriptors when function code entry is defined. (adjust_opd_syms): Adjust for deleted_section becoming union field.
2005-05-09Update the address of the FSFNick Clifton26-67/+77
2005-05-09gas/Jan Beulich4-3/+15
2005-05-09 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (parse_insn): Disallow use of prefix separator and comma in Intel mode. include/opcode/ 2005-05-09 Jan Beulich <jbeulich@novell.com> * i386.h (i386_optab): Add ht and hnt.
2005-05-09gas/Jan Beulich2-9/+32
2005-05-09 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode names to match ABI. Add more registers for 32-bit and 64-bit modes. Make name array static and const. Adjust lookup to account for NULL entries (standing for unused register numbers).
2005-05-09gas/Jan Beulich2-5/+22
2005-05-09 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (parse_insn): Consider all matching instructions when checking for string instruction after string-only prefix.
2005-05-09 * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubsDaniel Jacobowitz2-2/+17
section like .plt.
2005-05-09 * elfcode.h (elf_object_p): Add more sanity checks on elf header.Alan Modra2-6/+52