diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2001-08-29 12:22:27 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@embecosm.com> | 2001-08-29 12:22:27 +0000 |
commit | 1262d52065318caaed401b922fbce597fee4224b (patch) | |
tree | 34a3a6e1ac0005589ae450f9e08244a901df101b /gas | |
parent | d81d65845ee611fa4438d30888b759db2acb6699 (diff) | |
download | fsf-binutils-gdb-1262d52065318caaed401b922fbce597fee4224b.zip fsf-binutils-gdb-1262d52065318caaed401b922fbce597fee4224b.tar.gz fsf-binutils-gdb-1262d52065318caaed401b922fbce597fee4224b.tar.bz2 |
* doc/internals.texi (MD_PCREL_FROM_SECTION): Change
docuemntation to reflect reality.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/doc/internals.texi | 12 |
2 files changed, 12 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e4636f8..d49e0c3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Wed Aug 29 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com> + + * doc/internals.texi (MD_PCREL_FROM_SECTION): Change + docuemntation to reflect reality. + 2001-08-27 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> * tc_mips.c (load_address): Reflect change to MAX_GPREL_OFFSET. diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index 1d2313a..03162e0 100644 --- a/gas/doc/internals.texi +++ b/gas/doc/internals.texi @@ -1274,12 +1274,14 @@ You may define this macro to indicate whether a fixup against a locally defined symbol should be adjusted to be against the section symbol. It should return a non-zero value if the adjustment is acceptable. -@item MD_PCREL_FROM_SECTION +@item MD_PCREL_FROM_SECTION (@var{fixp}, @var{section}) @cindex MD_PCREL_FROM_SECTION -If you define this macro, it should return the offset between the address of a -PC relative fixup and the position from which the PC relative adjustment should -be made. On many processors, the base of a PC relative instruction is the next -instruction, so this macro would return the length of an instruction. +If you define this macro, it should return the position from which the PC +relative adjustment for a PC relative fixup should be made. On many +processors, the base of a PC relative instruction is the next instruction, +so this macro would return the length of an instruction, plus the address of +the PC relative fixup. The latter can be calculated as +@var{fixp}->fx_where + @var{fixp}->fx_frag->fr_address . @item md_pcrel_from @cindex md_pcrel_from |