syms(5) File Formats Manual syms(5)Name
syms - MIPS symbol table
Syntax
#include < sym.h>
#include < symconst.h>
Description
Unlike the COFF symbol table, the MIPS symbol table consists of many tables unbundling information. The symbol table should be viewed as a
network-style database designed for space and access efficiency.
The following structures or tables appear in the MIPS symbol table:
TABLE CONTENTS
Symbolic header Sizes and locations of all other tables
File descriptors Per file locations for other tables
Procedure descriptors
Frame information and location of procedure info
Local symbols Local type, local variable, and scoping info
Local strings String space for local symbols
Line numbers Compacted by encoding, contains a line per instruction
Relative file descriptors
Indirection for interfile symbol access
Optimization symbols
To be defined
Auxiliary symbols Variable data type information for each local symbol
External symbols Loader symbols (global text and data)
External strings String space for external symbols
Dense numbers Index pairs (file, symbol) for compiler use
External and local symbols contain the standard concept of a symbol as follows:
struct
{
long iss; /* index into string space */
long value; /* address, size, etc., depends on sc and st */
unsigned st: 6; /* symbol type (e.g. local, param, etc.) */
unsigned sc: 5; /* storage class (e.g. text, bss, etc.) */
unsigned reserved: 1;
unsigned index; /* index to symbol or auxiliary tables */
};
See Alsoldfcn(5)
RISC syms(5)
Check Out this Related Man Page
ldtbread(3x)ldtbread(3x)Name
ldtbread - read an indexed symbol table entry of a common object file
Syntax
#include <stdio.h>
#include <filehdr.h>
#include <syms.h>
#include <ldfcn.h>
int ldtbread (ldptr, symindex, symbol)
LDFILE *ldptr;
long symindex;
pSYMR *symbol;
Description
The reads the symbol table entry specified by symindex of the common object file currently associated with ldptr into the area of memory
beginning at symbol.
returns success or failure. If symindex is greater than the number of symbols in the object file or if it cannot read the specified symbol
table entry, fails.
The local and external symbols are concatenated into a linear list. Symbols are accessible from symnum zero to SYMHEADER(ldptr).isym-
Max+SYMHEADER(ldptr).iextMax. The index and iss fields of the SYMR are made absolute (rather than file relative) so that routines and pro-
ceed normally given those indices. Only the sym part of externals is returned.
Note that the first symbol in the symbol table has an index of zero.
See Alsoldclose(3x), ldgetname(3x), ldopen(3x), ldtbseek(3x), ldgetname(3x), ldfcn(5)
RISC ldtbread(3x)
Very new user with a dumb question. While performing ls command I found some files in my directory that look like this:
#filename#
What does this mean. I cannot open with vi, cat, head, nor can I delete it with rm. Can someone educate me please, and how to fix?
THX
Dereck (8 Replies)
I got this error while compiling in aCC compiler.
Error 173: "/opt/aCC/include_std/limits", line 694 # Redefined symbol
'numeric_limits<int>'; previously defined at
.
_RWSTD_SPECIALIZE_LIMITS (bool, int, _RWSTD_BOOL)
^^^^^^^^^^^^^^^^^^^^^^^^
Error... (2 Replies)
I want to write a script to ensure we have enough space in test to bcp in tables from production. Currently we bcp tables out of a sybase database in production and bcp in the table data to a test environment. We use isql and run the stored procedure sp_spaceused against each of the tables in the... (1 Reply)
I've got the following two queries:
1) What's the difference in performance if a variable storage is at bss and not at the data section (apart from the initialization to zero in case of data section variables --like static variables).
In general, why a developer need to bother about the... (1 Reply)
I noticed that sometimes there is "~#" or "~$" in the terminal. What is that? I can't make any research in google because I don't know what are they called. I even tried reading pdf's or books but unfortunately, I wasn't lucky to find out. Maybe I was not persistent enough but I am really... (3 Replies)
hi,
i am new to shell programming, can u please tell me how to perform XOr operation of two strings.
i tried to do xor using ^symbol but this doesnt work.
help me with this
Thanks (12 Replies)
Hi All,
When I am trying to send a text file through Unix,I get a weird symbol in the .txt file. The symbol is ? in a box (square)....which is making the file unloadable. Please help me with the solution.
Thanks in advance
Gopi (1 Reply)
Hi,
I am trying to remove the caret symbol from a bash variable. This is the variable:
var="GOTAN^TOK^B"and this is the code I am trying to use to remove the caret symbol:
nocarrot=`echo $var | sed -e 's/^/_/g'`This is the output intended (but not acheived with the above function):... (3 Replies)
I have a single record large file, semicolon ';' and pipe '|' separated. I am doing a vi on the file. It is throwing an error "File to long"
I need to actually remove the last | symbol from this file.
sed -e 's/\|*$//' filename
is working fine for small files. But not working on this big... (13 Replies)
in my file which is a rather long log file it contains many text and tables and there is one table with 15 columns and I am interested to read in the value in column6 and its corresponding value in column2. Trouble is I do not know how to script it as the line number various between different log... (8 Replies)
Hi Guys,
Is there a way to check hive external tables which are created 90 days before and drop those tables along with underlying hdfs data. Can this be achieved in unix script? (10 Replies)
Hi, I need to look at a recent copy of /usr/include/errno.h from AIX 7.2 to check some symbols. In particular, I'm curious if it defines EOWNERDEAD and ENOTRECOVERABLE. Can someone who has access to 7.2 please check for me? Thanks! (1 Reply)