diff options
author | Richard Henderson <rth@redhat.com> | 1997-08-12 05:42:00 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1997-08-12 05:42:00 +0000 |
commit | 8cf777d667b41f31578045943cd85447957f8346 (patch) | |
tree | 37cec3e5f4e12448005b6faec931f433a6beaa75 | |
parent | 66df708b347b8ad9f312988dbe01558f02d9fa97 (diff) | |
download | gdb-8cf777d667b41f31578045943cd85447957f8346.zip gdb-8cf777d667b41f31578045943cd85447957f8346.tar.gz gdb-8cf777d667b41f31578045943cd85447957f8346.tar.bz2 |
* as.h (enum _relax_state): Add rs_leb128.
* read.c (potable): Add sleb128 and uleb128.
(sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
functions.
* read.h: Update prototypes.
* symbols.c (resolve_symbol_value): Streamline quite a bit. Return
the symbol value, add a second FINALIZE argument that prevents
changes from being comitted. Update all callers.
* write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
* doc/as.texinfo: Document the new pseudos.
-rw-r--r-- | gas/ChangeLog | 13 | ||||
-rw-r--r-- | gas/config/obj-bout.c | 2 | ||||
-rw-r--r-- | gas/config/obj-vms.c | 2 |
3 files changed, 15 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8305def..1b3787d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,16 @@ +Mon Aug 11 21:48:00 1997 Richard Henderson <rth@cygnus.com> + + * as.h (enum _relax_state): Add rs_leb128. + * read.c (potable): Add sleb128 and uleb128. + (sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New + functions. + * read.h: Update prototypes. + * symbols.c (resolve_symbol_value): Streamline quite a bit. Return + the symbol value, add a second FINALIZE argument that prevents + changes from being comitted. Update all callers. + * write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128. + * doc/as.texinfo: Document the new pseudos. + Sun Aug 10 14:51:49 1997 Ian Lance Taylor <ian@cygnus.com> * Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage, diff --git a/gas/config/obj-bout.c b/gas/config/obj-bout.c index 0406f34..f1883fa 100644 --- a/gas/config/obj-bout.c +++ b/gas/config/obj-bout.c @@ -253,7 +253,7 @@ obj_crawl_symbol_chain (headers) S_SET_SEGMENT (symbolP, SEG_TEXT); } /* if pusing data into text */ - resolve_symbol_value (symbolP); + resolve_symbol_value (symbolP, 1); /* Skip symbols which were equated to undefined or common symbols. */ diff --git a/gas/config/obj-vms.c b/gas/config/obj-vms.c index 36706e0..26411ab 100644 --- a/gas/config/obj-vms.c +++ b/gas/config/obj-vms.c @@ -533,7 +533,7 @@ obj_crawl_symbol_chain (headers) symbolPP = &symbol_rootP; /* -> last symbol chain link. */ while ((symbolP = *symbolPP) != NULL) { - resolve_symbol_value (symbolP); + resolve_symbol_value (symbolP, 1); /* OK, here is how we decide which symbols go out into the brave new symtab. Symbols that do are: |