H.J. Lu
8fe769244d
2005-05-12 H.J. Lu <hongjiu.lu@intel.com>
...
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF
against protected function when building executable.
2005-05-12 21:01:42 +00:00
Eli Zaretskii
5711a8b054
* observer.sh (texi) [DJGPP]: If the file name includes a colon,
...
convert it to the /dev/x/ form.
2005-05-12 20:38:51 +00:00
Mark Kettenis
a77053c217
* solib.h (CLEAR_SOLIB, SOLIB_ADD)
...
(SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK)
(SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART)
(DISABLE_UNSETTABLE_BREAK, PC_SOLIB)
(IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned
comments.
* breakpoint.c: Include "solib.h".
(insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call
solib_address.
(remove_solib_event_breakpoints, create_solib_event_breakpoint)
(disable_breakpoints_in_shlibs)
(disable_breakpoints_in_unloaded_shlib)
(re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't
defined. If PC_SOLIB isn't defined, call solib_address.
(_initialize_breakpoint): Unconditionally install observer.
* corelow.c: Include "solib.h".
[SOLIB_ADD] (solib_add_stub): Remove prototype.
(core_close) [!CLEAR_SOLIB]: Call clear_solib.
(solib_add_stub) [!SOLIB_ADD] Call solib_add.
(core_open): Unconditionally call solib_add_stub.
* fork-child.c: Include "solib.h".
(fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
solib_create_inferior_hook.
* infcmd.c: Include "solib.h".
(attach_command) [!SOLIB_ADD]: Call shlib_rescan. Unconditionally
call re_enable_breakpoints_in_shlibs.
* infrun.c: Include "solib.h".
(SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already
defined.
(stop_on_solib_events, show_stop_on_solib_events): Include
unconditionally.
(follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
solib_create_inferior_hook.
(handle_inferior_event) [!SOLIB_ADD]: Call shlib_add.
[!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code.
(_initialize_infrun): Unconditionally add "stop_on_solib-events"
command.
* remote.c: Include "solib.h".
(remote_open_1): Unconditionally call no_shared_libraries.
[!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook.
* stack.c: Include "solib.h".
(print_frame) [!PC_SOLIB] Call shlib_for_pc.
* xcoffsolib.c (no_shared_libraries): Remove function.
* Makefile.in (SFILES): Add solib.c.
(ALLDEPFILES): Remove solib.c.
(COMMON_OBS): Add solib.o.
(breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o)
(remote.o, stack.o): Update dependencies.
2005-05-12 20:21:18 +00:00
DJ Delorie
aaac363113
merge from gcc
2005-05-12 20:00:35 +00:00
DJ Delorie
f1166a0987
PR bootstrap/21230
...
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.
2005-05-12 16:35:35 +00:00
Daniel Jacobowitz
847f5ce8da
* cp-names.y: Renamed to ...
...
* cp-name-parser.y: ... this.
* Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
cp-name-parser.y.
(test-cp-names.o): Renamed to test-cp-name-parser.o.
(test-cp-names): Renamed to test-cp-name-parser.
(clean, local-maintainer-clean): Update.
(cp-names.o): Renamed to cp-name-parser.o.
2005-05-12 16:01:08 +00:00
Eli Zaretskii
15c3c5c65b
* observer.sh: Use observer.tmp instead of observer.inc-tmp which
...
on 8+3 filesystems overwrites observer.inc. Update copyright year
of the resultant file.
2005-05-12 15:44:19 +00:00
Eli Zaretskii
358777b0d6
* gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
...
is_gnu_v3_mangled_ctor to avoid compiler warnings.
2005-05-12 15:28:31 +00:00
Alan Modra
86b9da8823
* elf32-ppc.c (LWZU_0_X_11): Delete.
...
(B, LWZ_11_X_11, LWZ_11_X_30, MTCTR_11): Define.
(ppc_elf_select_plt_layout): Set .got flags too. Formatting.
(ppc_elf_size_dynamic_sections): Allocate space for .glink branch
table.
(ppc_elf_finish_dynamic_symbol): Point .plt entries into the branch
table.
(ppc_elf_finish_dynamic_sections): Adjust DT_PPC_GLINK value.
Generate .glink branch table and updated stubs.
2005-05-12 15:24:51 +00:00
Nick Clifton
1ec742ac5e
Add missing \n character to end of warning message created by the previous delta
2005-05-12 14:09:23 +00:00
Orjan Friberg
e013ee27c9
2005-05-12 Orjan Friberg <orjanf@axis.com>
...
* target.h (struct target_ops): Add insert_watchpoint,
remove_watchpoint, stopped_by_watchpoint, stopped_data_address function
pointers for hardware watchpoint support.
* linux-low.h (struct linux_target_ops): Ditto.
* linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint)
(linux_stopped_by_watchpoint, linux_stopped_data_address): New. Add
to linux_target_ops.
* remote-utils.c (prepare_resume_reply): Add watchpoint information to
reply packet.
* server.c (main): Recognize 'Z' and 'z' packets.
2005-05-12 12:14:23 +00:00
Eli Zaretskii
119b882a3d
* gdb.texinfo (Startup): Fix last change. Treat gdb.ini like we
...
do with other non-standard names of init files.
2005-05-12 09:05:45 +00:00
Nick Clifton
52d1fb02ab
If pointer_size has not been found then assume that it is 4 in order to
...
prevent a seg fault when process_extend_line_op attempts to read the line
data.
2005-05-12 09:05:36 +00:00
Eli Zaretskii
b41cde4409
* config/djgpp/config.sed: Adapt to latest Autoconf.
...
* config/djgpp/djconfig.sh: Add -Wpointer-arith and
-Wuninitialized to the build warnings.
2005-05-12 08:42:12 +00:00
Nick Clifton
380d9419c9
Update the address of the FSF organization
2005-05-12 07:36:59 +00:00
Nick Clifton
75be928bd2
Update FSF addresses
2005-05-12 07:32:09 +00:00
Ian Lance Taylor
282d9ec36b
2005-05-11 Eli Zaretskii <eliz@gnu.org>
...
* 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 03:45:53 +00:00
Bob Wilson
be2c2e39a9
* scripttempl/elfxtensa.sc: Sync up with elf.sc.
...
* emulparams/elf32xtensa.sh (PLT, GOT): Define.
2005-05-12 00:31:22 +00:00
Alan Modra
01db59d261
daily update
2005-05-12 00:00:05 +00:00
gdbadmin
2ee96ac168
*** empty log message ***
2005-05-12 00:00:03 +00:00
Bob Wilson
34732de928
* ld-undefined/undefined.exp: xfail xtensa-*-*.
2005-05-11 20:52:43 +00:00
Eli Zaretskii
6fc08d328b
* gdb.texinfo (Command Files): Move the description of the startup
...
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 15:47:49 +00:00
Alan Modra
7490d522be
* readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
...
(get_dynamic_type): Call the above.
2005-05-11 14:10:59 +00:00
Alan Modra
3c9d25f459
* config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
...
BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
2005-05-11 14:10:37 +00:00
Alan Modra
0cf7d72c50
* ldgram.y: Add SPECIAL token.
...
(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 14:10:10 +00:00
Alan Modra
d7128ce4b1
* reloc.c (BFD_RELOC_HI16_PCREL): Define.
...
(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 14:09:43 +00:00
Alan Modra
2df98d85f8
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
...
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 14:08:45 +00:00
Eli Zaretskii
6791e1b14a
* config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
...
ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
Fix mappings for hilo-hazard-?.s.
2005-05-11 13:35:56 +00:00
Andreas Schwab
4c9b0de65e
* elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
...
warning.
2005-05-11 09:23:43 +00:00
Eli Zaretskii
fe09a05518
Fix a typo in bunzip2..
2005-05-11 07:29:35 +00:00
Eli Zaretskii
0d4fc997e2
Update GDB versions and my email address.
2005-05-11 07:26:26 +00:00
H.J. Lu
3d2b39cfde
2005-05-10 H.J. Lu <hongjiu.lu@intel.com>
...
* elf.c (_bfd_elf_make_section_from_shdr): Only check debug
section if SEC_ALLOC isn't set.
2005-05-11 02:15:46 +00:00
DJ Delorie
75919f948c
merge from gcc
2005-05-11 02:10:00 +00:00
Alan Modra
eb3c48e9b4
daily update
2005-05-11 00:00:05 +00:00
gdbadmin
5c4bdb2d22
*** empty log message ***
2005-05-11 00:00:03 +00:00
Nick Clifton
979c05d324
Update the address and phone number of the FSF organization.
2005-05-10 15:33:34 +00:00
Michael Matz
ee1923668e
gas/
...
* 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 15:10:08 +00:00
Ulrich Weigand
b0ded00b3f
* linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define.
...
(s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions.
(the_low_target): Add new members.
2005-05-10 13:48:59 +00:00
Hans-Peter Nilsson
20d7ce9bf2
PR binutils/886
...
* 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 12:32:23 +00:00
Hans-Peter Nilsson
55b8cd5978
* gas/mmix/relax2.s: Drop ":" off label definitions.
2005-05-10 12:30:11 +00:00
Nick Clifton
e172dbf8aa
Update the address and phone number of the FSF organization
2005-05-10 10:21:13 +00:00
Jan Beulich
be03cc8473
gas/
...
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-10 07:48:24 +00:00
Jan Beulich
360e86f1eb
gas/
...
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 07:45:11 +00:00
Alan Modra
4ca02259f7
* scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
...
(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-10 02:27:38 +00:00
Kelley Cook
2ba49b590d
2005-05-09 Kelley Cook <kcook@gcc.gnu.org>
...
* 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-10 01:27:54 +00:00
H.J. Lu
baf6e97fe3
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
...
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
Don't use a removed section.
2005-05-10 01:07:30 +00:00
H.J. Lu
a6e1b90f78
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
...
* ldmain.c (reloc_overflow): Use output_bfd if the symbol
is defined in the ABS section.
2005-05-10 01:06:04 +00:00
Alan Modra
282c312b74
daily update
2005-05-10 00:00:04 +00:00
gdbadmin
2f6b7e013b
*** empty log message ***
2005-05-10 00:00:02 +00:00
Andrew Cagney
fc1a4b4705
2005-05-09 Andrew Cagney <cagney@gnu.org>
...
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 21:20:35 +00:00