summaryrefslogtreecommitdiff
path: root/gcc/ada/vxworks-x86-link.spec
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-20 14:17:37 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-20 14:17:37 +0000
commitd296be94466019bfce6e46c5b2c7b5d4862502a9 (patch)
tree8c8a012641abada9742f42f3abdd710ad7999737 /gcc/ada/vxworks-x86-link.spec
parent7d6fb253c105bc78929749d990a5200c9a52dbbf (diff)
downloadgcc-d296be94466019bfce6e46c5b2c7b5d4862502a9.tar.gz
2014-10-20 Eric Botcazou <ebotcazou@adacore.com>
* inline.adb (List_Inlining_Info): Minor tweaks. (Add_Inlined_Body): Inline the enclosing package if it is not internally generated, even if it doesn't come from source. 2014-10-20 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Process_Function_Call): If the first actual denotes a discrete type, the mode must be interpreted as a slice of an array returned by a parameterless call. 2014-10-20 Vasiliy Fofanov <fofanov@adacore.com> * prj-env.ads, prj-env.adb (Get_Runtime_Path): No longer inhibit searching for runtime referenced by a simple name on a project path. 2014-10-20 Olivier Hainque <hainque@adacore.com> * vxworks-x86-link.spec: New file. * system-vxworks-x86.ads: Add pragma Linker_Options to link with vxworks-x86-link.spec. 2014-10-20 Vincent Celier <celier@adacore.com> * opt.ads (Origin_Of_Target): New type. (Target_Origin): New variable. * prj-conf.adb (Parse_Project_And_Apply_Config): Record Target_Value and Target_Origin. If target was not specified on the command line with --target=, check if attribute Target is declared in the main project. If it is and it is not the native target, parse again the projects so that 'Target get the new value. Fail if the target has changed again. Invoke Process_Project_And_Apply_Config with Do_Phase_1 set to False is Process_Project_Tree_Phase_1 has already been invoked. * prj-conf.ads (Process_Project_And_Apply_Config): New Boolean parameter Do_Phase_1, defaulted to True. * prj-proc.adb (Expression): Check the special values and defaults for attribute Target. 2014-10-20 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Handle_Late_Controlled_Primitive): Do not analyze the subprogram spec of the body in full, because it will be reanalyzed when the declaration itself is analyzed; otherwise. a formal may end up duplicated in the list of formals leading to spurious conformance errors with an existing declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/vxworks-x86-link.spec')
-rw-r--r--gcc/ada/vxworks-x86-link.spec11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ada/vxworks-x86-link.spec b/gcc/ada/vxworks-x86-link.spec
new file mode 100644
index 00000000000..740476db945
--- /dev/null
+++ b/gcc/ada/vxworks-x86-link.spec
@@ -0,0 +1,11 @@
+*lib:
++ %{mrtp:%{!shared: \
+ %{vxsim: \
+ -L%:getenv(WIND_BASE /target/usr/lib/simpentium/SIMPENTIUM/common) \
+ -L%:getenv(WIND_BASE /target/lib/usr/lib/simpentium/SIMPENTIUM/common) \
+ } \
+ %{!vxsim: \
+ -L%:getenv(WIND_BASE /target/usr/lib/pentium/PENTIUM/common) \
+ -L%:getenv(WIND_BASE /target/lib/usr/lib/pentium/PENTIUM/common) \
+ } \
+ }}