summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2001-02-27 03:26:47 +0000
committerTimothy Wall <twall@alum.mit.edu>2001-02-27 03:26:47 +0000
commitf04a7c07ec2b5274f59ef5aee8f56fdf933ae5d1 (patch)
tree230f882c219e3f69cb1ffb0f3cf03c8d4fdd3b9a /bfd
parentc544eea6e75154abf2ebb9aa02f990cb3ff406c0 (diff)
downloadgdb-f04a7c07ec2b5274f59ef5aee8f56fdf933ae5d1.tar.gz
Update elf64 aix5 comments.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-ia64.c21
2 files changed, 10 insertions, 16 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 81c12980a1b..c74b7937bf6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-26 Timothy Wall <twall@cygnus.com>
+
+ * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete
+ comments.
+
2001-02-26 Nick Clifton <nickc@redhat.com>
* coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index b8705c18386..77d20221d9a 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -1182,20 +1182,11 @@ elfNN_ia64_aix_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp)
{
int i;
- /* SHN_MONTEREY_SYSCALL (Description from IBM):
- Special symbols on AIX; if the value is non-zero, the value
- should be put in the gp member of the function descriptor. the
- function address member should be set to the address of the entry
- point of the user-space portion of the system call (epc insn in a
- priviledged page). If the symbol value is zero, look in the special
- table for extended system calls. The number for extended system
- calls will come from that table. The index is set when the linker
- sees an export file that contains the syscall attribute after an
- exported symbol. Kernel extensions indicate extended system calls
- they define by having STO_MONTEREY_SYSCALL in their st_other symbol
- table member. This is used by the system loader to add extended
- system calls to its table, which is subsequently provided to the
- runtime linker at each process startup. */
+ /* SHN_AIX_SYSCALL: Treat this as any other symbol. The special symbol
+ is only relevant when compiling code for extended system calls.
+ Replace the "special" section with .text, if possible. */
+ /* FIXME need to determine the proper section instead of defaulting to
+ .text. */
for (i = 1; i < elf_elfheader (abfd)->e_shnum; i++)
{
asection * sec = bfd_section_from_elf_index (abfd, i);
@@ -1207,8 +1198,6 @@ elfNN_ia64_aix_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp)
}
}
- /* FIXME need to determine the proper section instead of defaulting to
- .text. */
if (*secp == NULL)
*secp = bfd_abs_section_ptr;