diff options
Diffstat (limited to 'gcc/config/m68k/uclinux.h')
-rw-r--r-- | gcc/config/m68k/uclinux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/m68k/uclinux.h b/gcc/config/m68k/uclinux.h index 992c465ce10..93a9d829187 100644 --- a/gcc/config/m68k/uclinux.h +++ b/gcc/config/m68k/uclinux.h @@ -65,3 +65,9 @@ Boston, MA 02110-1301, USA. */ /* -msep-data is the default PIC mode on this target. */ #define DRIVER_SELF_SPECS \ "%{fpie|fPIE|fpic|fPIC:%{!msep-data:%{!mid-shared-library: -msep-data}}}" + +/* The uclinux binary format relies on relocations against a segment being + within that segment. Conservatively apply this rule to individual + sections. */ +#undef M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P +#define M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P 1 |