Ian Lance Taylor
e3e69b1328
* ldexp.c (fold_binary): Correct handling of subtraction with
...
absolute values.
(fold_name): Permit symbols in lang_allocating_phase_enum.
1996-04-16 20:53:55 +00:00
Ian Lance Taylor
1abb243d51
* ldexp.c (fold_name): In case NAME, permit an absolute symbol
...
in lang_allocating_phase_enum.
PR 6259.
1995-01-31 17:40:50 +00:00
Ian Lance Taylor
31ddb15694
* scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end.
...
Add a new script operator, PROVIDE, to define a symbol only if it
is needed.
* ldgram.y (PROVIDE): New token.
(assignment): Accept PROVIDE.
* ldlex.l (PROVIDE): New token.
* ldexp.h (node_type): Add etree_provide to node_class enum.
(exp_provide): Declare.
* ldexp.c (exp_fold_tree): Handle etree_provide.
(exp_provide): New function.
(exp_print_tree): Handle etree_provide.
* ld.texinfo: Document PROVIDE.
1994-07-22 20:55:45 +00:00
Ian Lance Taylor
fcf276c495
Made many changes to eliminate gcc warnings. Made various
...
cosmetic changes, declared various things in header files, removed
various extern declarations from .c files. No substantive
changes.
1993-12-11 22:55:55 +00:00
David MacKenzie
8bf66be8aa
add missing newlines in messages
1993-08-05 02:52:17 +00:00
Steve Chamberlain
bfbdc80f0a
* ldver.c: Bumped version to 1.96 - new release, resync with the
...
bfd too #.
* ldexp.c, ldlang.c: now build memory shape tree in obstacks
rather than with raw malloc, makes it easier to track where memory
is going.
* ldsym.h, ldsym.c: create obstack for all global symbols too.
* ldwrite.c (ldwrite): moved malloc so only used when needed.
* sa29200-sc.sh: added support for .lit, data1 and data2 sections.
1992-05-04 23:38:42 +00:00
Steve Chamberlain
76971f0da2
Modifed to care about semi colons again, newlines are ignored - sorry
...
Per.
1992-03-02 22:22:59 +00:00
Steve Chamberlain
2e2bf962db
* Makefile.in: added relax, also made three stage go through a
...
partial link stage.
* relax.c : added
* config.h: if GNU960 defined, then default emulation mode is
GLD960
* ldexp.h, ldexp.c: map to file hooks
* ldlang.c: map to file hooks
* ldgram.y: added -Map -relax
* ldlex.l: added -relax, -Map
* ldmain.c: open map file
* ldmisc.c: support for map file
* ldwrite.c: new relax magic
1992-01-24 22:34:34 +00:00
Steve Chamberlain
c611e285bd
Merging from VMS port. Doc to follow..
1992-01-24 18:41:32 +00:00
Steve Chamberlain
6812f0e89f
Fixed the shift reduce errors in the grammer using the yacc debugger.
...
Removed some lint highlighted by the same.
1991-05-07 19:16:33 +00:00
Steve Chamberlain
65c552e308
Added the sizeof_headers keyword.
1991-04-24 20:53:36 +00:00
Steve Chamberlain
a37cc0c05c
*** empty log message ***
1991-04-23 15:59:24 +00:00
Steve Chamberlain
b0f368691e
Fixed a bug where wild scripts stopped working.
...
Fixed another bug in -R symbol handling
1991-04-19 01:00:45 +00:00
Steve Chamberlain
ac00487023
Fixed some bugs.
1991-04-18 00:06:26 +00:00
Steve Chamberlain
d4c02e2923
Cleaned up a load of declarations
...
Fixed bug in unary - , ! and ~
1991-04-17 02:04:31 +00:00
Steve Chamberlain
3a39952366
Better error messages for forward and undefined refs for ADDR and
...
SIZEOF
1991-04-17 00:50:19 +00:00
Steve Chamberlain
070aa81923
*** empty log message ***
1991-04-16 14:32:02 +00:00
Steve Chamberlain
1418c83b39
checkpoint before a merge
1991-04-14 03:22:42 +00:00
David Henkel-Wallace
2fa0b342a5
Initial revision
1991-03-21 21:29:06 +00:00