diff options
| author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-03 15:19:15 +0000 |
|---|---|---|
| committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-03 15:19:15 +0000 |
| commit | 4e87e98c246f380544489c2666c10c7be5ec42ef (patch) | |
| tree | 548576dda981c4f18ccd2638366ecdadc74a0fae /gcc | |
| parent | 6cfd0ae16d31da96fc4bf05c9258a19ad1879e48 (diff) | |
| download | ppe42-gcc-4e87e98c246f380544489c2666c10c7be5ec42ef.tar.gz ppe42-gcc-4e87e98c246f380544489c2666c10c7be5ec42ef.zip | |
* config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
linker if -mrelax is given.
(TARGET_SWITCHES): Document -mrelax.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41787 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/mn10300/mn10300.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 794cb1f6af0..a9e32b2432d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2001-05-03 Alexandre Oliva <aoliva@redhat.com> + * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the + linker if -mrelax is given. + (TARGET_SWITCHES): Document -mrelax. + Re-installed 2001-01-09's patch: * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long if it's wider than long and the target's long is wider than the diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h index ebb6784ca70..9826db6cad0 100644 --- a/gcc/config/mn10300/mn10300.h +++ b/gcc/config/mn10300/mn10300.h @@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */ #undef LIB_SPEC #undef ENDFILE_SPEC #undef LINK_SPEC +#define LINK_SPEC "%{mrelax:--relax}" #undef STARTFILE_SPEC #define STARTFILE_SPEC "%{!mno-crt0:%{!shared:%{pg:gcrt0%O%s}%{!pg:%{p:mcrt0%O%s}%{!p:crt0%O%s}}}}" @@ -62,6 +63,7 @@ extern int target_flags; { "am33", -(0x1), ""},\ { "no-am33", -0x2, ""}, \ { "no-crt0", 0, N_("No default crt0.o") }, \ + { "relax", 0, N_("Enable linker relaxations") }, \ { "", TARGET_DEFAULT, NULL}} #ifndef TARGET_DEFAULT |

